Struct TextRange
text content range
Fields
Name | Type | Description |
---|---|---|
end
|
TextPosition |
|
start
|
TextPosition |
Properties
Name | Type | Description |
---|---|---|
empty
[get]
|
bool |
returns true if range is empty
|
lines
[get]
|
int |
returns count of lines in range
|
singleLine
[get]
|
bool |
returns true if start and end located at the same line
|
toString
[get]
|
string |
Methods
Name | Description |
---|---|
intersects
|
|
isInside
|
returns true if position is inside this range |
Authors
Vadim Lopatin, coolreader.org@gmail.com
Copyright
Vadim Lopatin, 2014
License
Boost License 1.0