Re: Question about HTML and TextView/Field
Re: Question about HTML and TextView/Field
- Subject: Re: Question about HTML and TextView/Field
- From: Dan Wood <email@hidden>
- Date: Sun, 07 Jul 2002 16:57:18 -0700
See
http://developer.apple.com/techpubs/macosx/Cocoa/Reference/ApplicationKit/
ObjC_classic/Classes/NSAttributedString.html
... You can initialize an attributed string (and thus an
NSTextView) with HTML, or RTF, or plain text. If you want to
see the HTML "interpreted", just build an attributed string from
the HTML. If you want to edit it as plain text, just initialize
it as plain text.
BTW, you may want to see Scott Anguish's sample code along these
lines at www.stepwise.com.
On Sunday, July 7, 2002, at 02:12 PM, Aidas wrote:
Hello,
I want to make little HTML editor. Is it possible to force
TextField or
TextView use HTMl instead of RTF when saving/opening/editing text?
Maybe there is another way?
Thank you.
_______________________________________________
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.
--
Dan Wood
Karelia Software, LLC
email@hidden
http://www.karelia.com/
Watson for Mac OS X:
http://www.karelia.com/watson/
_______________________________________________
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.