Community
Participate
Working Groups
I20131210-2000 On the Mac, the key bindings Command+_ and Command+{ don't work with a U.S. keyboard layout.
Created attachment 239201 [details] Fix The patch fixes the problem by defining custom key bindings for the Mac (with the same keys as the original bindings tried to use). The problem is that the KeyDown event for Command+Shift+- has field values: character='-'=0x2d keyCode=0x2d stateMask=0x420000 on the Mac. Shift+- produces character='_'=0x5f, but the '_' character is lost when Command is added. This seems to be the normal system behavior on the Mac. The Keyboard Viewer confirms that the Shift key has no effect on the character any more as soon as Command is pressed. The same explanation also holds for Command+Shift+[: character='['=0x5b keyCode=0x5b stateMask=0x420000 , again losing the character for Shift+[, which would be character='{'=0x7b. I don't think we should try to fight the platform behavior here.
Released with a minor mod as http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=77e57f52ebe0b317dd8bd03705ddfb2f684ae6aa Thanks Markus. PW
on 4.4.0.I20140123-1600 on a mac PW