<blockquote>
<p>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?</p>
</blockquote>
<p>No, it only works per filetype.</p>
<blockquote>
<p>AFAIK nothing in the filetype files has a GUI, ...</p>
</blockquote>
<p>The context action can be configured in the tools section of the configuration preferences. But that is a global fallback value, not per filetype.</p>
<p>You can also check the manual section that I wrote but at a quick glance it works like this:</p>
<ul>
<li>read context action patterns from filetype config</li>
<li>on selection of context action context menu:
<ul>
<li>try to match a pattern, use the action if there is a match</li>
<li>if not, execute the filetype's context action</li>
<li>if not set, execute the global context action (from the tools config preferences)</li>
</ul>
</li>
</ul>
<p>So it works on top of the old mechanism and uses the old mechanism as a fallback.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/1643#issuecomment-343646596">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJxRJmHC0EzcANzx6fayodxPs1efzks5s1UtfgaJpZM4P5YzU">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ__vV224FD1rftj-JsZotJtuFisuks5s1UtfgaJpZM4P5YzU.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/pull/1643#issuecomment-343646596"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany","title":"geany/geany","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"PERSON","message":"@LarsGit223 in #1643: \u003e 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?\r\n\r\nNo, it only works per filetype.\r\n\r\n\u003e AFAIK nothing in the filetype files has a GUI, ...\r\n\r\nThe context action can be configured in the tools section of the configuration preferences. But that is a global fallback value, not per filetype.\r\n\r\nYou can also check the manual section that I wrote but at a quick glance it works like this:\r\n- read context action patterns from filetype config\r\n- on selection of context action context menu:\r\n  - try to match a pattern, use the action if there is a match\r\n  - if not, execute the filetype's context action\r\n  - if not set, execute the global context action (from the tools config preferences)\r\n\r\nSo it works on top of the old mechanism and uses the old mechanism as a fallback."}],"action":{"name":"View Pull Request","url":"https://github.com/geany/geany/pull/1643#issuecomment-343646596"}}}</script>