diff options
Diffstat (limited to 'src/plugins/cpptools/cpptoolseditorsupport.cpp')
-rw-r--r-- | src/plugins/cpptools/cpptoolseditorsupport.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/plugins/cpptools/cpptoolseditorsupport.cpp b/src/plugins/cpptools/cpptoolseditorsupport.cpp index 4564bfc938..5af358eadf 100644 --- a/src/plugins/cpptools/cpptoolseditorsupport.cpp +++ b/src/plugins/cpptools/cpptoolseditorsupport.cpp @@ -363,11 +363,6 @@ void CppEditorSupport::startHighlighting() if (!m_highlightingSupport) return; - // Start highlighting only if the editor is or would be visible - // (in case another mode is active) in the edit mode. - if (!Core::EditorManager::visibleEditors().contains(m_textEditor)) - return; - if (m_highlightingSupport->requiresSemanticInfo()) { Snapshot snapshot; Document::Ptr doc; |