Specifies the number of keystrokes that can be undone.
property UndoLimit: integer;
Use UndoLimit to restrict undo records list. If UndoLimit is 0, there is no limitation on undo list size.
TCustomSyntaxMemo Properties