• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSAttributedString drawing and NSText drawing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSAttributedString drawing and NSText drawing (From: email@hidden)

  • Prev by Date: Re: appending a string to an NSTextView
  • Next by Date: Re: Binding NSPopUpButton with Option "Inserts Null Placeholder"
  • Previous by thread: Re: NSAttributedString drawing and NSText drawing
  • Next by thread: Re: NSAttributedString drawing and NSText drawing
  • Index(es):
    • Date
    • Thread