public void Redo() { int index_r = index; editable.InsertText(text, ref index_r); editable.Position = index_r; }
public void Undo() { int start_r = start; editable.InsertText(text, ref start_r); editable.Position = is_forward ? start_r : end; }