forked from qt-creator/qt-creator
Git: Hook grep into Find In File System dialog
Change-Id: I0fc77ad61c8874a21afd5b5135df4d30fa795a8e Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
1b9b1541d3
commit
558c08e2c5
@@ -129,6 +129,10 @@ bool TextEditorPlugin::initialize(const QStringList &arguments, QString *errorMe
|
||||
|
||||
m_baseTextMarkRegistry = new TextMarkRegistry(this);
|
||||
|
||||
addAutoReleasedObject(new FindInFiles);
|
||||
addAutoReleasedObject(new FindInCurrentFile);
|
||||
addAutoReleasedObject(new FindInOpenFiles);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -146,10 +150,6 @@ void TextEditorPlugin::extensionsInitialized()
|
||||
|
||||
updateSearchResultsTabWidth(m_settings->codeStyle()->currentTabSettings());
|
||||
|
||||
addAutoReleasedObject(new FindInFiles);
|
||||
addAutoReleasedObject(new FindInCurrentFile);
|
||||
addAutoReleasedObject(new FindInOpenFiles);
|
||||
|
||||
Utils::MacroExpander *expander = Utils::globalMacroExpander();
|
||||
|
||||
expander->registerVariable(kCurrentDocumentSelection,
|
||||
|
||||
Reference in New Issue
Block a user