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

Robert Hogan lists at roberthogan.net
Fri May 7 12:14:59 PDT 2010

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. 

More information about the webkit-qt mailing list