Searched refs:undo_point (Results 1 – 1 of 1) sorted by relevance
315 short undo_point, redo_point; member718 if (state->undostate.undo_point) in stb_textedit_paste_internal()719 --state->undostate.undo_point; in stb_textedit_paste_internal()1100 if (state->undo_point > 0) { in stb_textedit_discard_undo()1107 for (i=0; i < state->undo_point; ++i) in stb_textedit_discard_undo()1111 --state->undo_point; in stb_textedit_discard_undo()1112 …STB_TEXTEDIT_memmove(state->undo_rec, state->undo_rec+1, (size_t) (state->undo_point*sizeof(state-… in stb_textedit_discard_undo()1157 if (state->undo_point == STB_TEXTEDIT_UNDOSTATECOUNT) in stb_text_create_undo_record()1162 state->undo_point = 0; in stb_text_create_undo_record()1171 return &state->undo_rec[state->undo_point++]; in stb_text_create_undo_record()[all …]