1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:57:35 +00:00

TextEditor: Change 'Find regex' shortcut to Ctrl+Shift+R

So there's not conflict with Vim Emulator's Ctrl+R redo.
This commit is contained in:
Rok Povsic 2021-01-02 11:58:37 +01:00 committed by Andreas Kling
parent 32c319ba81
commit 1c17ecdeb7

View file

@ -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();
});