forked from qt-creator/qt-creator
CppLocatorFilter: Add cppCurrentDocumentMatcher()
Add also a test for it. Change-Id: I324b1a2cbe89c0a1258dde93524689cb85e06737 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -903,6 +903,8 @@ void CppModelManager::initCppTools()
|
||||
[] { return QList{CppEditor::cppClassMatcher()}; });
|
||||
LocatorMatcher::addMatcherCreator(MatcherType::Functions,
|
||||
[] { return QList{CppEditor::cppFunctionMatcher()}; });
|
||||
LocatorMatcher::addMatcherCreator(MatcherType::CurrentDocumentSymbols,
|
||||
[] { return QList{CppEditor::cppCurrentDocumentMatcher()}; });
|
||||
}
|
||||
|
||||
CppModelManager::CppModelManager()
|
||||
|
Reference in New Issue
Block a user