Easily adding tab stops to an NSTextView
Easily adding tab stops to an NSTextView
- Subject: Easily adding tab stops to an NSTextView
- From: Michael Dupuis <email@hidden>
- Date: Mon, 28 May 2001 13:56:30 -0400
I recently noticed that my NSTextView only has 12 tab stops by default. This
is too few as the text view will certainly be stretched larger than that.
What is the easiest way to increase the number?
I've looked at the TextEdit sample, but that seems to be overkill. My
NSTextView is limited to 1 font and plain text and doesn't have to worry
about RTF. What I really need to be able to do is to set up the increased
tab stops for a NSTextView, globally, at startup. Can anyone give any
pointers?
Maybe this isn't that simple, I've only just begun delving into the ins and
outs of the text system in Cocoa.
Thanks,
Michael