Page 1 of 1
Hotkey in Find dialog
Posted: 05.12.2023 16:47
by vidovan
I'm using CudaText on Windows 10 with Slovak keyboard layout.
In CudaText, there is a hotkey for opening a menu with options in the Find/Replace dialog: "Ctrl+Alt+." (or "AltGr+.")
This key combination is used in Czech/Slovak keyboard layouts for typing ">" character. So there is no way to type ">", I have to copy it from text and paste it into the dialog. Is there a way to work around? I did not find an option to redefine the shortcut.
Re: Hotkey in Find dialog
Posted: 05.12.2023 16:56
by main Alexey
In the next update, I will change Ctrl+Alt+. to Ctrl+Alt+D.
BTW, where is the online proof that Slovak keyboard uses the Ctrl+Alt+. ? I cannot find.
EDIT
found it:
https://sourceforge.net/p/dev-cpp/bugs/696/
Re: Hotkey in Find dialog
Posted: 05.12.2023 17:28
by vidovan
Ctrl+Alt and
AltGr are treated in Windows as same. There are many more key combinations like this, i.e:
AltGr+x -> #, AltGr+c -> &, AltGr+v -> @, AltGr+d -> Đ, AltGr+q -> \, AltGr+w ->|, etc...
You can read about it here:
https://en.wikipedia.org/wiki/AltGr_key
Windows interprets Ctrl+Alt as AltGr, to accommodate some compact keyboards like those of netbooks which have neither the AltGr key nor a right-hand Alt key. Thus Ctrl+Alt+a has the same effect as AltGr+a. Because of this feature, Microsoft advises that Ctrl+Alt not be used as part of any application keyboard shortcut, as it would prevent typing the matching AltGr character on such keyboards.
Maybe just allowing the user to change the hotkey to something else will be enough to solve this issue?
Re: Hotkey in Find dialog
Posted: 05.12.2023 17:38
by main Alexey
Ok, I added option to customize this hotkey
"find_hotkey_more": "Ctrl+Alt+D"
Not sure the changing of Ctrl+Alt+<smth> hotkeys will be good for users, who used to hotkeys.
Re: Hotkey in Find dialog
Posted: 05.12.2023 17:49
by vidovan
Thank you. Of course, I did not propose changing any existing hotkeys, just allowing the users to configure them, if they need to.
I think the best solution is to make them not hard-wired, because who knows what other combinations can appear in future...
By the way thank you for this editor, I use it daily as my main editor and it is great!
Re: Hotkey in Find dialog
Posted: 05.12.2023 20:27
by main Alexey
Can you compare your prev text editor with this one?
many details, as possible.
many aspects of apps.
not needed for a) sublime text, b) notepad++ because of wiki page
https://wiki.freepascal.org/CudaText_VS_other_editors
Re: Hotkey in Find dialog
Posted: 06.12.2023 07:27
by vidovan
I used PSPad (
https://www.pspad.com/) in the past (until ca 2014), so I believe many things have changed)
I surely do not remember everything since then, but from the top of my head:
CudaText pros
* open source
* frequent updates
* simpler, more modern ui
* multi carets
* more uniform settings
* minimap
* code folding
* many really useful plugins, like number utils
PSPad pros
* integrated hex editor / hex mode
Re: Hotkey in Find dialog
Posted: 06.12.2023 09:32
by main Alexey
thanks.
not enough details to be put to the wiki, but thanks.