• 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
"too many nested undo groups" -- What does that mean?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"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


  • Follow-Ups:
    • Re: "too many nested undo groups" -- What does that mean?
      • From: Alastair Houghton <email@hidden>
  • Prev by Date: Re: Notification for launch of root daemon process?
  • Next by Date: Re: [SOLVED, with reservations] Re: Turn off menu highlight in outline view?
  • Previous by thread: [OT] Re: Audio CD Subchannel Info
  • Next by thread: Re: "too many nested undo groups" -- What does that mean?
  • Index(es):
    • Date
    • Thread