[Pharo-project] Issue 3916 in pharo: Can't input some Russian characters at text editors
Status: New Owner: ---- New issue 3916 by Dionisiy...@gmail.com: Can't input some Russian characters at text editors http://code.google.com/p/pharo/issues/detail?id=3916 Can't input some Russian characters at text editors. For example I can't input uppercased russian "Ð" and "Ð". Instead cursor go to left or to begin of line. Same happen with lowercase mode with shift pressed. I test it on Windows7 and XP, Pharo1.2 and 1.1 I debug texteditor code and found strange behavior at TextEditor>>dispatchOn: aKeyboardEvent method aKeyboardEevent in case of "Ð" input interpreted as leftArrow character. But in inspector I see aKeyboardEvent($Ð). I try to set up RussionEnvirenment as Locale current but no success.
Comment #1 on issue 3916 by Dionisiy...@gmail.com: Can't input some Russian characters at text editors http://code.google.com/p/pharo/issues/detail?id=3916 In TextEditor>>dispatchOn: aKeyboardEvent aKeyboardEvent>>keyValue analized for special actions like leftArrow should do. I think proplem that for russian "Ð" input keyboardEvent has keyValue 29 which is really leftRight ascii value. Possible fix attached. I replace analazing keyValue with analazing keyCharacter asciiValue. I make fix on pharo1.2 Attachments: TextEditor-dispatchOn.st 2.3 KB
Comment #2 on issue 3916 by Dionisiy...@gmail.com: Can't input some Russian characters at text editors http://code.google.com/p/pharo/issues/detail?id=3916 I make another fix. Now all buttons pressed analizing works good Attachments: TextEditor-dispatchOn.st 2.3 KB
Updates: Status: FixProposed Labels: Milestone-1.3 Comment #3 on issue 3916 by marcus.d...@gmail.com: Can't input some Russian characters at text editors http://code.google.com/p/pharo/issues/detail?id=3916 (No comment was entered for this change.)
participants (1)
-
pharo@googlecode.com