Expand description
The editable data model uses a Seq and Node tree backed by stable slotmap ids.
Structs§
- Cursor
- A cursor is a gap in a sequence.
- Node
- A node, which always lives inside a sequence.
- NodeId
- Stable identity of a node.
- Selection
- A selection is a contiguous run within one sequence.
- Seq
- An ordered run of nodes with an optional owning node.
- SeqId
- Stable identity of an editable sequence.
- Symbol
- A leaf token plus its math class for editing heuristics.
- Tree
- The editable math tree.
- Under
Over Spec - Spec for inserting an under/over construct.
Enums§
- Deco
- Decoration used by under and over constructs.
- Frac
Style - Fraction rendering style.
- Kind
- Node payloads. Every editable slot is a
SeqId. - Mark
- Accent mark type.
- Math
Class - Math atom classification used by editing heuristics.
- Matrix
Env - Matrix environment type.
- Script
Slot - Script slot selector.
- Variant
- Font or text variant.