@codemirror__state/internals
Classes
Section titled “Classes”| Class | Description |
|---|---|
| CmText | The document data type used in CodeMirror. |
Interfaces
Section titled “Interfaces”| Interface | Description |
|---|---|
| ChangeByRangeResult | Result returned by the callback passed to @codemirror/state#EditorState.changeByRange. |
| ChangeByRangeReturn | Result returned from @codemirror/state#EditorState.changeByRange. |
| CmRange | A range associates a value with a range of positions. |
| EditorStateSelectionSpec | A selection specified as an anchor position and optional head position. |
| FacetConfig | Configuration for defining a facet. |
| MapMode | Determines how position mapping works for a change. |
| RangeSetUpdate | Configuration passed to @codemirror/state#RangeSet.update. |
| StateEffectDefineSpec | Configuration for defining a state effect type. |
| StateFieldSpec | Configuration for defining a state field. |