ResetEditHistory

Forms, interaction, edit history

Description

Discards all retained history entries of the active edit and moves the history position back to zero

Both the undo stack and any redo branch are removed, while the current transient value and selection remain untouched

The session clears the history through this routine when an edit starts, when the edit state is cleared and when ClearEditHistory is called

Declaration

procedure ResetEditHistory;

See also

ClearEditHistory, UndoEditCount, RedoEditCount, TrimEditHistory, BeginEdit