| 559 | } |
| 560 | |
| 561 | void TextDocument::setTextSelection(const KTextEditor::Range &range) |
| 562 | { |
| 563 | Q_D(TextDocument); |
| 564 | |
| 565 | if (!range.isValid() || !d->document) |
| 566 | return; |
| 567 | |
| 568 | KTextEditor::View *view = activeTextView(); |
| 569 | |
| 570 | if (view) { |
| 571 | selectAndReveal(view, range); |
| 572 | } |
| 573 | } |
| 574 | |
| 575 | Sublime::View* TextDocument::newView(Sublime::Document* doc) |
| 576 | { |
nothing calls this directly
no test coverage detected