Re: Enter Key Behavior in NSTableView

2009-06-18 Thread Chris Tracewell
raleigh, I am not overriding textShouldEndEditing, but your suggestion did lead me to find that my File's Owner's superclass is implementing: -(BOOL)control:(NSControl*)control textView:(NSTextView*)textView doCommandBySelector:(SEL)commandSelector In there I had an if statement that was

Re: Enter Key Behavior in NSTableView

2009-06-18 Thread Raleigh Ledet
I don't think this is normal. When a field editor is up, the Return should go to the Field Editor's keyDown: method, not TV. (for both cases) Is your File's Owner overriding textShouldEndEditing:? and preventing the Field Editor from ending? -raleigh On Jun 17, 2009, at 4:03 PM, Chris Tr

Enter Key Behavior in NSTableView

2009-06-17 Thread Chris Tracewell
I have a subclass of NSTableView which I have implemented keyDown to pick up delete and enter key presses. When the TV is bound to an array controller it works perfectly, I can detect keyDowns for the above mentioned and as a bonus when the user presses "Enter" or "Return" the field editor