Optional
Assumed to match text.length if the text has not been transformed.
text.length
The offset into the document.
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é
length
cafe\u0301
café
Assumed to match
text.length
if the text has not been transformed.