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

Method documentActivated

plugins/contextbrowser/contextbrowser.cpp:948–956  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

946}
947
948void ContextBrowserPlugin::documentActivated(IDocument* doc)
949{
950 if (m_outlineLine)
951 m_outlineLine->clear();
952
953 if (View* view = doc->activeTextView()) {
954 cursorPositionChanged(view, view->cursorPosition());
955 }
956}
957
958void ContextBrowserPlugin::viewDestroyed(QObject* obj)
959{

Callers

nothing calls this directly

Calls 3

clearMethod · 0.45
activeTextViewMethod · 0.45
cursorPositionMethod · 0.45

Tested by

no test coverage detected