<p>Just a thought (I don't think it has anything to do directly with the changes here, but it's related to scope completion): it'd be nice to trigger scope completion back when continuing on typing on a word after a scope element, instead of only when actually <em>typing</em> the scope separator.  E.g the user could cancel the autoc some way, and get back to it without re-typing the separator.</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> first, second;
} 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">f</span><span class="pl-c">/*cursor*/</span>;  <span class="pl-c">// <- here, typing "o" would show "first"</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-170283552">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ3YMalOfknVWAMqB_p-EoBbtRnpfks5pYXJjgaJpZM4EsdtV.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-170283552"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>