I've bound the 'Attributed String' of an NSTextView. This view a detail view; its text changes whenever the user changes the selection in an associated table. Upon changing, the text scrolls to the bottom. I want it to stay at the top.
I understand that I can scroll back to the top by sending -scrollPoint:, -scrollRectToVisible:, or -scrollRangeToVisible:, but where would I do this? Invoking -performSelector:withObject:afterDelay: at then end of the getter would probably work, but it seems like such a simple programming requirement should not require such a kludge. Bindings are supposed to make my life easier! Is there some kind of 'don't scroll' or 'stay scrolled to top' attribute I'm missing? Thanks, Jerry Krinock _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com