forked from qt-creator/qt-creator
C++: optionally let the highlighter handle ifdefed-out blocks.
Change-Id: I38cc0e55348cac0245d2ab8f3e39c68de76e3e6d Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
committed by
Nikolai Kosjar
parent
480f7c09fc
commit
073e5d6632
@@ -49,6 +49,9 @@ public:
|
||||
virtual bool hightlighterHandlesDiagnostics() const
|
||||
{ return false; }
|
||||
|
||||
virtual bool hightlighterHandlesIfdefedOutBlocks() const
|
||||
{ return false; }
|
||||
|
||||
virtual QFuture<TextEditor::HighlightingResult> highlightingFuture(
|
||||
const CPlusPlus::Document::Ptr &doc,
|
||||
const CPlusPlus::Snapshot &snapshot) const;
|
||||
|
||||
Reference in New Issue
Block a user