[Github-comments] [geany/geany] Export keybindings_load_keyfile() for plugins (#1430)

Jiří Techet notifications at xxxxx
Wed Mar 15 20:46:12 UTC 2017


This allows plugins to reload keybindings later during their execution.
For more info see the comment in the commit.

---

I'm working on a plugin which is a more universal version of the current GeanyMiniscript plugins - users will be able to write custom scripts which will be executed and depending on the configuration the output will replace current document or selection or be inserted at current position or shown in new window etc. Users will be able to create new scripts (and remove existing). Each script will be keybindingable and since scripts can be removed or added, keybindings have to reload which isn't currently possible because keybindings_load_keyfile() isn't public and because of #1426.

(The plugin is in a VERY early stage of development and will likely not come out soon.)
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany/pull/1430

-- Commit Summary --

  * Export keybindings_load_keyfile() for plugins

-- File Changes --

    M src/keybindings.c (9)
    M src/keybindings.h (4)
    M src/plugindata.h (2)

-- Patch Links --

https://github.com/geany/geany/pull/1430.patch
https://github.com/geany/geany/pull/1430.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1430
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170315/bc71d3ce/attachment.html>


More information about the Github-comments mailing list