From: Paul L. <pa...@ac...> - 2004-12-30 23:12:51
|
Hi, I am trying to hunt the MacOSX keyboard mis-behaviours in jEdit and I=20 have to say that things don't appear as easy as I hoped. At least I can observe the following issues which seem really to be a=20 mix of several bugs: - when reading shortcuts, jEdit seem to store the keyChar value instead=20= of keyCode... - when typing composite characters (such pressing, on a US keyboard,=20 ALT-e followed by e), there seems to be no way to restore these=20 characters. Have I missed an issue ? At least for the second, which is my greatest problem, I know that=20 MacOSX seems guilty: the keyTyped events do simply return "e" as=20 keyChar when pressing alt-e followed by e. However, the swing=20 components input... "=E9" (eacute) as expected! To avoid this, it would be easy to use a hidden JTextField or such to=20 which events would be redirected and to read the key-typed from there. But that would only solve point 2. More comments welcome. paul= |