Searched refs:redo_point (Results 1 - 2 of 2) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/imgui/
H A Dimstb_textedit.h315 short undo_point, redo_point; member in struct:__anonffd627d20208
1093 state->redo_point = STB_TEXTEDIT_UNDOSTATECOUNT;
1124 if (state->redo_point <= k) {
1132 for (i=state->redo_point; i < k; ++i)
1136 // now move all the redo records towards the end of the buffer; the first one is at 'redo_point'
1138 size_t move_size = (size_t)((STB_TEXTEDIT_UNDOSTATECOUNT - state->redo_point - 1) * sizeof(state->undo_rec[0]));
1141 IM_ASSERT(((char*)(state->undo_rec + state->redo_point)) >= buf_begin);
1142 IM_ASSERT(((char*)(state->undo_rec + state->redo_point + 1) + move_size) <= buf_end);
1143 STB_TEXTEDIT_memmove(state->undo_rec + state->redo_point+1, state->undo_rec + state->redo_point, move_siz
[all...]
/xsrc/external/mit/MesaLib/dist/src/imgui/
H A Dimstb_textedit.h315 short undo_point, redo_point; member in struct:__anonad2b92650208
1093 state->redo_point = STB_TEXTEDIT_UNDOSTATECOUNT;
1124 if (state->redo_point <= k) {
1132 for (i=state->redo_point; i < k; ++i)
1136 // now move all the redo records towards the end of the buffer; the first one is at 'redo_point'
1138 size_t move_size = (size_t)((STB_TEXTEDIT_UNDOSTATECOUNT - state->redo_point - 1) * sizeof(state->undo_rec[0]));
1141 IM_ASSERT(((char*)(state->undo_rec + state->redo_point)) >= buf_begin);
1142 IM_ASSERT(((char*)(state->undo_rec + state->redo_point + 1) + move_size) <= buf_end);
1143 STB_TEXTEDIT_memmove(state->undo_rec + state->redo_point+1, state->undo_rec + state->redo_point, move_siz
[all...]

Completed in 6 milliseconds