| 43 | } |
| 44 | |
| 45 | void SelectionTracker::trackInsertion(int pos, int length) |
| 46 | { |
| 47 | if (caret >= pos) { |
| 48 | caret += length; |
| 49 | } |
| 50 | if (anchor >=pos) { |
| 51 | anchor += length; |
| 52 | } |
| 53 | } |
| 54 | |
| 55 | void SelectionTracker::trackDeletion(int pos, int length) |
| 56 | { |
no outgoing calls
no test coverage detected