Get the text of this document.
Get the text of this document.
The text of this document.
The identifier of the language associated with this document.
The number of lines in this document.
Converts the position to a zero-based offset.
Converts the position to a zero-based offset.
The position will be [adjusted](#TextDocument.validatePosition).
A position.
A valid zero-based offset.
Converts a zero-based offset to a position.
Converts a zero-based offset to a position.
A zero-based offset.
A valid [position](#Position).
The associated URI for this document.
The associated URI for this document. Most documents have the file-scheme, indicating that they represent files on disk. However, some documents may have other schemes indicating that they are not available on disk.
The version number of this document (it will strictly increase after each change, including undo/redo).