code-google-com / editra

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

"End" key not working properly for UTF-8 text #777

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create document with utf-8 encoding
2. Type some utf-8 (not latin) text, like this Russian example (attached)
3. Try to press "End" key

What is the expected output?
After pressing "End" key cursor must go to the end of the line.

What do you see instead?
Cursor stands near the middle of the line (seems like Editra not recognizing 
utf-8 string length properly like multibyte chars string. It recognize all the 
text length as singlebyte per character. "End" key working properly only for 
latin text)

What version of the product are you using? On what operating system?
Editra v0.7.12 MacOS X Lion 10.7.5

What method of install was your version installed with (Binary/Source)?
binary

Original issue reported on code.google.com by bobros...@gmail.com on 20 Nov 2012 at 7:50

Attachments:

GoogleCodeExporter commented 9 years ago
I see this is a "lucky" issue and will be solved soon :D  

Original comment by bobros...@gmail.com on 20 Nov 2012 at 7:52

GoogleCodeExporter commented 9 years ago
Just found what maybe "End" key is working (I haven't it on my Macbook), but 
"Cmd" + "Right Arrow"  not

Original comment by bobros...@gmail.com on 20 Nov 2012 at 8:13

GoogleCodeExporter commented 9 years ago
Believe 'End' is usually a Fn+SOMEKEY on OSX.

What locale is your macbook setup for? (This can affect key behavior sometimes)

thanks

Original comment by CodyPrec...@gmail.com on 21 Nov 2012 at 6:41

GoogleCodeExporter commented 9 years ago
Issue confirmed as OSX specific related to CMD-Right motion.

Original comment by CodyPrec...@gmail.com on 22 Dec 2012 at 7:14

GoogleCodeExporter commented 9 years ago
Fixed for 0.7.20 release

Original comment by CodyPrec...@gmail.com on 5 Jan 2013 at 9:28