arduino / arduino/Arduino

bug: text cursor shown at wrong position when typed two-space-width Traditional Chinese Unicode Charactor in comment

Open
#9,858 3 comments 0 reactions 0 assignees View on GitHub
Component: IDE Type: Bug
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)

![image](https://user-images.githubusercontent.com/16262888/76267054-78db0680-62a4-11ea-9e5a-59f5c29c1d03.png)

Contributor guide

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.