From 1c17ecdeb72cf62f651385fa302d401a19541345 Mon Sep 17 00:00:00 2001 From: Rok Povsic Date: Sat, 2 Jan 2021 11:58:37 +0100 Subject: [PATCH] TextEditor: Change 'Find regex' shortcut to Ctrl+Shift+R So there's not conflict with Vim Emulator's Ctrl+R redo. --- Applications/TextEditor/TextEditorWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Applications/TextEditor/TextEditorWidget.cpp b/Applications/TextEditor/TextEditorWidget.cpp index 03997d2b2e..10249b39f9 100644 --- a/Applications/TextEditor/TextEditorWidget.cpp +++ b/Applications/TextEditor/TextEditorWidget.cpp @@ -133,7 +133,7 @@ TextEditorWidget::TextEditorWidget() } }); - m_find_regex_action = GUI::Action::create("Find regex", { Mod_Ctrl, Key_R }, [&](auto&) { + m_find_regex_action = GUI::Action::create("Find regex", { Mod_Ctrl | Mod_Shift, Key_R }, [&](auto&) { m_find_regex_button->set_checked(!m_find_regex_button->is_checked()); m_find_use_regex = m_find_regex_button->is_checked(); });