Backs out changes in the undo buffer.
procedure Undo;
Call Undo to cancel changes made to the Text property.
To determine whether there are any changes in the undo buffer, check the CanUndo property.
TCustomSyntaxMemo Methods