isBefore method
Returns true if this position is before other.
Implementation
bool isBefore(LspPosition other) {
if (line < other.line) return true;
if (line > other.line) return false;
return character < other.character;
}
Returns true if this position is before other.
bool isBefore(LspPosition other) {
if (line < other.line) return true;
if (line > other.line) return false;
return character < other.character;
}