Struct TextLineMeasure
measure line text (tabs, spaces, and nonspace positions)
struct TextLineMeasure;
Fields
| Name | Type | Description |
|---|---|---|
firstNonSpace
|
int | first non-space index in line |
firstNonSpaceX
|
int | first non-space position according to tab size |
lastNonSpace
|
int | last non-space character index in line |
lastNonSpaceX
|
int | last non-space position based on tab size |
len
|
int | line length |
Properties
| Name | Type | Description |
|---|---|---|
empty[get]
|
bool | true if line has zero length or consists of spaces and tabs only |