Page 1 of 1

Synw 6.36: new configs for hotkeys, new UI to enter hotkeys

Posted: 13.03.2017 14:59
by Alexey
6.36.2680
+ new config for hotkeys used now. SynHotkeys.ini (later also "SynHotkeys lexer nnnnn.ini"). one for usual commands and plugins.
+ new dialog to configure hotkeys: in Commands dlg (F1), press F9
* old hotkeys not read now: from Syn.ini, from SynPlugins.ini (was bad design)
* you should delete section in Syn.ini: [Template__SyntKeyMapping.AsString]
* hotkeys part in Options dlg: now read-only, cannot change hotkeys there
* SynPlugins.ini: not used last 2 items for command plugins: ;hotkey;flags . To hide command plugin in context menu, now use "_" char prefix in command caption.
+ install.inf: in [iniNNN] allowed line "hotkey=" to set command item's hotkey, e.g. combo key is "hotkey=Ctrl+Alt+A * Ctrl+B * Ctrl+C"
* removed translations for items (about 300) in Commands dialog (to make translation easy)


beta - http://uvviewsoft.com/bb/

Posted: 27.05.2017 18:10
by sqa_wizard
You may remove the "Hotkey" section from "Edit macros" dialog.
The assignment at this dialog does not have any effect, because the assignment is done via global hotkey dialog now.
It is very confusing.
May replace it by a link which opens the global hotkey dialog?

Posted: 28.05.2017 18:05
by Alexey
Thanks for this note: i forgot this at all. ToDo.

Posted: 28.06.2017 20:31
by MarianD
Alexey wrote:6.36.2680
* old hotkeys not read now: from Syn.ini, from SynPlugins.ini (was bad design)
1. Is it - or will it be - possible to convert hotkeys from their old format and location (Syn.ini) to the new in SynHotkeys.ini?
2. Is it - or will it be - possible to use shortkeys as Ctrl+K, N or Ctrl+K, O (for changing to lowercase / uppercase in previous versions)?

Namely 1. will be very helpful for me as I had an used lot of hotkeys. Thanks.

Posted: 29.06.2017 06:56
by Alexey
1- Not possible, sorry
2- Yes, possible to use key combos [2 or 3 keys in row]

Posted: 29.06.2017 19:24
by MarianD
Thanks for your quick answer - 2 is now OK.

To be more specific (for other users), the string in SynHotkeys.ini file seems as

Code: Select all

s1=Ctrl+K * Ctrl+O
if you in the Hotkey dialog (F1, then F9, select a command for a hotkey):
  • click "Add key", press Ctrl+K, then "Add key" again (without Clear), press Ctrl+O.