| 442 | } |
| 443 | |
| 444 | void TextEditorPrivate::gotoNextMark(uint mask) |
| 445 | { |
| 446 | int line = q->currentLineNumber() + 1; |
| 447 | int newLine = q->markerFindNext(line, mask); |
| 448 | |
| 449 | if (-1 == newLine) { |
| 450 | line = 0; |
| 451 | newLine = q->markerFindNext(line, mask); |
| 452 | } |
| 453 | |
| 454 | if (-1 != newLine) |
| 455 | q->gotoLine(newLine); |
| 456 | } |
| 457 | |
| 458 | void TextEditorPrivate::gotoPreviousMark(uint mask) |
| 459 | { |
no test coverage detected