summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cpphighlightingsupport.cpp
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@digia.com>2013-09-04 18:15:08 +0200
committerErik Verbruggen <erik.verbruggen@digia.com>2013-09-10 11:45:38 +0200
commit3a5d3a2fe93f2d565713790cee6c981169a888c2 (patch)
tree7346ff90cab2aabb0052380a55d908f182c728ac /src/plugins/cpptools/cpphighlightingsupport.cpp
parent0c6b64484cebc5e28ec220cc1ca2b19de9f017bd (diff)
downloadqt-creator-3a5d3a2fe93f2d565713790cee6c981169a888c2.tar.gz
C++: unify highlighting/code-completion support "factories".
Both semantic highlighting and code-completion go hand-in-hand, so now the ModelManagerSupport class acts as a "factory" for the model manager. Depending on the mime-type of the document in the editor, the model manager will return the appropriate highlighter or code-completion engine. If none is registered, the built-in fall-back is used. Change-Id: I3e5dbb0e3b58e077dd5eda9aecb2ce5d448ac0b8 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
Diffstat (limited to 'src/plugins/cpptools/cpphighlightingsupport.cpp')
-rw-r--r--src/plugins/cpptools/cpphighlightingsupport.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/plugins/cpptools/cpphighlightingsupport.cpp b/src/plugins/cpptools/cpphighlightingsupport.cpp
index 66469fcc87..2534618467 100644
--- a/src/plugins/cpptools/cpphighlightingsupport.cpp
+++ b/src/plugins/cpptools/cpphighlightingsupport.cpp
@@ -40,7 +40,3 @@ CppHighlightingSupport::CppHighlightingSupport(TextEditor::ITextEditor *editor)
CppHighlightingSupport::~CppHighlightingSupport()
{
}
-
-CppHighlightingSupportFactory::~CppHighlightingSupportFactory()
-{
-}