Re: Lion: Lock documents and custom undomanager

2012-02-11 Thread Mike Abdullah
On 11 Feb 2012, at 03:17, Quincey Morris wrote: > On Feb 10, 2012, at 15:03 , Mike Abdullah wrote: > >> My line of thinking: >> >> Each time one of your undo managers is about to close its top-level group, >> register that with the doc's main undo manager. Thus the doc's undo manager >> will

Re: Lion: Lock documents and custom undomanager

2012-02-10 Thread Quincey Morris
On Feb 10, 2012, at 15:03 , Mike Abdullah wrote: > My line of thinking: > > Each time one of your undo managers is about to close its top-level group, > register that with the doc's main undo manager. Thus the doc's undo manager > will see the change while locked, prompt the user to unlock, and

Re: Lion: Lock documents and custom undomanager

2012-02-10 Thread Mike Abdullah
On 7 Feb 2012, at 11:28, Georg Seifert wrote: > Hi, > > I have several undomanagers in my app. (I know that is unusual. Think of it > as if you had a page layout app and every page has its own undo.) > > This all works well except if the document is locked. Then the documents > undomanager kn