HelpBot Assistant

How can I help you?

EditorHistory

16 Mar 20261 minute to read

EditorHistory Module class is used to handle history preservation

Properties

Get redoLimit number

Gets the limit of redo operations can be done.

Set redoLimit void

Sets the limit of redo operations can be done.

Parameter Type Description
value number Specifies the value to set redo limit.

Get undoLimit number

Gets the limit of undo operations can be done.

Set undoLimit void

Sets the limit of undo operations can be done.

Parameter Type Description
value number Specifies the value to set undo limit.

Methods

beginUndoAction

Starts a new undo able action.

All editing and formatting changes made between beginUndoAction and endUndoAction will be grouped together as a single undo able action.

Returns void

canRedo

Determines whether the redo operation can be done.

Returns boolean

canUndo

Determines whether the undo operation can be done.

Returns boolean

endUndoAction

Ends the current undo able action.

All editing and formatting changes made between beginUndoAction and endUndoAction will be grouped together as a single undo able action.

Returns void

redo

Performs the last reverted action.

Returns void

undo

Reverts the last editing action.

Returns void