Interface: TextDocumentOffset
Defined in: cspell-types/dist/index.d.mts:106
Extends
Properties
col
col:
number
Defined in: cspell-types/dist/index.d.mts:110
doc
doc:
string
Defined in: cspell-types/dist/index.d.mts:108
length?
optionallength:number
Defined in: cspell-types/dist/index.d.mts:104
Assumed to match text.length if the text has not been transformed.
Inherited from
line
line:
TextOffset
Defined in: cspell-types/dist/index.d.mts:111
offset
offset:
number
Defined in: cspell-types/dist/index.d.mts:100
The offset into the document.
Inherited from
row
row:
number
Defined in: cspell-types/dist/index.d.mts:109
text
text:
string
Defined in: cspell-types/dist/index.d.mts:96
The text found at the offset. If the text has been transformed, then the length might not match length.
Example: Original: cafe\u0301, text: café
Inherited from
uri?
optionaluri:string
Defined in: cspell-types/dist/index.d.mts:107