Struct TextPosition
text content position
struct TextPosition;
Fields
| Name | Type | Description |
|---|---|---|
line
|
int | line number, zero based |
pos
|
int | character position in line (0 == before first character) |
Properties
| Name | Type | Description |
|---|---|---|
toString[get]
|
string |
Methods
| Name | Description |
|---|---|
offset
(deltaPos)
|
adds deltaPos to position and returns result |
opCmp
(v)
|
compares two positions |
opEquals
(v)
|