Question
Feedback Requested: Cursor movement in right to left languages
The TLF Team is looking for feedback on a proposed solution
to
an
issue recently raised on these forums: In right to left text,
using arrow keys and keyboard gestures (shift + arrow key) is
moving the cursor in the opposite direction of the arrow key's
direction. This is happening because TLF treats a right arrow at
forward in reading direction, and a left arrow as backward in
reading direction.
Our proposed solution is as follows: switch the left and right directions for all keyboard gestures entered into a TextFlow that has a right to left direction. We would maintain the exact same behavior we currently have for bidi (including selection), but reverse the direction in which it occurs. This would affect all interaction with the TextFlow regardless of child paragraph/span direction.
Our goal is to mimic the behavior of other right to left text editors and provide an experience that is not surprising to anyone familiar with them. Is this solution sufficient? Any other comments from those familiar with right to left text editors would be greatly appreciated!
Our proposed solution is as follows: switch the left and right directions for all keyboard gestures entered into a TextFlow that has a right to left direction. We would maintain the exact same behavior we currently have for bidi (including selection), but reverse the direction in which it occurs. This would affect all interaction with the TextFlow regardless of child paragraph/span direction.
Our goal is to mimic the behavior of other right to left text editors and provide an experience that is not surprising to anyone familiar with them. Is this solution sufficient? Any other comments from those familiar with right to left text editors would be greatly appreciated!
