Not sure what the command palette is, think I used the second method via Plugins/Options editor lite.
Seems a bit strange to have to specify it in two separate places though? Could you change it to make this easier to use?
Possible Hotkey issue
Re: Possible Hotkey issue
Live for an ideal and leave no place in the mind for anything else.
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Re: Possible Hotkey issue
1- Cmd Palette is a dialog: call it by 'Help / Command Palette'.
F9 key there allows to change hotkeys.
but Cmd Palette don't have 'Replace next' item so we cannot change Replace hotkey there.
so - we have only 1 way to change Replace hotkey.
2- attach in zip your user.json + keys.json files. so I can try to repeat the issue.
3- since Cmd Palette don't have 'Replace next' item - editor cannot react to F4 (you assigned it via Options Editor) when editor is focused. this is by design! only focused find-dialog can react to F4.
F9 key there allows to change hotkeys.
but Cmd Palette don't have 'Replace next' item so we cannot change Replace hotkey there.
so - we have only 1 way to change Replace hotkey.
2- attach in zip your user.json + keys.json files. so I can try to repeat the issue.
3- since Cmd Palette don't have 'Replace next' item - editor cannot react to F4 (you assigned it via Options Editor) when editor is focused. this is by design! only focused find-dialog can react to F4.
Re: Possible Hotkey issue
Oh I see! Ok, well, here's my files, hope it helps...
Live for an ideal and leave no place in the mind for anything else.
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Re: Possible Hotkey issue
Seems I got what is your problem.
you put focus to editor and want that F4 replaces next word.
but Cud don't support F4 key in editor! it needs focus in the find-dialog input field.
so click on input field in find-dlg before pressing F4.
F3 is different story. editor supports such command in the Cmd Palette so F3 works when editor is focused.
you put focus to editor and want that F4 replaces next word.
but Cud don't support F4 key in editor! it needs focus in the find-dialog input field.
so click on input field in find-dlg before pressing F4.
F3 is different story. editor supports such command in the Cmd Palette so F3 works when editor is focused.
Re: Possible Hotkey issue
Ok, so why doesn't the editor support F4?
Tbh, I only used F4 as it was next to F3 so it made it physically easier to use that key when doing a lot of replacing.
Tbh, I only used F4 as it was next to F3 so it made it physically easier to use that key when doing a lot of replacing.
Live for an ideal and leave no place in the mind for anything else.
Re: Possible Hotkey issue
I think I see what you mean about why it doesn't work.
So, I suppose it comes down to a feature request!
Could you add 'Replace next' item to the cmd palette? Or is it something you don't wish to do?
So, I suppose it comes down to a feature request!
Could you add 'Replace next' item to the cmd palette? Or is it something you don't wish to do?
Live for an ideal and leave no place in the mind for anything else.
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Re: Possible Hotkey issue
I wrote this request to github
https://github.com/Alexey-T/CudaText/issues/5669
and will try to add it little later. it is not very easy.
https://github.com/Alexey-T/CudaText/issues/5669
and will try to add it little later. it is not very easy.
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Re: Possible Hotkey issue
added! tell me your OS and widgetset (ie the line from About dialog, press COPY btn there) so i can give the beta.
Re: Possible Hotkey issue
Oh wow thanks for the quick response, hope it wasn't too difficult!
Win11x64 23H2
CudaText 1.216.6.0, win64-x86_64-win32, fpc 3.2.3
Win11x64 23H2
CudaText 1.216.6.0, win64-x86_64-win32, fpc 3.2.3
Live for an ideal and leave no place in the mind for anything else.
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Re: Possible Hotkey issue
last Win64 beta
https://github.com/Alexey-T/CudaText/di ... t-10500838
please test.
+ add: added Command Palette item "find next and replace"
* change: deleted options "find_hotkey_find_next", "find_hotkey_replace", now usual Command Palette hotkeys are used here
(options are deleted in new default.json which you can download in our Github)
https://github.com/Alexey-T/CudaText/di ... t-10500838
please test.
+ add: added Command Palette item "find next and replace"
* change: deleted options "find_hotkey_find_next", "find_hotkey_replace", now usual Command Palette hotkeys are used here
(options are deleted in new default.json which you can download in our Github)