• 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: NSTextViews with images (solution)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextViews with images (solution)


  • Subject: Re: NSTextViews with images (solution)
  • From: Jan Van Boghout <email@hidden>
  • Date: Sat, 17 Aug 2002 18:35:23 +0200

For anyone who's interested, if you want to get the contents of one
text view and transfer them to another one, it takes only one line of
code (it doesn't have problems with images and styles either):

[[SecondTextView textStorage] setAttributedString:[FirstTextView
textStorage]];

Jan VB
_______________________________________________
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.

References: 
 >NSTextViews with images (From: Jan Van Boghout <email@hidden>)

  • Prev by Date: NSTextViews with images
  • Next by Date: Re: best way to refuse events?
  • Previous by thread: NSTextViews with images
  • Next by thread: Re: NSTextViews with images
  • Index(es):
    • Date
    • Thread