Re: Saving/Restoring NSScrollView's position

2011-12-03 Thread James Maxwell
Thanks for the detailed reply, Conrad. I may reconsider my plan of restoring the scroll position. It seemed like a nice function for my app, but maybe not essential. J. On 2011-12-03, at 11:26 AM, Conrad Shultz wrote: > On 12/3/11 10:31 AM, James Maxwell wrote: >> This may have a simple answer,

Re: Saving/Restoring NSScrollView's position

2011-12-03 Thread Conrad Shultz
On 12/3/11 10:31 AM, James Maxwell wrote: > This may have a simple answer, but I can't seem to find it. I want my > document's scroll view to restore the scroll position when opening > from a file. The default behaviour seems to be to set it back to {0, > 0} (i.e., so that my document's view always

Saving/Restoring NSScrollView's position

2011-12-03 Thread James Maxwell
This may have a simple answer, but I can't seem to find it. I want my document's scroll view to restore the scroll position when opening from a file. The default behaviour seems to be to set it back to {0, 0} (i.e., so that my document's view always returns to the upper-left corner). Is there a