ClearUndo;
The ClearUndo method is used to fix the changes of the Text property.
After this method has been called, the CanUndo property is set to False and the clipboard of available changes of the Undo method becomes empty.
See also:
ICustomEdit