<p>I’ve been using Geany with patches whereby <a href="https://developer.gnome.org/gtk3/stable/GtkTreeView.html#gtk-tree-view-set-search-equal-func">typeahead search</a> in the symbols list and in <a href="http://plugins.geany.org/treebrowser.html">TreeBrowser</a> uses <a href="https://developer.gnome.org/glib/stable/glib-String-Utility-Functions.html#g-str-match-string"><code>g_str_match_string</code></a> instead of simply matching by prefix.</p>
<p>Now, when I type “ba”, it finds not just <code>bar</code> but also <code>foo_bar</code> and <code>foo-bar</code>, etc. (not <code>FooBar</code> though).</p>
<p>It’s convenient.</p>
<p>The change itself is simple (all the heavy lifting is in GTK+/GLib), but I’m pretty sure this behavior cannot be made the default, as it might cause too many false positives, and would break habits.</p>
<p>What do you think of having such a feature as an option?</p>
<p>If suitable, what do you think its granularity should be? Should it be a checkbox for every tree view where it makes sense, like “Use fuzzy search in symbols list”, “Use fuzzy search in documents list” and so on?</p>
<p>(Also, I’m not sure it should be just <a href="https://developer.gnome.org/glib/stable/glib-String-Utility-Functions.html#g-str-match-string"><code>g_str_match_string</code></a>. Maybe typing “ba” should find <code>FooBar</code> as well. Maybe typing “fb” should find <code>foo_bar</code>, like in <a href="http://plugins.geany.org/commander.html">Commander</a>.)</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/issues/1466">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ90ulH8CgIWUaYlf2QsqvP88Ugrgks5rwK5VgaJpZM4M-U95">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ5yEAkSiih4us6I7im4l4CvNBy9Jks5rwK5VgaJpZM4M-U95.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/1466"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue 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":"DESCRIPTION","message":"Fuzzy typeahead search in sidebar (#1466)"}],"action":{"name":"View Issue","url":"https://github.com/geany/geany/issues/1466"}}}</script>