NSTreeController -setSelectionIndexPaths: calls scrollRowToVisible:
NSTreeController -setSelectionIndexPaths: calls scrollRowToVisible:
- Subject: NSTreeController -setSelectionIndexPaths: calls scrollRowToVisible:
- From: "email@hidden" <email@hidden>
- Date: Sun, 13 Feb 2011 21:33:35 +0000
Calling NStreeController setSelectionIndexPaths: causes the new selection to be scrolled into view.
IIRC, this is not the behaviour exhibited in NSArrayController with setSelectedObjects:
I cannot see any API to influence this (correct me, please, if I have missed it).
At present, as a workaround, I am subclassing NSOutlineView and conditionally shorting out -scrollRowToVisible.
Regards
Jonathan Mitchell
Developer
Mugginsoft LLP
http://www.mugginsoft.com
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden