Skip to main content

Module undo

Module undo 

Source
Expand description

Undo/Redo System - Operation-based undo with causal grouping.

Provides collaborative undo functionality:

  • Local undo/redo (only affects local user’s operations)
  • Operation grouping for atomic undo
  • Causal tracking to handle concurrent edits
  • Inverse operation generation

Structs§

CollaborativeUndoManager
A collaborative undo manager that tracks operations across replicas.
GroupId
Unique identifier for an operation group.
Operation
A recorded operation with metadata.
OperationId
Unique identifier for an operation.
UndoManager
An undo manager for a single document.

Enums§

FormatOperation
A formatting operation that can be undone.
JsonOperation
A JSON operation that can be undone.
TextOperation
A text operation that can be undone.
UndoableOperation
An operation that can be undone.