Methods Summary |
---|
public long | getColumnNumber(long pos)Find the column for a character position.
Tab characters preceding the position on the same line
will be expanded when calculating the column number.
|
public long | getLineNumber(long pos)Find the line containing a position; a line termination
character is on the line it terminates.
|
public long | getPosition(long line, long column)Find the position corresponding to a (line,column).
|
public long | getStartPosition(long line)Find the start position of a line.
|