Lines Matching defs:char_storage
307 int char_storage;
1102 if (state->undo_rec[0].char_storage >= 0) {
1108 if (state->undo_rec[i].char_storage >= 0)
1109 state->undo_rec[i].char_storage -= n; // @OPTIMIZE: get rid of char_storage and infer it
1126 if (state->undo_rec[k].char_storage >= 0) {
1133 if (state->undo_rec[i].char_storage >= 0)
1134 state->undo_rec[i].char_storage += n;
1185 r->char_storage = -1;
1188 r->char_storage = state->undo_char_point;
1190 return &state->undo_char[r->char_storage];
1204 r->char_storage = -1;
1237 r->char_storage = s->redo_char_point - u.delete_length;
1242 s->undo_char[r->char_storage + i] = STB_TEXTEDIT_GETCHAR(str, u.where + i);
1252 STB_TEXTEDIT_INSERTCHARS(str, u.where, &s->undo_char[u.char_storage], u.insert_length);
1279 u->char_storage = -1;
1290 u->char_storage = s->undo_char_point;
1295 s->undo_char[u->char_storage + i] = STB_TEXTEDIT_GETCHAR(str, u->where + i);
1303 STB_TEXTEDIT_INSERTCHARS(str, r.where, &s->undo_char[r.char_storage], r.insert_length);