Interface: TextDocumentRef
Defined in: packages/cspell-lib/src/lib/Models/TextDocument.ts:35
Properties
languageId?
readonlyoptionallanguageId:string|string[]
Defined in: packages/cspell-lib/src/lib/Models/TextDocument.ts:46
The identifier of the language associated with this document.
locale?
readonlyoptionallocale:string
Defined in: packages/cspell-lib/src/lib/Models/TextDocument.ts:56
The natural language locale.
text?
readonlyoptionaltext:string
Defined in: packages/cspell-lib/src/lib/Models/TextDocument.ts:51
the raw Document Text
uri
readonlyuri:DocumentUri
Defined in: packages/cspell-lib/src/lib/Models/TextDocument.ts:41
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.