Documentation
¶
Index ¶
Constants ¶
View Source
const ( Undo = iota + 1 Redo )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AbstractConnector ¶
type AbstractConnector interface {
}
type AbstractPersistence ¶
type AbstractPersistence interface {
// contains filtered or unexported methods
}
type OperationType ¶
type OperationType int
type StackEventArgs ¶
type StackEventArgs struct {
StackItem StackItem
Type OperationType
ChangedParentTypes map[*types.AbstractType][]YEvent // public IDictionary<AbstractType,
// IList<YEvent>> ChangedParentTypes { get; }
Origin any
}
type Transaction ¶
type Transaction struct {
}
type Uint8Array ¶
type Uint8Array []uint8
type UndoManager ¶
type UndoManager struct {
Scope []any
DeleteFilter func(item structs.Item) bool
TrackedOrigins map[any]struct{}
UndoStack list.List
RedoStack list.List
// Whether the client is currently undoing (calling UndoManager.Undo()).
Undoing bool
Redoing bool
Doc YDoc
LastChange time.Time
CaptureTimeout int
}
type YArrayEvent ¶
type YArrayEvent struct {
}
Click to show internal directories.
Click to hide internal directories.