Struct TextPosition

text content position

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 adds deltaPos to position and returns result
opCmp compares two positions
opEquals

Authors

Vadim Lopatin, coolreader.org@gmail.com

Copyright

Vadim Lopatin, 2014

License

Boost License 1.0