I assign certain functions to Command key shortcuts that don’t exist in a menu. I check for these shortcuts in the window keydown event handler. Works fine in Carbon. But in Cocoa I’ve found that it works differently between controls. Listboxes will pass the unhandled keydown to the window. But TextAreas do not – unhandled keypresses (e.g. Command-L) die there. I work around this by having the window and the textarea both call a “handlekeydown” method that checks to see if the key pressed is actually a shortcut.
Is this intended behavior for Cocoa TextAreas? If not I’ll report in Feedback with a simple example.