Style management in NSTextView
Style management in NSTextView
- Subject: Style management in NSTextView
- From: Jean-Denis Muys <email@hidden>
- Date: Fri, 28 May 2004 06:27:50 +0200
- Resent-date: Fri, 28 May 2004 08:58:09 +0200
- Resent-from: Jean-Denis Muys <email@hidden>
- Resent-message-id: <email@hidden>
- Resent-to: email@hidden
Hi,
There are two related, but different things I want to do in an
NSTextView. And I am getting lost in the complexity of the text system.
The first is to programmatically change some text attributes to some
substring in the NSTextView, namely I want to make it bold, change its
size and color.
The second is to append (or insert) an NSMutableAttributedString to the
NSTextView, with all its attribute qualities, But the appendString:
method takes an NSString, and I could not find a similar method which
would take an NSAttributedString.
Any pointer would be helpful.
Thanks,
Jean-Denis
_______________________________________________
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.