| 107 | } |
| 108 | |
| 109 | bool 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 | |
| 119 | ColorCache::~ColorCache() |
| 120 | { |
nothing calls this directly
no test coverage detected