mhcrnl / jsyntaxpane

Automatically exported from code.google.com/p/jsyntaxpane
0 stars 0 forks source link

Cannot properly place text cursor with Japanese characters #195

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I was told to post the bug on here instead from JPEXS Issue Tracker.

> What steps will reproduce the problem?
Left mouse click on a line with Japanese and English characters in it in an 
attempt to place the text cursor.

> What is the expected output? What do you see instead? 
Expected: The text cursor will appear in the correct spot on that line.
Actual: The text cursor appears a lot further ahead in that line then expected. 
Most likely at the end if selected past the midpoint in the line.

> What version of the product are you using? On what operating system? Whatever 
is included in JPEXS Free Flash Decompiler
OS: Windows 7

> Please provide any additional information below.
-Only happens on lines containing a mix of Japanese and English characters.
-Other lines in that file containing ONLY Japanese or ONLY English characters 
behave normally.
-I would assume this also happens to Chinese and other foreign Unicode 
characters. (Have not tested)
-Example code for testing: 
trace("おはようございます。日本語です。");

Original issue reported on code.google.com by jason.kh...@gmail.com on 8 Sep 2014 at 6:46