HistoryDocument

interface HistoryDocument

A document with a History, allowing undo and redo actions.

Implementing classes must ensure that they only mutate via the History mechanism. If you were to move, delete or add to the document directly then later, undo / redo would break.

Inheritors

Properties

Link copied to clipboard
abstract val history: History

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun fireChange(change: Change, isUndo: Boolean)
Link copied to clipboard
abstract fun removeListener(listener: DocumentListener)