| Modifier and Type | Method and Description |
|---|---|
| public long | Returns: the tab-expanded column number of pos (first column is 1)character offset of the position pos)Finds the column for a character position. |
| public long | Returns: the line number of pos (first line is 1)character offset of the position pos)Finds the line containing a position; a line termination character is on the line it terminates. |
| public long | Returns: position of characterline number (beginning at 1) line, long tab-expanded column number (beginning 1) column)Finds the position corresponding to a (line,column). |
| public long | Returns: position of first character in lineline number (beginning at 1) line)Finds the start position of a line. |
| getColumnNumber | back to summary |
|---|---|
| public long getColumnNumber(long pos) Finds the column for a character position. Tab characters preceding the position on the same line will be expanded when calculating the column number.
| |
| getLineNumber | back to summary |
|---|---|
| public long getLineNumber(long pos) Finds the line containing a position; a line termination character is on the line it terminates.
| |
| getPosition | back to summary |
|---|---|
| public long getPosition(long line, long column) Finds the position corresponding to a (line,column).
| |
| getStartPosition | back to summary |
|---|---|
| public long getStartPosition(long line) Finds the start position of a line.
| |