• 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: Duh (NSTextView & Word Wrapping)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Duh (NSTextView & Word Wrapping)


  • Subject: Re: Duh (NSTextView & Word Wrapping)
  • From: "M. Uli Kusterer" <email@hidden>
  • Date: Sun, 28 Dec 2003 15:32:54 +0100

At 16:01 Uhr -0500 27.12.2003, Andy Satori wrote:
Ok, in a fit of stupidity, I'm trying to disable wordwrapping in an NSTextView, and I cannot for the life of me find the documentation on how to do so....

It was awkward to do, last I checked. Basically you mess with one of the associated classes (NSTextStorage or so) and give your document a Ridiculously Wide(tm) rectangle. I think there's code showing how to do this in the http://www.cocoadev.com wiki.

My syntax colored text editor class also does this, so if that's what you need, it might be less work to use that.

Any suggestions (Hari-Kari is out of the question)

Pity... I was just about to suggest that.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Duh (NSTextView & Word Wrapping) (From: Andy Satori <email@hidden>)

  • Prev by Date: Re: How do I know the screensaver is active?
  • Next by Date: Re: NSImageView frames
  • Previous by thread: Re: Duh (NSTextView & Word Wrapping)
  • Next by thread: [NSTabView] finding current view
  • Index(es):
    • Date
    • Thread