Re: Forcing undoManager to start a new group?
Re: Forcing undoManager to start a new group?
- Subject: Re: Forcing undoManager to start a new group?
- From: "Timothy J. Wood" <email@hidden>
- Date: Mon, 12 Dec 2005 08:39:57 -0800
On Dec 11, 2005, at 10:52 PM, Duncan Campbell wrote:
When i save my document (not using any of the NSDocument save
methods - this could be the problem), I wish to "reset" the
undoManager so that any typing registers as a new undo. However, I
do not want to do removeAllActions: since i still want to be able
to undo after save.
It sounds like you are looking for -[NSTextView
breakUndoCoalescing], available on 10.4 and later.
-tim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden