Re: textStorage readFromURL does not like blanks
Re: textStorage readFromURL does not like blanks
- Subject: Re: textStorage readFromURL does not like blanks
- From: Martin Wierschin <email@hidden>
- Date: Mon, 20 Aug 2007 00:32:46 -0700
NSTextStorage *textStorage = [ textView textStorage ];
NSDictionary *dict;
[ textStorage readFromURL: fu options: nil documentAttributes:
&dict error: outError ]
There seems to be an Apple bug in reading HTML into mutable
attributed strings (eg: NSTextStorage). See:
http://www.cocoabuilder.com/archive/message/cocoa/2007/7/17/186292
You'll probably find that loading the same HTML into an immutable
attributed string will work just fine.
~Martin
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden