Merge pull request #106500 from Frozenfire92/global-find-in-files

Make FindInFiles globally accessible
This commit is contained in:
Thaddeus Crews 2025-05-26 11:24:20 -05:00
commit f6a56c112f
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC
6 changed files with 21 additions and 15 deletions

View file

@ -692,7 +692,7 @@ TextEditor::TextEditor() {
search_menu->get_popup()->add_shortcut(ED_GET_SHORTCUT("script_text_editor/find_previous"), SEARCH_FIND_PREV);
search_menu->get_popup()->add_shortcut(ED_GET_SHORTCUT("script_text_editor/replace"), SEARCH_REPLACE);
search_menu->get_popup()->add_separator();
search_menu->get_popup()->add_shortcut(ED_GET_SHORTCUT("script_text_editor/find_in_files"), SEARCH_IN_FILES);
search_menu->get_popup()->add_shortcut(ED_GET_SHORTCUT("editor/find_in_files"), SEARCH_IN_FILES);
search_menu->get_popup()->add_shortcut(ED_GET_SHORTCUT("script_text_editor/replace_in_files"), REPLACE_IN_FILES);
MenuButton *goto_menu = memnew(MenuButton);