diff options
author | Szabolcs David <davidsz@inf.u-szeged.hu> | 2016-06-08 05:32:10 -0700 |
---|---|---|
committer | Szabolcs David <davidsz@inf.u-szeged.hu> | 2016-06-09 07:17:43 +0000 |
commit | 6356a60be7067447f4a1b2ebd68d641addcea7a6 (patch) | |
tree | 0f1e33ec77946c44158d5331f2c63ab17b23ecab /src/webenginewidgets/doc/src/qwebenginepage_lgpl.qdoc | |
parent | a387064650a749e3767574fa82d0ae4117785879 (diff) |
Fix documentation of findText()
The findText method only highlights the text and doesn't update
the selection.
Change-Id: I4b320524535d8fa3b9a8374ad50082f3baaa3ffd
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Diffstat (limited to 'src/webenginewidgets/doc/src/qwebenginepage_lgpl.qdoc')
-rw-r--r-- | src/webenginewidgets/doc/src/qwebenginepage_lgpl.qdoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/webenginewidgets/doc/src/qwebenginepage_lgpl.qdoc b/src/webenginewidgets/doc/src/qwebenginepage_lgpl.qdoc index 00e253170..90d5111c1 100644 --- a/src/webenginewidgets/doc/src/qwebenginepage_lgpl.qdoc +++ b/src/webenginewidgets/doc/src/qwebenginepage_lgpl.qdoc @@ -411,14 +411,14 @@ \fn void QWebEnginePage::findText(const QString &subString, FindFlags options) Finds the specified string, \a subString, in the page, using the given \a options. - To clear the selection, just pass an empty string. + To clear the search highlight, just pass an empty string. */ /*! \fn void QWebEnginePage::findText(const QString &subString, FindFlags options, FunctorOrLambda resultCallback) Finds the specified string, \a subString, in the page, using the given \a options. - To clear the selection, just pass an empty string. + To clear the search highlight, just pass an empty string. The \a resultCallback must take a boolean parameter. It will be called with a value of \c true if the \a subString was found; otherwise the callback value will be \c false. |