[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Search methods added to the WebView control
[Thread Prev] | [Thread Next]
- Subject: Search methods added to the WebView control
- From: Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
- Date: Tue, 8 Apr 2025 22:12:20 +0200
- To: Gambas Mailing List <user@xxxxxxxxxxxxxxxxxxxxxx>
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! -- Benoît Minisini.
Re: Search methods added to the WebView control | Claus Dietrich <claus.dietrich@xxxxxxxxxx> |
Re: Search methods added to the WebView control | BB <adamnt42@xxxxxxxxx> |