How to set a font for a NSTextAttachment was: Setting font in textView not working
How to set a font for a NSTextAttachment was: Setting font in textView not working
- Subject: How to set a font for a NSTextAttachment was: Setting font in textView not working
- From: Christoph Gerdes <email@hidden>
- Date: Mon, 21 Oct 2002 09:36:41 +0200
Apparently if HTML is parsed into an NSTextView table cells become
NSTextAttachments. Why?
AFAIK accessing attributes of attachments is possible through a private
framework only, but shouldn't it also work if the attributes are handed over
when the AttributedString is created like:
NSAttributedString s = NSAttributedString(NSData(somehtmltablestuff), attributes)
Any why is the NSTextView's default font setting ignored?
Tia.
Christoph
_______________________________________________
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.