TabStops class final
Tab stop management.
Constructors
- TabStops(int width, int interval)
-
Creates tab stops for a buffer
widthwith a fixedinterval.factory - TabStops.defaults(int cols)
-
Creates tab stops for
colsusing defaultTabInterval.factory
Properties
Methods
-
clear(
) → void - Clears all tab stops.
-
find(
int col, int delta) → int -
Finds a tab stop relative to
colmoving bydelta. -
getWidth(
) → int - Returns the current tab stop width.
-
isStop(
int col) → bool -
Returns whether
colis a tab stop. -
next(
int col) → int -
Returns the next tab stop after
col. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
prev(
int col) → int -
Returns the previous tab stop before
col. -
reset(
int col) → void -
Clears the tab stop at
col. -
resize(
int newWidth) → void -
Resizes the tab stop table to
newWidth. -
set(
int col) → void -
Marks
colas a tab stop. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- defaultTabInterval → const int
- The default tab interval in cells.