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].

Then save method and that's all.

Cause of the problem: expressoin "keyEvent keyValue" return small number
for
all symbols, unclude unicode and give activation of shortcut events, defined
in methods
  ParagraphEditor class>>initializeCmdKeyShortcuts,
  ParagraphEditor class>>initializeShiftCmdKeyShortcuts.

 I also notice other strange things: method KeyboardEvent>>keyCharacter
sends up to 14 times for one keyboard pressing.
Is this normal?


Regards, Alexander Batalshikov.
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to