Skip to content

API reference

API reference

Browse the generated state API and view API for signatures, members and XML comments from the release assemblies.

The packages include XML documentation beside each assembly for editor completion. The linked modules contain the signatures, discriminated unions and remarks for this release.

  • Text — immutable text and line operations.
  • ChangeSet — position mapping across edits.
  • Selection — ranges, anchors and primary selection.
  • RangeSet — position-indexed ranges.
  • Transaction — edit specifications, effects and annotations.
  • State — facets, state fields, compartments and precedence.
  • History — undo and redo state.
  • Document — shared log, save point and readers.
  • Editor — per-pane state and update readers.
  • Columns — visual columns, tabs and offset conversion.
  • Commands — movement, selection and editing commands.
  • Keymap — typed bindings, precedence and multi-stroke dispatch.
  • Language — line tokenizers, tags and highlight styles.
  • Styling — editor themes and class rules.
  • Types — view props, geometry, plugins, layers and gutters.
  • Features — built-in view features.
  • Decoration — typed marks, diagnostic underlines and hover templates.
  • Component — component creation and mounted-view lookup.
Edit this page