• 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
Re: Forcing undoManager to start a new group?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Forcing undoManager to start a new group? (From: Duncan Campbell <email@hidden>)

  • Prev by Date: Re: socket spy
  • Next by Date: Re: How does the NSArrayController selection get set by a view?
  • Previous by thread: Forcing undoManager to start a new group?
  • Next by thread: Re: what encoding does sprintf() expect?
  • Index(es):
    • Date
    • Thread