Changed the way hints are processed in js (#53).
authorDaniel Carl <danielcarl@gmx.de>
Sun, 15 Dec 2013 20:33:30 +0000 (21:33 +0100)
committerDaniel Carl <danielcarl@gmx.de>
Wed, 18 Dec 2013 19:50:32 +0000 (20:50 +0100)
commit8009d0c0d4e90d8ddb0c754a81d3694089ca9309
tree529b56097678d3bf6be09077c1982818ec446714
parentaa8b30e83b20b795a837367a07913cb53fb87e3f
Changed the way hints are processed in js (#53).

To allow to enable the new hint modes g;{MODE} it's better to filter the hint
texts without using xPath. So we filter only those items that are actual valid
and don't need to query the whole document for matching items.
On the other side, do we have more control about how the pattern matching is
done, case sensitive, matching word beginnings or fuzzy search or what ever.
src/hints.c
src/hints.js