forked from qt-creator/qt-creator
move find usages to TextEditor
In preperation for supporting find usages by the language client plugin Task-number: QTCREATORBUG-21577 Change-Id: I7a6da3a9d53478c1d486e0ddc5829c9ea09a2a20 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
@@ -372,12 +372,12 @@ class FindUsagesTokenAction : public TestActionsTestCase::AbstractAction
|
||||
{
|
||||
public:
|
||||
/// Find Usages on each token
|
||||
void run(CppEditorWidget *);
|
||||
void run(CppEditorWidget *editor);
|
||||
};
|
||||
|
||||
void FindUsagesTokenAction::run(CppEditorWidget *)
|
||||
void FindUsagesTokenAction::run(CppEditorWidget *editor)
|
||||
{
|
||||
CppEditorPlugin::instance()->findUsages();
|
||||
editor->findUsages();
|
||||
QApplication::processEvents();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user