forked from qt-creator/qt-creator
CppEditor: Generalize CppUseSelectionsUpdater
Let CppUseSelectionsUpdater delegate the work to *EditorDocumentProcessor so that the clang code model can also provide results. Change-Id: I6872afbfeea1a5c4a64fdf19fcb1992f134dde08 Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
@@ -370,6 +370,12 @@ ParseContextModel &CppEditorDocument::parseContextModel()
|
||||
return m_parseContextModel;
|
||||
}
|
||||
|
||||
QFuture<CppTools::CursorInfo>
|
||||
CppEditorDocument::cursorInfo(const CppTools::CursorInfoParams ¶ms)
|
||||
{
|
||||
return processor()->cursorInfo(params);
|
||||
}
|
||||
|
||||
const MinimizableInfoBars &CppEditorDocument::minimizableInfoBars() const
|
||||
{
|
||||
return m_minimizableInfoBars;
|
||||
|
||||
Reference in New Issue
Block a user