91
91
explicit SelectionRange(SelectionPosition single) : caret(single), anchor(single) {
95
95
SelectionRange(SelectionPosition caret_, SelectionPosition anchor_) : caret(caret_), anchor(anchor_) {
104
104
bool operator ==(const SelectionRange &other) const {
105
105
return caret == other.caret && anchor == other.anchor;