How do I remove all formatting (setUsesRuler:NO does not work) from an NSTextView?
How do I remove all formatting (setUsesRuler:NO does not work) from an NSTextView?
- Subject: How do I remove all formatting (setUsesRuler:NO does not work) from an NSTextView?
- From: Gerben Wierda <email@hidden>
- Date: Fri, 20 Sep 2002 17:25:32 +0200
I have an NSTextView that alternately displays RTF data and ASCII data.
When the RTF data has been displayed, some aspects of it linger, mainly
the ruler. When I display pure ASCII the text displays indented.
I tried:
[__inspectView setRichText:NO];
[__inspectView setUsesRuler:NO];
[__inspectView setFont:__fixedFont];
but to no avail, the ASCII text is displayed indented. What am I missing
here?
Thanks,
G
_______________________________________________
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.