Re: [newbie] Font attributes in NSTextView
Re: [newbie] Font attributes in NSTextView
- Subject: Re: [newbie] Font attributes in NSTextView
- From: Douglas Davidson <email@hidden>
- Date: Mon, 9 Sep 2002 17:08:20 -0700
On Monday, September 9, 2002, at 03:32 PM, Jens Baumeister wrote:
I have an NSTextView that'M addming lines to. I want some of these
lines to be bold (and perhaps in italics) and others to be plain text.
I've found out how to use NSAttributedString, but I cannot add an
attributed string to a text view.
Use the text storage. It is a mutable attributed string, and can be
modified as such. See the text system conceptual documentation for
more on NSTextView and NSTextStorage.
Douglas Davidson
_______________________________________________
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.