rvico TRichView Reference | Types

TRVUndoType Type

Top  Previous  Next

Unit RVEdit

type

  TRVUndoType = 

      (rvutNone, rvutDelete, rvutInsert, 

       rvutPara, rvutMiscTyping, rvutInsertPageBreak,

       rvutRemovePageBreak, rvutTyping,

       rvutTag, rvutStyleNo, rvutAddCheckpoint, 

       rvutRemoveCheckpoint, rvutModifyCheckpoint,

       rvutModifyItem, rvutCustom);

Types of standard undo actions (except for rvutNone and rvutCustom). Useful if you wish to show (in menu or hint) which action is to be undone.

There are no hard-coded names for actions, because they are application specific. For example, rvutTag (changing item's tag) can have special meaning for application (editing hyperlink, or another item property).

The demo Demos\Delphi\Editors\Editor 1\ has suggested names of actions in RVUndoStr.pas.

 

There are two special undo types:

Type

Meaning

rvutNone

No undo/redo available (disable undo or redo menu item or button)

rvutCustom

Undo action has a special name (see BeginUndoCustomGroup).


RichView © Sergey Tkachenko