atom / fuzzaldrin

Fuzzy filtering and string scoring
MIT License
319 stars 28 forks source link

add match() to return the actual scored characters #9

Closed philschatz closed 10 years ago

philschatz commented 10 years ago

match(string, query) returns a list of strings showing the matched characters of the form [unmatched1, matched1, unmatched2, matched2, ..., unmatchedN] and is used to highlight matches in the fuzzy-finder.

This is related to https://github.com/atom/fuzzy-finder/pull/39

Screenshot: image

Animated: fuzzy-highlights

hkdobrev commented 10 years ago

:sparkles: :+1: :sparkles:

philschatz commented 10 years ago

Not at all; updated!

kevinsawicki commented 10 years ago

Thanks for this

kevinsawicki commented 10 years ago

I published this as 1.2.0, thanks again