[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Search methods added to the WebView control


Am 08.04.25 um 22:12 schrieb Benoît Minisini:
Hi,
In the last commit, I added three methods for searching text in the contents of a WebView (in GTK+3, QT5 and QT6 webview components). 'Find(<string>, <options>)' starts a new search and highlights all the found strings. It returns the number of matches. The only option supported in common by Qt and WebKitGTK+ is case sensitivity. WebKitGTK+ have others, but not Qt. What a pity!
'FindNext()' and 'FindPrevious()' will then search forward or backward.
If you want to end the search and hide the highlighting, just call 'Find()' with no arguments. Enjoy!

These new Find methods will clearly be an enormous simplification for Gambassers - many thanks for that.

Best Regards, Claus


Follow-Ups:
Re: Search methods added to the WebView controlClaus Dietrich <claus.dietrich@xxxxxxxxxx>
References:
Search methods added to the WebView controlBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>