Welcome Guest Search | Active Topics | Sign In | Register

Webbrowser search functionality issues Options
PS
Posted: Thursday, April 25, 2019 9:04:03 AM
Rank: Advanced Member
Groups: Member

Joined: 10/24/2018
Posts: 97
I'm implementing search functionality for my webbrowser and I need to show the number of results and a next/previous button that is conditionally enabled depending on whether there are more results. However I see no options available for this in the FindSession object?

Can you make the number of results and either an HasNext/HasPrevious and/or an current index available?

Next to that I also found a bug when searching case insensitive, when I for example search for "ë", then also "e" and "é", etc. get highlighted. I do not expect that. Accents, etc. are not variations of lowercase/uppercase, they're simply different characters.
eo_support
Posted: Friday, April 26, 2019 4:32:11 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,066
Hi,

As to matching "ë" to "e", this is how the Chromium browser engine works. So we are not in a position to change it. If you search for "ë" in Google Chrome you will see "e" being highlighted as well.

As to number of results, the browser engine does have this information but it is not as simple as a single number. Specifically, the search is asynchronous, so immediately after Find has returned, there maybe zero matches. However as the search continues in the background, it may report that it has found 1 match, a little while later it can report that it has found 3 more, etc. So it would require at least a through review and possibility breaking change of our API interface in order to support this. As such we have no plan to support this in the near future.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.