Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cursor movement after typing letters or with arrow keys #22

Open
gartha1 opened this issue Jul 27, 2016 · 0 comments
Open

cursor movement after typing letters or with arrow keys #22

gartha1 opened this issue Jul 27, 2016 · 0 comments

Comments

@gartha1
Copy link

gartha1 commented Jul 27, 2016

great job in getting the letters in the right order that was the major thing and your package is a fantastic addition to sublime.

one thing though, is normally with a right to left language, if you type a character, the cursor is meant to move to a position after the letter you typed. In a right to left language that means to the left.

But with your plugin, if I enter a hebrew character then the cursor stays before it, i.e. the cursor stays to the right of it as if it was english. When the next character should actually appear to the left of that character.

I like how the cursor moves with the direction of the arrow keys, so pushing left arrow the cursor moves in that direction e.t.c. And I think that should be maintained as an option, even the default option, But normally with right to left languages, it's worth noting that the left arrow takes on the meaning of go back character by character, and the right arrow takes on the meaning of go forward character by character, so holding left arrow key would move the cursor right and holding right arrow would move cursor left. And we see this in ms word or notepad where if you hold the right arrow key then as we go through text that involves a bunch of hebrew characters followed by a bunch of english characters followed by a bunch of hebrew characters e.t.c. then it moves right through english and when it sees some hebrew it jumps to the start of the block and starts moving left through hebrew. then jumps to the end of that block and starts moving right through the english.

I like how your cursor is so sane.. left arrow always goes left, right arrow always goes right..

But it'd be good to have an option of having the cursor move to the next character, after a character is typed, which in a right to left language means cursor moving to the left of the character just typed, rather than to the right of it. In your one it moves to the right of it(which is left to right language movement). So one has to reposition the cursor after typing each letter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant