Searched refs:char_storage (Results 1 – 1 of 1) sorted by relevance
307 int char_storage; member1102 if (state->undo_rec[0].char_storage >= 0) { in stb_textedit_discard_undo()1108 if (state->undo_rec[i].char_storage >= 0) in stb_textedit_discard_undo()1109 … state->undo_rec[i].char_storage -= n; // @OPTIMIZE: get rid of char_storage and infer it in stb_textedit_discard_undo()1126 if (state->undo_rec[k].char_storage >= 0) { in stb_textedit_discard_redo()1133 if (state->undo_rec[i].char_storage >= 0) in stb_textedit_discard_redo()1134 state->undo_rec[i].char_storage += n; in stb_textedit_discard_redo()1185 r->char_storage = -1; in stb_text_createundo()1188 r->char_storage = state->undo_char_point; in stb_text_createundo()1190 return &state->undo_char[r->char_storage]; in stb_text_createundo()[all …]