Re: NSTextViews with images
Re: NSTextViews with images
- Subject: Re: NSTextViews with images
- From: Roarke Lynch <email@hidden>
- Date: Sun, 18 Aug 2002 02:01:07 -0400
I believe someone just posted a solution to this a little while back
(but I may be wrong).
Try using NSTextView's textContainter and setTextContainer methods. It
should preserve images and styles.
On Saturday, August 17, 2002, at 11:58 AM, Jan Van Boghout wrote:
Hi,
I am looking for a way to get and set the contents of an NSTextView.
What I want to do is grab the contents of a first text view (*with*
images and styled text) and put it in a second text view.
I tried setString and string to get and set the contents, but those
just use the text part without any styles or images.
Anybody know how to do this?
Thanks,
Jan Van Boghout
_______________________________________________
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.
Roarke Lynch
-------------------------------
email@hidden
_______________________________________________
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.