This commit provides 1 correction and 2.5 enhancements for Geany's context action:

  1. The correction is:
  1. The enhancements are:

There are a few bla-bla left. This new Geany's context can respond not only to %s, %f, %d etc., but to all Geany's surroundings. E.g. it can show a current state of the project from different viewpoints. Or perform the various actions for maintainance of it. All that done without leaving Geany IDE. One of innumerable possible implementations is here:
https://wiki.geany.org/howtos/using_with_tcl_tk
As a matter of fact this commit was born of it.


About the modifications of code.

  1. For the access to 'build_replace_placeholder' function (introducing %f, %d .. placeholders) I need to modify build.c and build.h.

  2. It is included in the proper place of callbacks.c.

  3. To unlock the context (and move its access check to other place) I need to comment a line of keybindings.c. Actually this unlocks the hotkey of context.

  4. To enable a separate (from other 'goto' items) checking of context access, I need to modify ui_utils.c (and its ui_utils.h).

  5. The real access to all 'goto' items (the context including) is checked in editor.c.


You can view, comment on, or merge this pull request online at:

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

Commit Summary

File Changes

Patch Links:


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.