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

Method tryActiveDocument

kdevplatform/language/highlighting/colorcache.cpp:109–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109bool ColorCache::tryActiveDocument()
110{
111 KTextEditor::View* view = ICore::self()->documentController()->activeTextDocumentView();
112 if (view) {
113 updateColorsFromView(view);
114 return true;
115 }
116 return false;
117}
118
119ColorCache::~ColorCache()
120{

Callers

nothing calls this directly

Calls 2

documentControllerMethod · 0.80

Tested by

no test coverage detected