[Webkit-unassigned] [Bug 105618] [EFL][WK2] Fix the position of cursor when handling preedit string

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 25 13:33:22 PST 2012


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





--- Comment #14 from Seokju Kwon <seokju.kwon at gmail.com>  2012-12-25 13:35:30 PST ---
(In reply to comment #12)
> (From update of attachment 180707 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=180707&action=review
> 
> > Source/WebKit2/UIProcess/efl/InputMethodContextEfl.cpp:74
> > +    int cursorPosition = preeditString.length() + preeditPosition;
> 
> Why preeditString.length() + preeditPosition ? I thought preeditPosition was already the cursor position within the preedit string?

It is an offset into preedit string.
We need cursor position for the argument of setCompositon. (not cursor position within preedit string)

-- 
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