On Tue, 17 Aug 2010 10:08:08 +1000 Lex Trotman elextr@gmail.com wrote:
If we do want snippet keybindings perhaps it would be better to integrate with the existing keybindings rather than storing them separately - then users could configure them in the normal way.
It's worth thinking.
This could be a bit of work since the number of snippets is variable and the keybindings GUI is fixed. I had a quick look a while ago with the view of allowing the extra build commands to have keybindings but never came up with a simple way of handling variable numbers of commands.
If you decide to add a general way of adding variable numbers of entries in the keybindings GUI it could then be used elsewhere.
Plugins can change the number of keybindings in their plugin's key group*, so maybe this could be done for other things in the core. It would probably only take some small changes. 'Format->Send selection to' keybindings could be variable size too.
* http://www.geany.org/manual/reference/pluginutils_8h.html#e8eeecc54d81ce0545...
Regards, Nick