Re: NSTextView : Scroll top when bound-to string changes

2012-01-22 Thread Ken Thomases
On Jan 20, 2012, at 7:33 AM, Jerry Krinock wrote: > 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

Re: NSTextView : Scroll top when bound-to string changes

2012-01-20 Thread Kyle Sluder
On Fri, Jan 20, 2012 at 11:22 AM, Jerry Krinock wrote: > Well, apparently this does not have a simple answer. > > I removed the binding from my text view and instead added an IBOutlet for it, > so I can use setAttributedString:, followed by setScrollPoint:. > > Conclusion: Although it has some bi

Re: NSTextView : Scroll top when bound-to string changes

2012-01-20 Thread Jerry Krinock
Well, apparently this does not have a simple answer. I removed the binding from my text view and instead added an IBOutlet for it, so I can use setAttributedString:, followed by setScrollPoint:. Conclusion: Although it has some bindings available, NSTextView is like NSMenu and NSMenuItem in tha

NSTextView : Scroll top when bound-to string changes

2012-01-20 Thread Jerry Krinock
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 sendin