TextLineMeasure

measure line text (tabs, spaces, and nonspace positions)

Members

Properties

empty
bool empty [@property getter]

true if line has zero length or consists of spaces and tabs only

Variables

firstNonSpace
int firstNonSpace;

first non-space index in line

firstNonSpaceX
int firstNonSpaceX;

first non-space position according to tab size

lastNonSpace
int lastNonSpace;

last non-space character index in line

lastNonSpaceX
int lastNonSpaceX;

last non-space position based on tab size

len
int len;

line length

Meta