forked from qt-creator/qt-creator
C++: Moved completion/highlighting into the model manager.
This way the editor does not need to know all the details of instantiating or maintaining classes for highlighting and/or completion, it can just ask the model manager. The change also enables different highlighting- or completion-engines without changes to the cppeditor. Change-Id: I8000d9d9fe446b292defddb2295493cf77d0f14a Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
This commit is contained in:
@@ -34,7 +34,6 @@
|
||||
|
||||
#include "cppeditor.h"
|
||||
#include "cppquickfixassistant.h"
|
||||
#include "cpplocalsymbols.h"
|
||||
|
||||
#include <cplusplus/CppRewriter.h>
|
||||
#include <cplusplus/ASTPath.h>
|
||||
@@ -44,6 +43,7 @@
|
||||
#include <cplusplus/TranslationUnit.h>
|
||||
#include <cplusplus/LookupContext.h>
|
||||
#include <cplusplus/Overview.h>
|
||||
#include <cpptools/cpplocalsymbols.h>
|
||||
#include <cpptools/cpprefactoringchanges.h>
|
||||
#include <cpptools/symbolfinder.h>
|
||||
#include <texteditor/refactoroverlay.h>
|
||||
@@ -61,6 +61,7 @@
|
||||
using namespace CPlusPlus;
|
||||
using namespace CppEditor;
|
||||
using namespace CppEditor::Internal;
|
||||
using namespace CppTools;
|
||||
|
||||
FunctionDeclDefLinkFinder::FunctionDeclDefLinkFinder(QObject *parent)
|
||||
: QObject(parent)
|
||||
|
||||
Reference in New Issue
Block a user