Hi
While writting previous mail I start thinking about the following idea:
Provide all functions from "Keyboard shortcuts" to plugin interface using something like:
<function ptr> keybinding_get_function(const char section, const char name);
What do you think?
On Mon, 5 May 2008 13:59:02 +0300 Yura Siamashka yurand2@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?
Regards, Nick
On Tue, 6 May 2008 15:39:32 +0100 Nick Treleaven nick.treleaven@btinternet.com wrote:
On Mon, 5 May 2008 13:59:02 +0300 Yura Siamashka yurand2@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.