andreikop / enki

A text editor for programmers
http://enki-editor.org
GNU General Public License v2.0
161 stars 38 forks source link

Enki does not handle Unicode ‮right-to-left‬ override character well #74

Closed vi closed 11 years ago

vi commented 11 years ago
  1. Create some file with U+202E RIGHT-TO-LEFT OVERRIDE character in or near the beginning of some line;
  2. Open the file with Enki;
  3. Set cursor to the middle of the line;
  4. Try to insert or delete a character.

In general I don't expect programmer's plain text editor to handle right-to-left overrides; probably just leaving it as a square with "202E" text in it can be OK.

andreikop commented 11 years ago

Yes, something strange happens. I tested this on new editor, and it seems like it supports right-to-left. So, I hope the bug will be closed, when I merged new editor to master.

andreikop commented 11 years ago

In the master now