| 97 | SelectionRange(int caret_, int anchor_) : caret(caret_), anchor(anchor_) { |
| 98 | } |
| 99 | bool Empty() const { |
| 100 | return anchor == caret; |
| 101 | } |
| 102 | int Length() const; |
| 103 | // int Width() const; // Like Length but takes virtual space into account |
| 104 | bool operator ==(const SelectionRange &other) const { |
nothing calls this directly
no outgoing calls
no test coverage detected