Originally reported on Google Code with ID 2421
What steps will reproduce the problem?
1. Try to use a keyboard command in Firebug that isn't supported by
Firefox, but is supported by (almost) every other OS X app.
2. Wince and use another command or the mouse
Which version of Firebug? (more specific than latest please): Tested on
1.4.3 this time, but noted in every release thus far
Which version of Firefox? 3.5.3
On what operating system? OS X Leopard 10.5.8
More info:
Cocoa text widgets on OS X support many emacs-style navigation commands by
default, like C-b (back a char) and C-k (kill to end of line). OS X also
allows the user to add keyboard commands in
~/Library/KeyBindings/DefaultKeyBinding.dict and mine contains the following:
{
"~f"="moveWordForward:";
"~b"="moveWordBackward:";
"~"="moveToEndOfDocument:";
"~v"="pageUp:";
"~d"="deleteWordForward:";
"~^h"="deleteWordBackward:";
"~\010"="deleteWordBackward:"; /* Meta-backspace */
"~\177"="deleteWordBackward:"; /* Meta-delete */
"^_"="undo:";
}
Firebug (and Firefox, though I'm submitting here because it's only
frustrating (to me) in Firebug) thusly has two issues:
1. It lacks support for some standard OS X keyboard commands
2. It lacks support for standard user-defined keyboard commands (defined in
~/Library/KeyBindings/DefaultKeyBindings.dict).
Re #1: The standard commands Firebug is missing include:
C-p,C-n (previous,next) Next/previous command on Console command line
C-m (like return)
C-y (yank from kill ring) Like paste -- likely hard to implement -- ignorable
Re #2: Firebug should parse ~/Library/KeyBindings/DefaultKeyBindings.dict
for keyboard commands. The pasted bits above are fairly typical contents of
such a file. "~" represents Option or Alt on a Mac keyboard, which is
typically used as Meta in a shell. Important missing commands include:
M-f,M-b (forward/backwards one word)
M-d (forward delete word)
etc. (see paste above)
Again -- this bug might be more appropriate for Firefox, but I'm posting it
here because these commands might only be appropriate for developers and
not all Firefox users. Kindly inform me if this is the wrong venue, and I
apologize.
Reported by kevintcox on 2009-10-24 06:32:12
该提问来源于开源项目:firebug/firebug