-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Closed
Description
Description of the Issue
When in RTL (Right to Left) mode, pressing the left and right keyboard arrow keys in Notepad++ causes the caret to move in the opposite direction. Left moves right, right moves left.
Steps to Reproduce the Issue
- Open a new file in Notepad++.
- Write any text in any language, RTL or otherwise (try "Hello World", "שלום עולם")
- Switch to RTL mode (View->Text Direction RTL)
- Press the arrow keys to move the caret.
- The caret will move in the opposite direction
Expected Behavior
Pressing the left arrow key should move the caret left (as the right arrow key currently does).
Pressing the right arrow key should move the caret right (as the left arrow key currently does).
Other text editors flip the keys correctly, including the default Windows notepad.
The arrows should definitely be flipped in RTL languages, and maybe in LTR languages as well (subject to debate).
Actual Behavior
Pressing the right arrow key moves the caret left.
Pressing the left arrow key moves the caret right.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels