TextDocumentData
- class TextDocumentData
Data used to initialize new text documents with.
Members defined in
TextDocumentData(5 members) Attributes
- property content: str
The actual contents of the text document, e.g. file contents.
Once set, can only be modified by edits.
- property language: str
Language identifier of the text document, e.g.
"sysml".Once set, it cannot be changed.
- property url: syside.Url
Location of the text document.
Once set, it cannot be changed.
- property version: int
Initial version of the text document.
Version is used to cheaply track the edits done to the text document.
Methods
- __init__(url: syside.Url, language: str, content: str, version: int = 0) None