• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Disabling Display of JPG and PDF Files in NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Disabling Display of JPG and PDF Files in NSTextView
      • From: "Kirt Cathey" <email@hidden>
References: 
 >Re: Disabling Display of JPG and PDF Files in NSTextView (From: "Kirt Cathey" <email@hidden>)

  • Prev by Date: Using NSTextViews in custom view
  • Next by Date: Re: cancel editing text in a row
  • Previous by thread: Re: Disabling Display of JPG and PDF Files in NSTextView
  • Next by thread: Re: Disabling Display of JPG and PDF Files in NSTextView
  • Index(es):
    • Date
    • Thread