-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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 doesn’t work in multibyte text #1594
Comments
For now Ace only supports monospace fonts, but that will change soon. |
Hi, For sample text in a variety of scripts including Amharic, please see: http://www.unicode.org/udhr/assemblies/first_article_all.html Thanks for the quick response. |
There's an old patch on #460 (base issue for this) which I've updated. Seems to be working in my testing with other scripts, please test with Amharic. Here's a live copy (may not stay up forever) https://brionv.com/misc/demo/ace/build/kitchen-sink.html |
Confirmed to work with Amharic, it looks good AFAICT, thanks! I will double check with an expert on Amharic. I also tested other scripts from http://www.unicode.org/udhr/assemblies/first_article_subset.html with which I have varying degrees of familiarity. I presume that right-to-left languages (Arabic, Hebrew) is a separate issue, but there definitely seem to be some issues there. Thai and Lao appear to work well, but with other Indic-style scripts (Tamil, Kannada, Tibetan, Gujarati), there are seem to be problems with deleting from the right. With such scripts the problem seems to be that the base letter is often deleted before dependent vowels are, which seems wrong. I can document those problems with screen shots if that would be helpful. multajn dankojn. |
Hi, Yesterday, 30 April 2014, I've updated the local clone and can confirm that this is still a issue with every Unicode text as soon as a character consists of more then 1 byte. So which language is used doesn't matter, Amharic, Thai, Klingon etc. In my recent project I use Thai text and that has the same issue. I can also confirm that the editor on https://brionv.com/misc/demo/ace/build/kitchen-sink.html, which brion mentioned works with Unicode text consisting of more then 1 byte per character. Curious as I'm I shall look at the code for what is patched to confirm my assumption that the issue is really with Unicode text consisting of more then 1 byte per character. I hope I've helped a bit with my short comment on this issue. Cornelis. |
This issue has not received any attention in 1 year. If you want to keep this issue open, please leave a comment below and auto-close will be canceled. |
Hi,
Does Ace support multibyte Unicode?
It appears to be impossible to navigate through the individual letters of the Amharic word «መብቶች» with the keyboard, and the cursor doesn’t seem to move between the letters.
If you look carefully you will see that the cursor is in the middle of the first letter «መ» in this screenshot. This behavior is unpredictable throughout the word, which makes editing such text essentially impossible.
Is this a known issue?
thanks
The text was updated successfully, but these errors were encountered: