Lines Matching refs:undo_char_point
316 int undo_char_point, redo_char_point; member
1105 state->undo_char_point -= n; in stb_textedit_discard_undo()
1106 …DIT_memmove(state->undo_char, state->undo_char + n, (size_t) (state->undo_char_point*sizeof(STB_TE… in stb_textedit_discard_undo()
1163 state->undo_char_point = 0; in stb_text_create_undo_record()
1168 while (state->undo_char_point + numchars > STB_TEXTEDIT_UNDOCHARCOUNT) in stb_text_create_undo_record()
1188 r->char_storage = state->undo_char_point; in stb_text_createundo()
1189 state->undo_char_point += insert_len; in stb_text_createundo()
1221 if (s->undo_char_point + u.delete_length >= STB_TEXTEDIT_UNDOCHARCOUNT) { in stb_text_undo()
1228 while (s->undo_char_point + u.delete_length > s->redo_char_point) { in stb_text_undo()
1253 s->undo_char_point -= u.insert_length; in stb_text_undo()
1285 if (s->undo_char_point + u->insert_length > s->redo_char_point) { in stb_text_redo()
1290 u->char_storage = s->undo_char_point; in stb_text_redo()
1291 s->undo_char_point = s->undo_char_point + u->insert_length; in stb_text_redo()
1342 state->undostate.undo_char_point = 0; in stb_textedit_clear_state()