Package-level declarations

Types

Link copied to clipboard
interface Batch
Link copied to clipboard
interface Change
Link copied to clipboard
interface ChangeImpl : Change
Link copied to clipboard
Link copied to clipboard
class History(val document: HistoryDocument)
Link copied to clipboard
interface HistoryDocument

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

Link copied to clipboard
Link copied to clipboard

Changes which do not change the model's data are skippable. i.e. changes to the current selection are SkippableChanges.

Link copied to clipboard

Using weak listeners can help prevent memory leaks.

Functions

Link copied to clipboard
fun documentListener(lambda: (document: HistoryDocument, change: Change, isUndo: Boolean) -> Unit): DocumentListener