Disabling NSRuler influences in a NSTextView?
Disabling NSRuler influences in a NSTextView?
- Subject: Disabling NSRuler influences in a NSTextView?
- From: Pierre-Olivier Latour <email@hidden>
- Date: Fri, 26 Jul 2002 15:21:52 +0200
Hi,
Using some source code in the list archives, I was able to disable wrapping
in my NSTextView. However, this does not works for tabs.
I found by displaying the ruler that markers were defined only for the first
inches, so if there's a "tab" character in the line farther than this point,
it will wrap the line to the first marker on the next line.
How can I disable this behavior?
Is there any way to define default "virtual markers" in the NSRuler i.e.
like in all text editors where you have invisible tab markers evenly spaced
in the ruler on a infinite distance?
More concretely, how do they make the tabs work correctly with non-wrapping
lines in Project Builder for example?
Thanks for any help!
_____________________________________________________________
Pierre-Olivier Latour email@hidden
Lausanne, Switzerland
http://www.pol-online.net
_______________________________________________
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.