Alexandr Batalshikov wrote:
> For now, some unicode symbols is impossible input from keyboard
> (at least, russian letters 'Л', 'О', 'Н' on Windows platform).
> I found some solution of this problem:
> in method ParagraphEditor>>dispatchOnKeyEvent:with:
> replace line:
> keyValue := keyValue ifNil: [keyEvent keyValue].
> with line:
> keyValue := keyValue ifNil: [keyEvent keyCharacter asInteger].
In general it looks like most (all?) senders of keyValue should rather
use keyCharacter.
> I also notice other strange things: method KeyboardEvent>>keyCharacter
> sends up to 14 times for one keyboard pressing.
> Is this normal?
I'm afraid yes, but it would still be interesting to trace who all these
senders are. Key handling in Morphic is a mess, so there should be lots
of room for improvement.
Michael
_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project