TextPosition

text content position

Members

Functions

offset
TextPosition offset(int deltaPos)

adds deltaPos to position and returns result

opCmp
int opCmp(TextPosition v)

compares two positions

opEquals
bool opEquals(TextPosition v)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

toString
string toString [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

line
int line;

line number, zero based

pos
int pos;

character position in line (0 == before first character)

Meta