Where the input does not parse, while it does not.
The text as the handle holds it.
The document's version: the last one a change or setText brought.
Apply the editor's changes, now at version (newer than the
document's).
DocumentVersionError when version is not newer; an
error when a range is not in the text. The document is then unchanged.
Close a view.
The whole document's diagnostics, the link check included. Bitmark input only.
Release the handle's memory. The document is unusable afterwards.
The semantic tokens on range's lines (range.start.line through
range.end.line), or of the whole text — positions in the document.
Bitmark input only.
Optionalrange: RangeReplace the whole text; every view's update holds its whole output.
A handle on one text, kept converted (PLAN-271): changes in, each open view's edits out. Create it with createDocument.