[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Search methods added to the WebView control
[Thread Prev] | [Thread Next]
- Subject: Re: Search methods added to the WebView control
- From: Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
- Date: Fri, 18 Apr 2025 13:48:28 +0200
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Le 18/04/2025 à 11:58, Claus Dietrich a écrit :
Am 18.04.25 um 00:34 schrieb Benoît Minisini:I am no JS geek and have no clue, what I have to look for (CSS class, HTML Tag ..?). I tried several AI proposals without success so far. Can someone help?It's internal to the browser. I guess it selects the first text found, and I guess you may have different behaviours between QT WebView and WebkitGTK. Maybe running a few javascript will allow you to unselect all selected text?Two more things:1. Using the Find()-method without arguments is supposed to erase all marked hits. This works with the exemption of the first hit, which remains marked in gray color. My current workaround is to reload the HTML page but this takes time and is clearly visible. It would be perfect if the Find() method (without arguments) erases also the first hit.
By typing "unselect text in javascript" in a search engine, I get that first answer:
https://stackoverflow.com/questions/6562727/is-there-a-function-to-deselect-all-text-using-javascript Regards, -- Benoît Minisini.
Re: Search methods added to the WebView control | Claus Dietrich <claus.dietrich@xxxxxxxxxx> |
Search methods added to the WebView control | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
Re: Search methods added to the WebView control | Claus Dietrich <claus.dietrich@xxxxxxxxxx> |
Re: Search methods added to the WebView control | Claus Dietrich <claus.dietrich@xxxxxxxxxx> |
Re: Search methods added to the WebView control | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
Re: Search methods added to the WebView control | Claus Dietrich <claus.dietrich@xxxxxxxxxx> |
Re: Search methods added to the WebView control | Claus Dietrich <claus.dietrich@xxxxxxxxxx> |
Re: Search methods added to the WebView control | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
Re: Search methods added to the WebView control | Claus Dietrich <claus.dietrich@xxxxxxxxxx> |