Interface: TextOffset
Defined in: TextOffset.ts:1
Extended by
Properties
length?
optionallength:number
Defined in: TextOffset.ts:14
Assumed to match text.length if the text has not been transformed.
offset
offset:
number
Defined in: TextOffset.ts:10
The offset into the document.
text
text:
string
Defined in: TextOffset.ts:6
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é