|
From: Matthew K. H. <mat...@ga...> - 2000-03-12 15:41:04
|
Greetings: I said: > > P.S. The second issue is that the key bindings (as currently >> implemented in jEdit) do not work properly on the Mac L&F. I'll be >> looking into this issue later, so I don't have any questions now. If >> anyone has any hints or experience with this, you could let me know. Slava said: >Why don't they work? Do they just not appear in the menus, or do they >not work at all? Is it because most jEdit keys are bound do 'Control', >not 'Command' like in most Mac apps? I'm not sure yet. Let me give some background. There are currently two Macintosh L&F's. The first, called "Mac" is available from Sun. It's a first cut at a L&F for the Mac, but it doesn't have it quite right. For example, JMenuBars are attached to windows rather than at the top of the screen. The second, is called "MacOS" and is a hack to "Mac". It replaces JMenuBars with AWT MenuBars and puts them at the top of the screen, as appropriate for the Mac. So, I'll give the symptoms of the key bindings issues in terms of the Mac L&F and the MacOS L&F. MacOS L&F: 1) Menu shortcuts appear appropriately with the command symbol rather than control. 2) However, multiple-keystroke commands do not show both keystrokes, only one is shown. For example, both "Exit" and "Gutter Expanded" show up with Command-X shortcuts. 3) Cmd-X is bound to GutterExpanded rather than exit. 4) When "Exit" is selected from the menu via the mouse, it behaves properly. MacL&F 1) Menu shortcuts appear with multiple keystrokes. For example "Exit" is "C+e C+q". 2) None of the keystroke combinations appear to cause action to happen. For example, typing Crtl-e Ctrl-q doesn't make jEdit quit. 3) Typing "alt-U" makes the "utilities menu pop down. Then, typing an underlined letter activates that menu command. E.g. alt-u x expands the gutter. That's my first look at the symptoms. Later, I'll try to figure out why. Any thoughts? Where should I start? Cheers, Matt -- -- Matthew Kuperus Heun Global Aerospace Corporation +1 (978) 922-7115 (voice & fax) <http://www.gaerospace.com> <mailto:mat...@ga...> |