Re: How to debug over-release of private Cocoa object?
Re: How to debug over-release of private Cocoa object?
- Subject: Re: How to debug over-release of private Cocoa object?
- From: Kyle Sluder <email@hidden>
- Date: Tue, 15 Sep 2009 22:38:52 -0700
On Sep 15, 2009, at 9:59 PM, Graham Cox <email@hidden> wrote:
3. I am re-using the textview for different edits, much like the
field editor. This involves replacing the text storage for a new
edit, by calling -replaceTextStorage on the text view's layout
manager. Then, undo fails because the targeted text storage no
longer exists:
Oh, you just made the text system *very* mad. Somewhere in the soca it
says you must use -[NSTextStorage setTexrStorage:] to do what you
want. You don't want to know the morass of code we have in
OmniOutliner to support moving the text system around, because we
don't want to create NSLayoutManagers for empty rich text cells.
--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