MCPcopy Create free account
hub / github.com/KDE/kdevelop / textDocumentCreated

Method textDocumentCreated

plugins/contextbrowser/contextbrowser.cpp:936–946  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

934}
935
936void 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
948void ContextBrowserPlugin::documentActivated(IDocument* doc)
949{

Callers

nothing calls this directly

Calls 2

textDocumentMethod · 0.45
viewsMethod · 0.45

Tested by

no test coverage detected