[Webkit-unassigned] [Bug 65898] DeleteWordForward deletes 2 words

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 28 22:11:18 PDT 2012


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





--- Comment #10 from Ryosuke Niwa <rniwa at webkit.org>  2012-05-28 22:11:17 PST ---
(In reply to comment #9)
> case 1 and 2
> ============
> returns the position text just after the special character ie (b) whose position is 9. So the isAlphanumeric check passes and returns the same position.
> 
> case 3
> ======
> The position returned is 8, i.e position of (_) . So the isAlphanumeric check fails and it continues to find the next position. And it returns the position of 4 which is the start of 2nd word. So it deletes upto that point.
> 
> The "findNextWordFromIndex" method uses the ICU library to determine the position. So I think the ICU library should also returns the correct position when underscore(_) is used.

It would be interesting to know the difference between findWordBoundary used by mac port and findWordBoundary used by other ports.

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