[webkit-qt] finding word or text under mouse

Dawit A adawit at kde.org
Sun Aug 26 17:10:06 PDT 2012


One solution is to execute the javascript "this.value" on the element
returned by the QWebFrame::hitTestContent. If this is for spell checking,
you might want to checkout what I do in kwebkitpart's WebView. I even do
spell checking for a selection.

On Sun, Aug 26, 2012 at 12:10 AM, Lindsay Mathieson <
lindsay.mathieson at gmail.com> wrote:

> **
>
> When responding to a context menu event for QWebPage/QWebView in a
> editable element is there a way to find out the word under the click
> position?
>
> --
>
> Lindsay
>
> _______________________________________________
> webkit-qt mailing list
> webkit-qt at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo/webkit-qt
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20120826/f9cd4512/attachment.html>


More information about the webkit-qt mailing list