rvico TRichView Reference | TRichViewEdit

TCustomRichViewEdit.BeginUndoCustomGroup

Top  Previous  Next

Begins a new undo action.

procedure BeginUndoCustomGroup(const Name: String);

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.


TRichView © trichview.com