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:
@@ -53,9 +53,7 @@ using namespace CPlusPlus;
|
||||
CppEditorSupport::CppEditorSupport(CppModelManager *modelManager)
|
||||
: QObject(modelManager),
|
||||
_modelManager(modelManager),
|
||||
_updateDocumentInterval(UPDATE_DOCUMENT_DEFAULT_INTERVAL),
|
||||
m_completionSupport(new CppCompletionSupport(this)),
|
||||
m_highlightingSupport(new CppHighlightingSupport)
|
||||
_updateDocumentInterval(UPDATE_DOCUMENT_DEFAULT_INTERVAL)
|
||||
{
|
||||
_revision = 0;
|
||||
|
||||
@@ -103,16 +101,6 @@ unsigned CppEditorSupport::editorRevision() const
|
||||
return 0;
|
||||
}
|
||||
|
||||
CppTools::CppCompletionSupport *CppEditorSupport::completionSupport() const
|
||||
{
|
||||
return m_completionSupport.data();
|
||||
}
|
||||
|
||||
CppHighlightingSupport *CppEditorSupport::highlightingSupport() const
|
||||
{
|
||||
return m_highlightingSupport.data();
|
||||
}
|
||||
|
||||
int CppEditorSupport::updateDocumentInterval() const
|
||||
{ return _updateDocumentInterval; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user