EControl Syntax Editor SDK
TCustomSyntaxMemo.ClearUndo Method

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.

Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!