>>>>> "Dov" == Dov Feldstern <[EMAIL PROTECTED]> writes:

Dov> Okay, agreed! :) In order to decide what the right behavior is,
Dov> we should ask these questions on the LyX users' list --- we
Dov> should try to get the opinions of as many people as possible on
Dov> this, and it seems like on the developers' list there just aren't
Dov> too many Bidi users.

The first thing to check is probably whether windows and osx human
interface guidelines have to say something about that.

Also, the current naming situation of our functions is pretty much
broken:

- the key <Right>, for example, is bound to char-forward. This lfun
  does not go forward, but goes to the right (visually) always.

- the lfun char-forward, depending on the rtl context calls
  cursorRight of cursorLeft. Of course, cursorRight is not what it
  seems to be, it goes forward :)

My proposal would be:

- rename char-forward/backward to char-right/left and bind cursor keys
  to that

- implement char-forward/backward that can be useful for scripting (or
  for people who want the other rtl behavior)

- rename LyXText::cursorLeft/Right to cursorBackward/Forward.

JMarc

Reply via email to