Re: NSTextView : Scroll top when bound-to string changes
Re: NSTextView : Scroll top when bound-to string changes
- Subject: Re: NSTextView : Scroll top when bound-to string changes
- From: Jerry Krinock <email@hidden>
- Date: Fri, 20 Jan 2012 11:22:34 -0800
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 that the bindings and settings available are often insufficient to do what you need in a finished application. In these cases it is better to not use Cocoa bindings.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden