ChangeCount for Multiple Undo Managers

2009-12-30 Thread Gordon Apple
When in the course of undo events, it becomes necessary to introduce multiple undo managers, certain issues arise. For example: How to handle the document change count? I currently have at least a half dozen independent undo managers for my document, which I keep in a bank near the document

Re: ChangeCount for Multiple Undo Managers

2009-12-30 Thread Mike Abdullah
On 30 Dec 2009, at 18:19, Gordon Apple wrote: When in the course of undo events, it becomes necessary to introduce multiple undo managers, certain issues arise. For example: How to handle the document change count? I currently have at least a half dozen independent undo managers for my

Re: ChangeCount for Multiple Undo Managers

2009-12-30 Thread Gordon Apple
Ah! That's what I missed. Thanks. I assume that just tests the zero state of changeCount. Maybe I can override that to return YES if any count is non-zero. This is a fairly complex document, involving a data hierarchy and various contexts (and editable windows) within that hierarchy. Some of