Summary
Encapsulates a class that offers efficient conversion of a string offset into line/column number. The class
is best suited for multiple lookups on a single fixed string, and is suboptimal for single lookups into many
different strings. All common newline styles are supported.
Constructors
| Constructor: precomputes certain information to enable efficient lookups. |
Instance methods
int | | Gets the number of the column containing the character at the specified offset. |
int | | Gets the number of the line containing the character at the specified offset. |
void | | Gets the numbers of the line and column containing the character at the specified offset. |