Alexey-T / CudaText

Cross-platform text editor, written in Free Pascal
Mozilla Public License 2.0
2.39k stars 166 forks source link

"Find First" shortcut doesn't work when find input is not focused #5528

Closed pintassilgo closed 1 month ago

pintassilgo commented 1 month ago

F3 and Shift+F3 work when find bar is closed as expected, when there is content in find input even if find bar is hidden. "Find First" should work too. It works when I call it from Command palette, but not when I press the shortcut (Alt+Enter). The shortcut only works when find bar is visible AND find input is focused.

Alexey-T commented 1 month ago

Cmd Palette item 'find, first' has no hotkey. Alt+Enter is hotkey local to the Find dialog. you should assign hotkey in the Cmd Palette for 'find, first'.

pintassilgo commented 1 month ago

OK, thanks, but I think it should work by default. Find first is similar to find next and find previous, they are buttons next to each other in find bar, F3 and Shift+F3 work by default as "global hotkey", so Find first shortcut Alt+Enter should work too.

Alexey-T commented 1 month ago

OK, adding.