forked from qt-creator/qt-creator
C++: make highlighting/completion plugable.
Change-Id: I990fdf5411153041c6b4c62f31b453342d59de53 Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
@@ -57,10 +57,6 @@ namespace TextEditor {
|
||||
} // namespace TextEditor
|
||||
|
||||
namespace CppTools {
|
||||
|
||||
class CppCompletionSupport;
|
||||
class CppHighlightingSupport;
|
||||
|
||||
namespace Internal {
|
||||
|
||||
class CppModelManager;
|
||||
@@ -82,9 +78,6 @@ public:
|
||||
QString contents();
|
||||
unsigned editorRevision() const;
|
||||
|
||||
CppCompletionSupport *completionSupport() const;
|
||||
CppHighlightingSupport *highlightingSupport() const;
|
||||
|
||||
Q_SIGNALS:
|
||||
void contentsChanged();
|
||||
|
||||
@@ -102,8 +95,6 @@ private:
|
||||
QFuture<void> _documentParser;
|
||||
QString _cachedContents;
|
||||
unsigned _revision;
|
||||
QScopedPointer<CppCompletionSupport> m_completionSupport;
|
||||
QScopedPointer<CppHighlightingSupport> m_highlightingSupport;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user