- <init>
- fromBytes
- fromString
Constructs map permitting translation between 0-based character offsets and
1-based lines/columns.
- length
The number of characters in the mapped text.
- lineCount
The number of lines in the text; if characters appear after the final newline,
then they also count
- lineLength
Gets the number of characters in a line, identified by 1-based line number;does
not include the fina
- lineOutOfRange
Is the line number out of range.
- lineStartOffset
Converts 1-based line number to the 0-based offset of the line's first
character; this would be the
- offsetToLine
Converts 0-based character offset to 1-based number of the line containing the
character.