| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_TAB_WIDTH
The TAB width that takes effect initially.
|
| Modifier and Type | Method and Description |
|---|---|
void |
consume(char c)
Changes the tracker's state according to the given next character.
|
int |
getColumnNumber() |
int |
getLineNumber() |
void |
reset()
Resets the tracker's state (line and column number), but not its configuration (TAB width).
|
void |
setColumnNumber(int columnNumber) |
void |
setLineNumber(int lineNumber) |
void |
setTabWidth(int tabWidth)
Reconfigures the TAB width.
|
static final int DEFAULT_TAB_WIDTH
void setTabWidth(int tabWidth)
1 will treat TAB characters just like any other (non-line-break)
character. The initial TAB width is DEFAULT_TAB_WIDTH.void consume(char c)
int getLineNumber()
void setLineNumber(int lineNumber)
int getColumnNumber()
void setColumnNumber(int columnNumber)
void reset()
Copyright © 2022 Arno Unkrig. All rights reserved.