• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Text wrap in NSTextView-> how to get wrapped NSString
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Text wrap in NSTextView-> how to get wrapped NSString (From: malcom <email@hidden>)
 >Re: Text wrap in NSTextView-> how to get wrapped NSString (From: glenn andreas <email@hidden>)
 >Re: Text wrap in NSTextView-> how to get wrapped NSString (From: malcom <email@hidden>)

  • Prev by Date: Re: Text wrap in NSTextView-> how to get wrapped NSString
  • Next by Date: Text wrap in NSTextView-> how to get wrapped NSString
  • Previous by thread: Re: Text wrap in NSTextView-> how to get wrapped NSString
  • Next by thread: Text wrap in NSTextView-> how to get wrapped NSString
  • Index(es):
    • Date
    • Thread