<p>OK, I agree with you, bad idea. Does highlightnig methods have the same story or it is valid request?<br>
For example:</p>

<pre><code>struct a 
{
   int x;
   int y;
   int get();
}
a sample_a;
int x = a.x     // 'x' should not be highlighted
int y = a.get() // 'get' should be highlighted as method
</code></pre>

<p>It seems to be unachievable with <code>~/.config/geany/filedefs/filetypes.cpp</code></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/geany/geany/issues/876#issuecomment-173594334">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ2YPAJ5lr4R5LzO1UwqhDiqXbQBSks5pcOgrgaJpZM4HI566.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/issues/876#issuecomment-173594334"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>