forked from qt-creator/qt-creator
Made symbol searching plug-able through indexing support.
The indexing support for the built-in code model is moved to its own file. Symbol searching will now call for a searcher through that support interface, which will create a fully configured and ready-to-go searcher that can be started in the/a future. Change-Id: Idc3ee1c7c789a69fa05ee1d42415313dcea94cf8 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
@@ -131,7 +131,8 @@ public:
|
||||
virtual CppHighlightingSupport *highlightingSupport(Core::IEditor *editor) const;
|
||||
virtual void setHighlightingSupportFactory(CppHighlightingSupportFactory *highlightingFactory);
|
||||
|
||||
virtual void addIndexingSupport(CppIndexingSupport *indexingSupport);
|
||||
virtual void setIndexingSupport(CppIndexingSupport *indexingSupport);
|
||||
virtual CppIndexingSupport *indexingSupport();
|
||||
|
||||
QStringList projectFiles()
|
||||
{
|
||||
@@ -243,7 +244,7 @@ private:
|
||||
CppCompletionAssistProvider *m_completionFallback;
|
||||
CppHighlightingSupportFactory *m_highlightingFactory;
|
||||
CppHighlightingSupportFactory *m_highlightingFallback;
|
||||
QList<CppIndexingSupport *> m_indexingSupporters;
|
||||
CppIndexingSupport *m_indexingSupporter;
|
||||
CppIndexingSupport *m_internalIndexingSupport;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user