| 456 | } |
| 457 | |
| 458 | void TextEditorPrivate::gotoPreviousMark(uint mask) |
| 459 | { |
| 460 | int line = q->currentLineNumber() - 1; |
| 461 | int newLine = q->markerFindPrevious(line, mask); |
| 462 | |
| 463 | if (-1 == newLine) { |
| 464 | line = q->currentLineNumber(); |
| 465 | newLine = q->markerFindPrevious(line, mask); |
| 466 | } |
| 467 | |
| 468 | if (-1 != newLine) |
| 469 | q->gotoLine(newLine); |
| 470 | } |
| 471 | |
| 472 | QsciStyle TextEditorPrivate::createAnnotationStyle(int type) |
| 473 | { |
no test coverage detected