TPlusMemo.ClearUndo
PlusMemo Help Send comments on this topic.
TPlusMemo.ClearUndo

Glossary Item Box

 

Applies to

TPlusMemo, TDBPlusMemo

 

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.