Files
haiku-beta6/src
Michael Lotz aa22e8db2e Changed the score calculation for type ahead in the Tracker. Previously if there
was at least one character matching at the start of any file it would have
gotten a score >= 1. This rendered the substring matching completely useless
as soon as this happened, because it would always get a score < 1 depending on
the position of the occurance. Now substring matching is the first (and without
word mode, the only) score to get. Since the score depends on the position of
the match, this doesn't change anything for exact matches at the beginning, but
it does allow for substring matches even if there is a file starting with the
same letter as the search string. Also use strcasestr() instead of strstr() to
make the search case insensitive.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28233 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-18 20:12:09 +00:00
..
2008-10-17 08:08:20 +00:00
2008-10-17 08:08:20 +00:00
2008-10-13 20:19:11 +00:00
2008-10-14 21:27:42 +00:00
2008-10-17 08:08:20 +00:00
2008-10-18 13:53:03 +00:00
2008-10-17 15:46:45 +00:00