forked from qt-creator/qt-creator
C++: highlighter clean-ups
- Moved TextEditor::SemanticHighlighter::Result to TextEditor::HighlightingResult - Moved SemanticInfo::UseKind to CppHighlightingSupport::Kind Change-Id: I14faab1891ca691a0691cfd9243edf19fcd3d3df Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
@@ -39,15 +39,13 @@ namespace Internal {
|
||||
|
||||
class CppHighlightingSupportInternal: public CppHighlightingSupport
|
||||
{
|
||||
public:
|
||||
typedef TextEditor::SemanticHighlighter::Result Use;
|
||||
|
||||
public:
|
||||
CppHighlightingSupportInternal(TextEditor::ITextEditor *editor);
|
||||
virtual ~CppHighlightingSupportInternal();
|
||||
|
||||
virtual QFuture<Use> highlightingFuture(const CPlusPlus::Document::Ptr &doc,
|
||||
const CPlusPlus::Snapshot &snapshot) const;
|
||||
virtual QFuture<TextEditor::HighlightingResult> highlightingFuture(
|
||||
const CPlusPlus::Document::Ptr &doc,
|
||||
const CPlusPlus::Snapshot &snapshot) const;
|
||||
};
|
||||
|
||||
class CppHighlightingSupportInternalFactory: public CppHighlightingSupportFactory
|
||||
|
||||
Reference in New Issue
Block a user