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

Added support to display thai correctly without messing up cursor #127

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

daphne-jr
Copy link

@daphne-jr daphne-jr commented Apr 27, 2018

Currently the cursor detects each thai symbol as an individual character
messing up the cursor.

Did a quick fix by making cursor to split into 2 parts and 3 parts to
ensure cursor doesn't mess up for long thai character strings.

screen shot 2018-04-27 at 11 10 06 am

The current problem is that Thai characters consists of characters that can add on to other characters like ่ and ุ etc making things like ล becoming ล่ or even สุ่ to form. Currently every individual character is counted as 1 symbol causing the cursor to go haywire. Now users can directly pinpoint the correct individual characters. Hopefully this helps.

Sample Thai String used:
สตริงแบบสุ่มสตริงแบบสุม

Reference for Thai unicode:

http://jrgraphix.net/r/Unicode/0E00-0E7F

@daphne-jr daphne-jr force-pushed the feature-add-support-Thai-characters branch from 65cbc6a to dbecba6 Compare May 3, 2018 08:30
Currently the cursor detects each thai symbol as an individual character
messing up the cursor.

Did a quick fix by making cursor to split into 2 parts and 3 parts to
ensure cursor doesn't mess up for long thai character strings.
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

Successfully merging this pull request may close these issues.

1 participant