getRedoAndUndoState(canRedo: Boolean output; canUndo: Boolean output; canPaste: Boolean output; redoAction: Integer output; undoAction: Integer output);
The getRedoAndUndoState method of the JadeRichText class obtains the redo, undo, and paste operations that can be performed and the type of redo and undo actions that can be performed.
The canRedo, canUndo, and canPaste parameters retrieve true if a redo, undo, and paste operation, respectively, can be performed in the receiver or false if they cannot.
You can undo or redo up to 100 edit actions.
The values that can be retrieved in the redoAction parameter are the following JadeRichText class constants.
Redo_Cut
Redo_Delete
Redo_DragDrop
Redo_Paste
Redo_Typing
Redo_Unknown
The values that can be retrieved in the undoAction parameter are the following JadeRichText class constants.
Undo_Cut
Undo_Delete
Undo_DragDrop
Undo_Paste
Undo_Typing
Undo_Unknown