Type Editor / @type-editor/history / state/Branch
state/Branch
Classes
| Class | Description |
|---|---|
Represents a branch in the history tree (either undo or redo history). A branch maintains a sequence of items that represent the history of changes, where each item can contain a step (an actual change) and/or a position map (for transforming positions through the change). | |
Represents a single item in the history branch. An item can contain a step (an actual change), a position map (for tracking position changes), and optionally a selection bookmark (marking the start of an event). |