NSTextView re-implementing word wrapping
NSTextView re-implementing word wrapping
- Subject: NSTextView re-implementing word wrapping
- From: Ryan Joseph <email@hidden>
- Date: Mon, 27 Apr 2009 07:24:06 +0700
After reading through the archives I learned how to turn off word
wrapping in NSTextView by calling a few methods in both NSText and
NSTextContainer but calling them in reverse order (reverting the
effect) did not restore word wrapping properly.
In particular I think the problem is setContainerSize. If I set it to
a fixed width, text is wrapped but I would like it to follow the view
bounds like it did originally. Is there a meta-value or something else
I need to give it? Thanks for your ideas.
Regards,
Josef
_______________________________________________
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