[Geany-devel] snippet keybindings? - Re: [PATCH] Some editor/snippets/keybindings enhancements

Lex Trotman elextr at xxxxx
Tue Aug 17 23:56:45 UTC 2010

On 18 August 2010 00:35, Nick Treleaven <nick.treleaven at btinternet.com> wrote:
> On Tue, 17 Aug 2010 10:08:08 +1000
> Lex Trotman <elextr at 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#e8eeecc54d81ce05457e04ad98028a68

Looks like a good solution, I never thought of looking in the plugin interface.

> Regards,
> Nick
> _______________________________________________
> Geany-devel mailing list
> Geany-devel at uvena.de
> http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel

More information about the Devel mailing list