DocumentHistory

interface DocumentHistory

Interface for undo/redo operations on a document.

Functions

Link copied to clipboard
abstract fun canRedo(): Boolean

Returns true if there are operations that can be redone.

Link copied to clipboard
abstract fun canUndo(): Boolean

Returns true if there are operations that can be undone.

Link copied to clipboard
abstract fun redoAsync(): Deferred<OperationResult>

Redoes the last undone operation.

Link copied to clipboard
abstract fun undoAsync(): Deferred<OperationResult>

Undoes the last local operation.