<blockquote>
<p>Okay, get it.<br>
Maybe in the end it'd require a special case to allow results for namespaces to span multiple files or something. But ok, we can leave it like this for now and keep further improvements for later too :)</p>
</blockquote>

<p>Yeah, the special case will have to start in tm_workspace_find_scope_members() already so we skip the "search in circles" which would start by a single file and we might get results just from it. And there should be some optimization because in theory it might require going through all tags. But I think it's doable. </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/pull/862#issuecomment-171459667">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ-P5-sGs6qGyK3Tv-g7wOaYMcfiGks5pZslLgaJpZM4HB6zU.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/862#issuecomment-171459667"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>