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 doesn’t work in multibyte text #1594

Closed
amundo opened this issue Sep 8, 2013 · 6 comments
Closed

Cursor doesn’t work in multibyte text #1594

amundo opened this issue Sep 8, 2013 · 6 comments

Comments

@amundo
Copy link

amundo commented Sep 8, 2013

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.

cursor_ace_amharic

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

@nightwing
Copy link
Member

For now Ace only supports monospace fonts, but that will change soon.
Could you add some example text in Amharic for testing?

@amundo
Copy link
Author

amundo commented Sep 8, 2013

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.

@bvibber
Copy link

bvibber commented Sep 15, 2013

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

@amundo
Copy link
Author

amundo commented Sep 16, 2013

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.

@techkey
Copy link

techkey commented May 1, 2014

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.

@github-actions
Copy link

github-actions bot commented May 9, 2022

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.

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

No branches or pull requests

4 participants