[Github-comments] [geany/geany] Added Context Action Patterns. (#1643)

LarsGit223 notifications at xxxxx
Sat Nov 11 07:23:12 UTC 2017


> I havn't had a chance to look at this in detail, but is it only per-filetype, or do you have a set that is filetype independent?

No, it only works per filetype.

> AFAIK nothing in the filetype files has a GUI, ...

The context action can be configured in the tools section of the configuration preferences. But that is a global fallback value, not per filetype.

You can also check the manual section that I wrote but at a quick glance it works like this:
- read context action patterns from filetype config
- on selection of context action context menu:
  - try to match a pattern, use the action if there is a match
  - if not, execute the filetype's context action
  - if not set, execute the global context action (from the tools config preferences)

So it works on top of the old mechanism and uses the old mechanism as a fallback.

-- 
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/1643#issuecomment-343646596
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20171111/5463d51d/attachment.html>


More information about the Github-comments mailing list