Skip to content

@codemirror__state/internals

ClassDescription
CmTextThe document data type used in CodeMirror.
InterfaceDescription
ChangeByRangeResultResult returned by the callback passed to @codemirror/state#EditorState.changeByRange.
ChangeByRangeReturnResult returned from @codemirror/state#EditorState.changeByRange.
CmRangeA range associates a value with a range of positions.
EditorStateSelectionSpecA selection specified as an anchor position and optional head position.
FacetConfigConfiguration for defining a facet.
MapModeDetermines how position mapping works for a change.
RangeSetUpdateConfiguration passed to @codemirror/state#RangeSet.update.
StateEffectDefineSpecConfiguration for defining a state effect type.
StateFieldSpecConfiguration for defining a state field.