Re: Disabling Display of JPG and PDF Files in NSTextView
Re: Disabling Display of JPG and PDF Files in NSTextView
- Subject: Re: Disabling Display of JPG and PDF Files in NSTextView
- From: Douglas Davidson <email@hidden>
- Date: Thu, 15 Sep 2005 09:41:11 -0700
On Sep 15, 2005, at 3:46 AM, Kirt Cathey wrote:
Awesome! Thanks alot for the help, and the extra 'magic number'
kicker is much appreciated.
This works. Okay, now we have a solution saved to the mailing list
archive.
I think I should be clear about the actual behavior of
NSTextAttachment. The default behavior, if no NSTextAttachmentCell
is explicitly set for the attachment, is that NSTextAttachment will
create a cell as it sees fit based on its understanding of the
contents of the associated file wrapper. Currently this includes
special treatment for images, movies, sounds, animated gifs, and
PDFs. Please file an enhancement request for an option to control
this behavior at the text view level, and we will consider it for
future releases. In the meantime, if you want to all attachments to
be displayed using icons, you should probably apply the same
treatment to all attachments regardless of file type.
Douglas Davidson
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden