psankar / Find-Many-Strings

A Google Chrome extension to highlight many strings simultaneously in web pages.
https://chrome.google.com/webstore/detail/phabnclfbnmhmoipebjdfhkiacojlcnc
Apache License 2.0
11 stars 3 forks source link

sub string of searched strings are not getting highlighted #2

Open kvijesh opened 13 years ago

kvijesh commented 13 years ago

OS: Windows Vista Chrome: 13.0.782.112 Url: http://blog.vijesh.in/2011/08/true-its-not-his-thing.html

Steps to reproduce

"eryo" - does not get highlighted.

Expected, it should get highlighted.

But try searching "very" it would highlight. I'm guessing its not highlighting by grouping two already highlighted sections.

psankar commented 13 years ago

Confirming the issue. I don't know of the cleanest solution possible atm.

kvijesh commented 13 years ago

Same is the case if I try highlighting an already highlighted section and non-highlighted section.

HelloWorld

search "hello" - will highlight fine search "helloworld" - no change

varunkumar commented 13 years ago

There are serious problems with the jQuery Highlighter plugin. It needs to be re-written if sophisticated features are to be added to this extension.

varunkumar commented 13 years ago

This is what is happening:

PS: Very sleepy now. Some parts of this explanation might not be clear. Ping me on @varunkumar. It can be solved by tweaking the DOM parsing.