Applies to
Declaration
procedure ClearUndo;
Description
The ClearUndo method clears the undo-redo buffer. Every text edition operation either adds to the undo buffer or replaces it, depending on whether it is a cumulative operation or not. Methods Undo and Redo can be called by an application or internally when the user presses Ctrl-Z or Ctrl-Shift-Z. Calling ClearUndo clears the undo buffer so that a following call to Undo or Redo will have no effect.