You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2013/10/10 11:52:01 UTC

[Bug 121193] Alt+Arrow & Command/Ctrl+Arrow move cursor in the opposite direction, while editing RTL texts

https://issues.apache.org/ooo/show_bug.cgi?id=121193

--- Comment #7 from Tal <ta...@gmail.com> ---
Found out that on Windows cursor moves fine with modifier keys (Alt/Ctrl). 
This issue is only for the Mac, AFAIK.

Initial attempts to fix the code failed:
Tried to change editeng/source/editeng/impedit2.cxx, which seemed to most
promising candidate. changed MoveCursor function to call WordRight() instead of
WordLeft() on KEY_LEFT/KEY_RIGHT, but the final application wasn't affected by
this change.

Possible directions for checking: 

? check that GetLocale function works fine on Mac, since the code works
perfectly on Windows. 

? find a better code location that has an effect on text editing?

? check KeyEvent::LogicalTextDirectionality function (how?)

? May be related to sun's star text library previousWord/nextWord (same on
Mac/Win?)

Any further assistance would be appreciated.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.