Re: Using -scrollRectToVisible: in NSTextView
Re: Using -scrollRectToVisible: in NSTextView
- Subject: Re: Using -scrollRectToVisible: in NSTextView
- From: Douglas Davidson <email@hidden>
- Date: Tue, 6 Jul 2004 09:19:19 -0700
On Jul 6, 2004, at 8:12 AM, Jeremy Dronfield wrote:
Are there any known issues with sending -scrollRectToVisible to
NSTextView (or subclasses)?
I'm trying to get my text view to remember the visible rect for the
last text file viewed, so that it can scroll back to that place when
the same file is next loaded. I'm doing this:
I think you would probably be better off using scrollRangeToVisible:
instead; otherwise you might need to manually force layout before
scrolling.
Douglas Davidson
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.