| 202 | } |
| 203 | |
| 204 | SelectionSegment Selection::LimitsForRectangularElseMain() const { |
| 205 | if (IsRectangular()) { |
| 206 | return Limits(); |
| 207 | } else { |
| 208 | return SelectionSegment(ranges[mainRange].caret, ranges[mainRange].anchor); |
| 209 | } |
| 210 | } |
| 211 | |
| 212 | size_t Selection::Count() const { |
| 213 | return ranges.size(); |
no test coverage detected