diff --git a/dub.json b/dub.json index 00b6cba..b8aac83 100644 --- a/dub.json +++ b/dub.json @@ -12,7 +12,7 @@ "stringImportPaths": ["views", "views/res", "views/res/i18n", "views/res/mdpi", "views/res/hdpi"], "dependencies": { - "dlangui": "~>0.7.66", + "dlangui": "~>0.7.67", "dcd": "~>0.7.5" }, diff --git a/src/dlangide/ui/commands.d b/src/dlangide/ui/commands.d index fc0eaa8..2861cba 100644 --- a/src/dlangide/ui/commands.d +++ b/src/dlangide/ui/commands.d @@ -61,7 +61,7 @@ enum IDEActions : int { GetParenCompletion, InsertCompletion, - FindText, + FindInFiles, CloseWorkspace, } @@ -138,4 +138,4 @@ const Action ACTION_GO_TO_DEFINITION = (new Action(IDEActions.GoToDefinition, " const Action ACTION_GET_COMPLETIONS = (new Action(IDEActions.GetCompletionSuggestions, "SHOW_COMPLETIONS"c, ""c, KeyCode.KEY_G, KeyFlag.Control|KeyFlag.Shift)).addAccelerator(KeyCode.SPACE, KeyFlag.Control).disableByDefault(); const Action ACTION_GET_PAREN_COMPLETION = (new Action(IDEActions.GetParenCompletion, "SHOW_PAREN_COMPLETION"c, ""c, KeyCode.SPACE, KeyFlag.Control|KeyFlag.Shift)).disableByDefault(); -const Action ACTION_FIND_TEXT = (new Action(IDEActions.FindText, "FIND_TEXT"c, "edit-find"c, KeyCode.KEY_F, KeyFlag.Control)); +const Action ACTION_FIND_TEXT = (new Action(IDEActions.FindInFiles, "FIND_IN_FILES"c, "edit-find"c, KeyCode.KEY_F, KeyFlag.Control | KeyFlag.Shift)); diff --git a/src/dlangide/ui/frame.d b/src/dlangide/ui/frame.d index 578088e..25ea09b 100644 --- a/src/dlangide/ui/frame.d +++ b/src/dlangide/ui/frame.d @@ -928,7 +928,7 @@ class IDEFrame : AppFrame, ProgramExecutionStatusListener, BreakpointListChangeL case IDEActions.SetStartupProject: setStartupProject(cast(Project)a.objectParam); return true; - case IDEActions.FindText: + case IDEActions.FindInFiles: Log.d("Opening Search Field"); import dlangide.ui.searchPanel; int searchPanelIndex = _logPanel.getTabs.tabIndex("search"); diff --git a/views/res/i18n/en.ini b/views/res/i18n/en.ini index 64b46d6..3cde058 100644 --- a/views/res/i18n/en.ini +++ b/views/res/i18n/en.ini @@ -39,7 +39,7 @@ SHOW_COMPLETIONS=Get autocompletions SHOW_DOC_COMMENTS=Show documentation SHOW_PAREN_COMPLETION=Call hints -FIND_TEXT=Find... +FIND_IN_FILES=Find in files... MENU_BUILD_CONFIGURATIONS=Build configurations MENU_BUILD=&Build diff --git a/views/res/i18n/es.ini b/views/res/i18n/es.ini index a4c0d7d..62045f4 100644 --- a/views/res/i18n/es.ini +++ b/views/res/i18n/es.ini @@ -61,7 +61,8 @@ MENU_NAVIGATE=Navegar GO_TO_DEFINITION=Ir a Definición SHOW_COMPLETIONS=Obtener Autocompletados -FIND_TEXT=Encontrar texto + +FIND_IN_FILES=Encontrar texto TAB_LONG_LIST=Larga lista diff --git a/views/res/i18n/ru.ini b/views/res/i18n/ru.ini index 3aef15d..3b7f566 100644 --- a/views/res/i18n/ru.ini +++ b/views/res/i18n/ru.ini @@ -36,7 +36,7 @@ GO_TO_DEFINITION=Перейти к определению SHOW_DOC_COMMENTS=Показать документацию SHOW_PAREN_COMPLETION=Показать параметры вызова -FIND_TEXT=Найти... +FIND_IN_FILES=Найти в файлах... MENU_BUILD=&Сборка MENU_BUILD_WORKSPACE_BUILD=Собрать workspace