| 934 | } |
| 935 | |
| 936 | void ContextBrowserPlugin::textDocumentCreated(KDevelop::IDocument* document) |
| 937 | { |
| 938 | Q_ASSERT(document->textDocument()); |
| 939 | |
| 940 | connect(document->textDocument(), &KTextEditor::Document::viewCreated, this, &ContextBrowserPlugin::viewCreated); |
| 941 | |
| 942 | const auto views = document->textDocument()->views(); |
| 943 | for (View* view : views) { |
| 944 | viewCreated(document->textDocument(), view); |
| 945 | } |
| 946 | } |
| 947 | |
| 948 | void ContextBrowserPlugin::documentActivated(IDocument* doc) |
| 949 | { |
nothing calls this directly
no test coverage detected