bug: text cursor shown at wrong position when typed two-space-width Traditional Chinese Unicode Charactor in comment
- Dominant language
- Java
- Stars
- 14.6k
- Forks
- 7k
- PR merge metrics
- No merged PRs in 30d
Description
text cursor shown at at wrong position when typed two-space-width Traditional Chinese Unicode Charactor in the comments , the charactor occupied 2 space in width , but the cursor only move 1 space , which result in cursor display at middle of charactor shown , or at wrong position then makes the text editing difficult.
please paste these two charactor to IDE for testing , "測試" (means "test" in Trad. Chinese)

Contributor guide
Research direction
Reproduce the issue in the Arduino IDE 1.x comment editor by typing the Traditional Chinese characters "測試". Then locate the cursor-positioning and text-rendering entry points involved; done means the cursor advances across the full character width and no longer appears inside or beside the character incorrectly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100