<p><a href="https://github.com/techee" class="user-mention">@techee</a> I think I done reading the patches.  I merged it in a local branch to test it for a while, but please, go ahead and fix things.</p>

<p>One thing that these changes seem to have broken is completing members of a static structrue like this:</p>

<div class="highlight highlight-source-c"><pre><span class="pl-k">static</span> <span class="pl-k">struct</span> {
    <span class="pl-k">int</span> a, b;
} foo;

<span class="pl-k">int</span> <span class="pl-en">main</span>(<span class="pl-k">void</span>) {
    <span class="pl-k">return</span> foo.<span class="pl-smi">a</span>;  <span class="pl-c">// <- here nothing pops up after the dot -- yet used to</span>
}</pre></div>

<p>I didn't investigate why yet (maybe because anonymous structs are skipped somewhere they shouldn't be?).</p>

<p>Also, although this one didn't work before either, it'd be nice to skip array indexing too when searching what to complete while at it, so stuff like that would work:</p>

<div class="highlight highlight-source-c"><pre><span class="pl-k">typedef</span> <span class="pl-k">struct</span> {
    <span class="pl-k">int</span> el1, el2;
} Test;

Test test[<span class="pl-c1">2</span>] = {
    { <span class="pl-c1">1</span>, <span class="pl-c1">2</span> },
    { <span class="pl-c1">3</span>, <span class="pl-c1">4</span> },
};

<span class="pl-k">int</span> <span class="pl-en">main</span>(<span class="pl-k">void</span>) {
    <span class="pl-k">return</span> test[<span class="pl-c1">0</span>].<span class="pl-smi">el1</span>; <span class="pl-c">// <- here</span>
}</pre></div>

<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/pull/505#issuecomment-163013609">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ2W3ApHbOY76S9WXlfHBp_KsDe1Lks5pNzmsgaJpZM4EsdtV.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/505#issuecomment-163013609"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>