[Webkit-unassigned] [Bug 25298] Ctrl + Right/Left arrow move forward/backward through document instead of right/left in RTL text

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 17 13:31:48 PST 2012


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





--- Comment #59 from Xiaomei Ji <xji at chromium.org>  2012-01-17 13:31:48 PST ---
(In reply to comment #58)
> Xiaomei Ji,
> 
> While ctrl-shift-arrow might be supposed to be a logical operation, it currently performs as a visual operation. That is, ctrl-shift-right jumps (and marks) a whole word to the right and ctrl-shift-left jumps (and marks) a whole word to the left, irrespective of language choice (LTR or RTL). This is exactly what ctrl-right and ctrl-left should do (just without marking the text). As you fixed shift-arrow, causing this behavior of ctrl-shift-arrow, I imagine you are most familiar with the relevant code, so as to give ctrl-arrow this required behavior. Please help!

if you type in a bi-directional text, you will see that ctrl-shift-arrow is selecting word in logical order.
For example, logical text "abc def HIJ OPQ uvw xyz", visual display is "abc def JIH  QPO uvw xyz|" (capital letter represents Hebrew character).
if you continuously press ctrl-shift-left-arrow, the selected words will be
"xyz", "uvw xyz", "JIH uvw xyz", "JIH QPO uvw xyz"....
this is a selection in logical order.

And yes you are right that we are fixing the ctrl-arrow to be in visual order.
It is currently enabled in Chromium dev.
You can refer http://code.google.com/p/chromium/issues/detail?id=10741#c46 for detail.

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