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/webengine/doc/src/webengineview.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/webengine/doc/src/webengineview.qdoc')
-rw-r--r-- | src/webengine/doc/src/webengineview.qdoc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/webengine/doc/src/webengineview.qdoc b/src/webengine/doc/src/webengineview.qdoc index a4630484e..0f83d0d23 100644 --- a/src/webengine/doc/src/webengineview.qdoc +++ b/src/webengine/doc/src/webengineview.qdoc @@ -404,7 +404,7 @@ \since QtWebEngine 1.1 Finds the specified string, \a subString, in the page. - To clear the selection, just pass an empty string. + To clear the search highlight, just pass an empty string. */ /*! @@ -412,7 +412,7 @@ \since QtWebEngine 1.1 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. \code findText("Qt", WebEngineView.FindBackward | WebEngineView.FindCaseSensitively); @@ -424,7 +424,7 @@ \since QtWebEngine 1.1 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 true if the \a subString was found; otherwise the callback value |