Angelo Fuchs
Angelo Fuchs

Reputation: 9941

Eclipse Editor consumes AltGr+A even after disabling keyboard shortcut

I use Eclipse and a non-QWERTY keyboard. My @ sign is typed through Alt GR+A. This is on Windows 7.

The Eclipse Editor won't let me type an @ which is bad.

I disabled the key shortcut Alt+A, it still doesn't work.

@ works in other programs and in other windows inside Eclipse (e.G. find, options etc.) but not in Editor.

As this also applies to Alt GR+P (which is my } ) a general solution as to how to figure out what key events get consumed would be nice.

Upvotes: 1

Views: 691

Answers (1)

greg-449
greg-449

Reputation: 111216

The Eclipse editors use the StyledText widget. This ignores some inputs depending on the platform.

On Windows the widget ignores anything with just Alt or Ctrl or Alt+Shift or Ctrl+Shift. The code claims that Alt Gr should look like Ctrl+Alt and would get through.

On Macs Cmd and Cmd+Shift is ignored.

On Linux / Motif Ctrl and Ctrl+Shift is ignored.

There is a very old Eclipse bug 20953 which sounds like this problem, but it supposed to have been fixed long ago by the code I mentioned.

Upvotes: 2

Related Questions