summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cpphighlightingsupport.h
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@nokia.com>2012-03-15 10:52:55 +0100
committerErik Verbruggen <erik.verbruggen@nokia.com>2012-03-15 11:40:46 +0100
commit51de4ed21a74cfc1814d7e925ed8b33f942ccfef (patch)
tree02832dcbb1e544837da06622871e74ef10fcc7ea /src/plugins/cpptools/cpphighlightingsupport.h
parent8af873de94cc585e32212ff202c5ca534d40125b (diff)
downloadqt-creator-51de4ed21a74cfc1814d7e925ed8b33f942ccfef.tar.gz
Add flag for semantic highlighter to set diagnostics.
If the semantic highlighter does not take care of setting showing the wiggly lines for diagnostics in the editor, the model manager will do. Change-Id: Ie69fb798dd53d60ddca1668b8f586266a0daca4b Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
Diffstat (limited to 'src/plugins/cpptools/cpphighlightingsupport.h')
-rw-r--r--src/plugins/cpptools/cpphighlightingsupport.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/cpptools/cpphighlightingsupport.h b/src/plugins/cpptools/cpphighlightingsupport.h
index 6b80542037..4319ff9c4e 100644
--- a/src/plugins/cpptools/cpphighlightingsupport.h
+++ b/src/plugins/cpptools/cpphighlightingsupport.h
@@ -72,6 +72,8 @@ public:
virtual ~CppHighlightingSupportFactory() = 0;
virtual CppHighlightingSupport *highlightingSupport(TextEditor::ITextEditor *editor) = 0;
+
+ virtual bool hightlighterHandlesDiagnostics() const = 0;
};
} // namespace CppTools