[Geany-devel] make keybinded functions available to plugins

Yura Siamashka yurand2 at xxxxx
Tue May 6 19:01:43 UTC 2008


On Tue, 6 May 2008 15:39:32 +0100
Nick Treleaven <nick.treleaven at btinternet.com> wrote:

> On Mon, 5 May 2008 13:59:02 +0300
> Yura Siamashka <yurand2 at gmail.com> wrote:
> 
> > Provide all functions from "Keyboard shortcuts" to plugin interface
> > using something like:
> > 
> > <function ptr> keybinding_get_function(const char section, const char
> > name);
> 
> Well, these functions are available already:
> 
> p_keybindings->send_command(GEANY_KEY_GROUP_EDITOR,
> GEANY_KEYS_EDITOR_DUPLICATELINE);
> 
> Or do you need the address of each function?

All I need is ability to call them. I guess this function do job, thanks. 

-- 
Yura Siamashka <yurand2 at gmail.com>



More information about the Devel mailing list