• 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: -[NSAttributedString initWithPasteboard:...] vs. Dictionary
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -[NSAttributedString initWithPasteboard:...] vs. Dictionary


  • Subject: Re: -[NSAttributedString initWithPasteboard:...] vs. Dictionary
  • From: Jim Correia <email@hidden>
  • Date: Sun, 29 Jan 2006 14:05:32 -0500

On Jan 29, 2006, at 9:56 AM, Jim Correia wrote:

If the Dictionary application is the source of the pasteboard (WebArchivePBoardType), -[NSAttributedString initWithPasteboard:options:documentAttributes:error:] does not return an error, but does return an attributed string of the form:

This page contains the following errors:
error on line 1 at column 95: Opening and ending tag mismatch: hr line 0 and td
Below is a rendering of the page up to the first error.

It looks like NSAttributedString is innocent here, and that Dictionary put a web archive with those contents on the pasteboard.


I'm not sure why it would do that, but I'll have to work around it...

rdar://4425889

Jim
_______________________________________________
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: -[NSAttributedString initWithPasteboard:...] vs. Dictionary
      • From: Jim Correia <email@hidden>
References: 
 >-[NSAttributedString initWithPasteboard:...] vs. Dictionary (From: Jim Correia <email@hidden>)

  • Prev by Date: SelectText:self
  • Next by Date: Re: Enabling Standard AppleScript Support with Cocoa App
  • Previous by thread: -[NSAttributedString initWithPasteboard:...] vs. Dictionary
  • Next by thread: Re: -[NSAttributedString initWithPasteboard:...] vs. Dictionary
  • Index(es):
    • Date
    • Thread