| 348 | } |
| 349 | |
| 350 | void Selection::Clear() { |
| 351 | ranges.clear(); |
| 352 | ranges.push_back(SelectionRange()); |
| 353 | mainRange = ranges.size() - 1; |
| 354 | selType = selStream; |
| 355 | moveExtends = false; |
| 356 | ranges[mainRange].Reset(); |
| 357 | rangeRectangular.Reset(); |
| 358 | } |
| 359 | |
| 360 | void Selection::RemoveDuplicates() { |
| 361 | for (size_t i=0; i<ranges.size()-1; i++) { |
nothing calls this directly
no test coverage detected