Got it …

    [m_clipView scrollToPoint:m_origin];
    [m_scrollView reflectScrolledClipView:m_clipView];


-koko

On Jun 6, 2012, at 9:47 PM, koko wrote:

> On an NSTextView I call -selectAll: and then -insertText:
> 
> This scrolls the view to the end of the text.
> 
> How would I scroll the view to the top of the text?
> 
> -koko
> _______________________________________________
> 
> Cocoa-dev mailing list ([email protected])
> 
> 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/koko%40highrolls.net
> 
> This email sent to [email protected]
> 

_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to