Struct TextLineMeasure
measure line text (tabs, spaces, and nonspace positions)
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 |
Authors
Vadim Lopatin, coolreader.org@gmail.com
Copyright
Vadim Lopatin, 2014
License
Boost License 1.0