"too many nested undo groups" -- What does that mean?
"too many nested undo groups" -- What does that mean?
- Subject: "too many nested undo groups" -- What does that mean?
- From: Jerry Krinock <email@hidden>
- Date: Mon, 17 Aug 2009 10:08:18 -0700
I'm getting a reproducible "too many nested undo groups" message logged.
But I don't know what to look for because I don't know what that
means. How many is "too many"? Of what? Is there any way to see the
number?
Here is what I have found by experiment:
Whenever I -beginUndoGrouping, -groupingLevels is incremented.
Whenever I -endUndoGrouping, -groupingLevels is decremented.
If I -endUndoGrouping when -groupingLevels is 0, I get an
exception: -endUndoGrouping invoked with no matching begin.
All this makes sense. Then, by extension, "too many nested undo
groups" implies that -groupingLevels is too high. But by default, -
levelsOfUndo is inifinite.
The "Undo Architecture" document seems to just scratch the surface in
so many places! If someone can answer this I'll happily file a bug.
Thank you,
Jerry Krinock
_______________________________________________
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