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

Method declarationSelectedInUI

plugins/contextbrowser/contextbrowser.cpp:906–915  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

904}
905
906void ContextBrowserPlugin::declarationSelectedInUI(const DeclarationPointer& decl)
907{
908 m_useDeclaration = IndexedDeclaration(decl.data());
909 KTextEditor::View* view = core()->documentController()->activeTextDocumentView();
910 if (view)
911 m_updateViews << view;
912
913 if (!m_updateViews.isEmpty())
914 m_updateTimer->start(highlightingTimeout); // triggers updateViews()
915}
916
917void ContextBrowserPlugin::updateReady(const IndexedString& file, const ReferencedTopDUContext& /*topContext*/)
918{

Callers

nothing calls this directly

Calls 6

documentControllerMethod · 0.80
IndexedDeclarationClass · 0.50
dataMethod · 0.45
isEmptyMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected