On Sat, Feb 20, 2010 at 2:33 PM, Gordon Apple <g...@ed4u.com> 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to