• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Home and end keys and NSTableView, not handled automatically?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Home and end keys and NSTableView, not handled automatically?
      • From: "Sean McBride" <email@hidden>
    • Re: Home and end keys and NSTableView, not handled automatically?
      • From: "Sean McBride" <email@hidden>
References: 
 >Home and end keys and NSTableView, not handled automatically? (From: "Sean McBride" <email@hidden>)

  • Prev by Date: [NSString stringWithContentsOfURL:] not working
  • Next by Date: 2 NSTextViews and binding
  • Previous by thread: Re: Home and end keys and NSTableView, not handled automatically?
  • Next by thread: Re: Home and end keys and NSTableView, not handled automatically?
  • Index(es):
    • Date
    • Thread