[Webkit-unassigned] [Bug 49787] QtWebKit does not respond properly to QInputMethodEvents with replacement text in them.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 2 07:21:35 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=49787


yi shen <yi.4.shen at nokia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yi.4.shen at nokia.com




--- Comment #24 from yi shen <yi.4.shen at nokia.com>  2010-12-02 07:21:34 PST ---
For this patch, one thing I am confusing is about the use of the parameter replaceFrom.

void QInputMethodEvent::setCommitString ( const QString & commitString, int replaceFrom = 0, int replaceLength = 0 )

In qt doc, replaceFrom specifies the position at which characters are to be replaced relative from the start of the preedit string.

while in the patch, replaceFrom is the start position relative to the current cursor position.

Any thoughts about it?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list