• 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: Document not Saving Text View Attachment
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Document not Saving Text View Attachment


  • Subject: Re: Document not Saving Text View Attachment
  • From: Kyle Sluder <email@hidden>
  • Date: Sat, 20 Feb 2010 16:16:57 -0800

On Sat, Feb 20, 2010 at 2:33 PM, Gordon Apple <email@hidden> wrote:
> Like I said in the post, I tried that.  Same result.  Just to make sure it
> had nothing to do with the attachment character, I also tried the following
> and got the same result:

The point I was making is that you are calling
-edited:range:changeInLength:, which is a very good sign that you
aren't completely solid on the (quite convoluted) way in which one
makes programmatic edits in the text system. NSTextStorage, as a
subclass of NSMutableAttributedString, calls
-edited:range:changeInLength: whenever you mutate it with
-insertAttributedString:... and the like. That in turn calls
-processEditing.

--Kyle Sluder
_______________________________________________

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

References: 
 >Re: Document not Saving Text View Attachment (From: Kyle Sluder <email@hidden>)
 >Re: Document not Saving Text View Attachment (From: Gordon Apple <email@hidden>)

  • Prev by Date: Re: Document not Saving Text View Attachment
  • Next by Date: Extract keys, values from 'usrf' Record Type NSAppleEventDescriptor?
  • Previous by thread: Re: Document not Saving Text View Attachment
  • Next by thread: Re: Document not Saving Text View Attachment
  • Index(es):
    • Date
    • Thread