Re: NSAttributedString drawing and NSText drawing
Re: NSAttributedString drawing and NSText drawing
- Subject: Re: NSAttributedString drawing and NSText drawing
- From: Douglas Davidson <email@hidden>
- Date: Tue, 30 May 2006 09:28:57 -0700
On May 29, 2006, at 10:01 AM, email@hidden wrote:
I can see no other way apart from
using RTF to transfer text between the NSTextView and the attributed
string.
Your main question has already been answered. As for this question,
the way to obtain the text from the text view is via -[NSTextView
textStorage]. This returns an NSTextStorage, which is a direct
subclass of NSMutableAttributedString. See the "Text System
Architecture" document at developer.apple.com for details.
Douglas Davidson
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden