Re: inspecting undo

2008-07-31 Thread Timothy Wood
On Jul 31, 2008, at 10:03 AM, I. Savant wrote: On Thu, Jul 31, 2008 at 12:52 PM, James Maxwell <[EMAIL PROTECTED]> wrote: AFAIK there's no way to print the whole undo stack, but can I just see the top? There's no public API for directly accessing the stacks (undo and redo), however you c

Re: inspecting undo

2008-07-31 Thread Charles Steinman
--- On Thu, 7/31/08, James Maxwell <[EMAIL PROTECTED]> wrote: > From: James Maxwell <[EMAIL PROTECTED]> > Subject: inspecting undo > To: "Cocoa Dev" > Date: Thursday, July 31, 2008, 9:52 AM > I'm trying to figure out why a particular undo isn't > working and I'm > wondering whether there's any

Re: inspecting undo

2008-07-31 Thread I. Savant
On Thu, Jul 31, 2008 at 12:52 PM, James Maxwell <[EMAIL PROTECTED]> wrote: > AFAIK there's no way to print the whole undo stack, but can I just see the > top? There's no public API for directly accessing the stacks (undo and redo), however you could do the following: 1 - Subclass NSUndoManager