|
From: <cj...@qu...> - 2006-03-07 10:07:16
|
Has anyone had any joy binding alt-<direction> to a shortcut under OS X? I'm trying to rebind my shortcuts so that jEdit's text area behaves like other Mac applications, i.e. so alt-left and alt-right behave like ctrl-left and ctrl-right on non-Mac platforms. When I try to set the binding in the shortcuts options section it completely ignores me. Other key combinations involving alt work fine but insert a special character (e.g. capital Omega) rather than an understandable key combination. I guess this is complicated by the fact that jEdit thinks that the Apple key is ctrl and the ctrl key is alt. But alt-<direction> does nothing. I've tried the keyboard tester using 4.2final and 4.3pre3 and jEdit can definitely see the keystrokes. I'm running the most recent versions of OS X 10.4 and Java 1.5.0. This is the keyboard tester output (which is identical under both jEdit versions). alt-left Event KEY_PRESSED,keyCode=0x12,keyChar=0xffff,modifiers=0x8 filtered Event KEY_PRESSED,keyCode=0x25,keyChar=0xffff,modifiers=0x8 filtered Event KEY_RELEASED,keyCode=0x25,keyChar=0xffff,modifiers=0x8 passed Event KEY_RELEASED,keyCode=0x12,keyChar=0xffff,modifiers=0x0 filtered alt-right Event KEY_PRESSED,keyCode=0x12,keyChar=0xffff,modifiers=0x8 filtered Event KEY_PRESSED,keyCode=0x27,keyChar=0xffff,modifiers=0x8 filtered Event KEY_RELEASED,keyCode=0x27,keyChar=0xffff,modifiers=0x8 passed Event KEY_RELEASED,keyCode=0x12,keyChar=0xffff,modifiers=0x0 filtered Any tips would be gratefully received Chris |