Re: Home and end keys and NSTableView, not handled automatically?
Re: Home and end keys and NSTableView, not handled automatically?
- Subject: Re: Home and end keys and NSTableView, not handled automatically?
- From: Allan Odgaard <email@hidden>
- Date: Tue, 14 Sep 2004 12:22:21 +0200
On 14. Sep 2004, at 4:46, Sean McBride wrote:
Firstly, since page up and page down are handled automatically surely
home and end could be too. Is this omission a bug?
The second last paragraph at
<http://developer.apple.com/documentation/Cocoa/Conceptual/
BasicEventHandling/Concepts/KeyEvents.html> mentions: "A case in point
of a superview handling a keyboard-action message initiated by a
subview is the way the NSScrollView object handles page-down commands
[...]"
I *think* the reason why the NSScrollView only handles page up/down is,
that by default these keys only scroll the custom view, they do *not*
move the cursor (a feature which I dislike, and have re-bound my
Defaultkeybidnings.dict. but anyway...), so this _can_ be done by the
scroll view -- but for the other keys, the cursor has to move, so that
is left to the custom view (the table view).
I agree with the other reply that this is most certainly an oversight,
and you should file an enhancement request -- this post was just my
shot at explaining why it seems inconsistent...
--
http://macromates.com/ ::: TextMate, OS X text editor
http://macromates.com/sigpipe/ ::: Personal weblog about
programming
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden