Re: Duh (NSTextView & Word Wrapping)
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.