Re: Text wrap in NSTextView-> how to get wrapped NSString
Re: Text wrap in NSTextView-> how to get wrapped NSString
- Subject: Re: Text wrap in NSTextView-> how to get wrapped NSString
- From: glenn andreas <email@hidden>
- Date: Mon, 22 Oct 2007 10:57:59 -0500
On Oct 22, 2007, at 10:49 AM, malcom wrote:
More importantly, why are you trying to "simulate wrapped
NSTextView"? Why can't you use a real wrapped NSTextView?
The problem is I need to take the wrapped string out to NSString. If I
try to use NSTextView string] the returned string is unwrapped
(because the wrapping is only visible at UI level but the string
itself remain unwrapped). Instead I would to have the wrapped string.
Is this possible?
Check out the "TipWrapper" sample code: <http://developer.apple.com/
samplecode/TipWrapper/listing5.html>
Glenn Andreas email@hidden
<http://www.gandreas.com/> wicked fun!
quadrium2 | build, mutate, evolve, animate | images, textures,
fractals, art
_______________________________________________
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