Clears the undo buffer so that no changes to the text can be backed out.
procedure ClearUndo;
Use ClearUndo to commit changes to the Text property. After calling ClearUndo, the CanUndo property is False and the Undo method does nothing.
TCustomSyntaxMemo Methods