TCustomRichViewEdit.BeginUndoCustomGroup

<< Click to display table of contents >>

TCustomRichViewEdit.BeginUndoCustomGroup

Begins a new undo action.

procedure BeginUndoCustomGroup(const Name: TRVUnicodeString);

(changed in version 18)

Begins a new undo action.

Usually followed by SetUndoGroupMode(True) ... SetUndoGroupMode(False), thus allowing to group several subsequent changes in editor (they will be undone/redone as one operation).

The same as BeginUndoGroup, but allows to give a custom name to this group of changes.

This method must be called only when the document is formatted.

This method must be called directly for the editor where changed are made (usually TopLevelEditor).

See also:

Undo in RichViewEdit.