[webkit-qt] Fwd: Re: Question about QWebPage::inputMethodQuery(Qt::ImCursorPosition)

rajiv.ramanasankaran at nokia.com rajiv.ramanasankaran at nokia.com
Fri May 7 14:31:13 PDT 2010


Thanks! 

I will create a bug entry for both CursorPosition and AnchorPosition and post a patch for review.

--Rajiv

-----Original Message-----
From: webkit-qt-bounces at lists.webkit.org [mailto:webkit-qt-bounces at lists.webkit.org] On Behalf Of ext Robert Hogan
Sent: Friday, May 07, 2010 12:15 PM
To: webkit-qt at lists.webkit.org
Subject: [webkit-qt] Fwd: Re: Question about QWebPage::inputMethodQuery(Qt::ImCursorPosition)


On Wednesday 05 May 2010 22:43:23 rajiv.ramanasankaran at nokia.com wrote:
> 
> Not sure if this is a bug or my understanding is incorrect but it seems
>  different from how this works in a QLineEdit. I was thinking instead of
>  returning
> 
> renderTextControl->selectionEnd()
> 
> it should return something like:
> 
> frame->selection()->extent().offsetInContainerNode()
> 
> since the extent offset always has the current cursor position inside an
>  input field.

I think you're right that this needs to be fixed, but AnchorPosition should 
be fixed for the same scenario at the same time. 

_______________________________________________
webkit-qt mailing list
webkit-qt at lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt


More information about the webkit-qt mailing list