The length of the selected text. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
The offset of the selected text within the entire text. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
A wrapper class for offset and length, which together, represent a span of text in a text document.