Position
Object Hierarchy:
Description:
public struct Position
Position in a text document expressed as zero-based line and zero-based character offset.
A position is between two characters like an ‘insert’ cursor in a editor. Special values like for example `-1` to denote the end of a
line are not supported.
Content:
Creation methods:
Methods:
Fields:
- public uint64 line
Line position in a document (zero-based).
- public uint64 character
Character offset on a line in a document (zero-based). Assuming that
the line is represented as a string, the `character` value represents the gap between the `character` and `character + 1`.