History class

Constructors

History({bool ignoreChange = false, int interval = 400, int maxStack = 100, bool userOnly = false, int lastRecorded = 0})

Properties

hashCode int
The hash code for this object.
no setterinherited
hasRedo bool
no setter
hasUndo bool
no setter
ignoreChange bool
used for disable redo or undo function
getter/setter pair
interval int
record delay
final
lastRecorded int
getter/setter pair
maxStack int
max operation count for undo
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stack HistoryStack
final
userOnly bool
Collaborative editing's conditions should be true
final

Methods

clear() → void
handleDocChange(Tuple3<Delta, Delta, ChangeSource> change) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
record(Delta change, Delta before) → void
redo(Document doc) → Tuple2
toString() String
A string representation of this object.
inherited
transform(Delta delta) → void
It will override pre local undo delta,replaced by remote change
transformStack(List<Delta> stack, Delta delta) → void
undo(Document doc) → Tuple2

Operators

operator ==(Object other) bool
The equality operator.
inherited