meteor-autocomplete
meteor-autocomplete copied to clipboard
Highlight matched substrings

Inserting a <span class="matched"> around matched substrings should do.
I think it should be the responsibility of the template to do this. It can grab the matched string with {{../getFilter}} and render as necessary. Creating and modifying <span> decorators in a generalized way is not the responsibility of our code - in fact, the rendered template may not even have the matched string in it.
Once Blaze supports accessing parent contexts from helpers, this should be a lot easier for people to do.