Interface: TextOffset
Defined in: cspell-types/dist/index.d.mts:90
Extended by
Properties
length?
optionallength?:number
Defined in: cspell-types/dist/index.d.mts:103
Assumed to match text.length if the text has not been transformed.
offset
offset:
number
Defined in: cspell-types/dist/index.d.mts:99
The offset into the document.
text
text:
string
Defined in: cspell-types/dist/index.d.mts:95
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é