languageServerProtocol.textdocument

..
DocumentUri

A tagging type for string properties that are actually document URIs.

Position

Position in a text document expressed as zero-based line and character offset. The offsets are based on a UTF-16 string representation. So a string of the form a𐐀b the character offset of the character a is 0, the character offset of 𐐀 is 1 and the character offset of b is 3 since 𐐀 is represented using two code units in UTF-16.

Range

A range in a text document expressed as (zero-based) start and end positions.

TextDocument

A simple text document. Not to be implemented. The document keeps the content as string.

TextDocumentContentChangeEvent

An event describing a change to a text document. If range and rangeLength are omitted the new text is considered to be the full content of the document.

TextEdit

A text edit applicable to a text document.