Class type Goog.​Geditor.​Plugins.​undoRedoState

class type undoRedoState = object..end

Inherits


method equals : undoRedoState Js.t -> bool Js.t Js.meth

Checks if two undo-redo states are the same.

Returns Wether the two states are equal.

method isAsynchronous : bool Js.t Js.meth

Returns Whether or not the undo and redo actions of this state complete asynchronously. If true, the state will fire an ACTION_COMPLETED event when an undo or redo action is complete.

method redo : unit Js.meth

Redoes the action represented by this state.

method undo : unit Js.meth

Undoes the action represented by this state.