• 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
NSUndoManager in a multiwindow document
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSUndoManager in a multiwindow document


  • Subject: NSUndoManager in a multiwindow document
  • From: Greg Hulands <email@hidden>
  • Date: Sat, 12 Oct 2002 11:39:44 +1000

Hi,
I have a document based application that has its main view as an "overview" of the documents parts. Each part when clicked opens an editor, that allows the part to be changed. I have the NSUndoManager for the overview window which i access through the editor so that colours, locations of display primitives can be undone redone. The undo's get put into the NSUndoManager, but the menu options in the edit menu are not active as if my editor window cannot handle undo redo actions.

How is the best way to handle the undo redo actions so that my editor window can validate them. Should I just put it in the editor's view to handle the undo redo as it has the first responder or is there a more elegant solution?

Any informations / tips / pointers are greatly appreciated.

TIA,
Greg
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: NSUndoManager in a multiwindow document
      • From: Dustin Voss <email@hidden>
  • Prev by Date: Re: Cocoa Books (was New to Cocoa)
  • Next by Date: Re: Seattle??? [was Re: Toronto cocoa programmers?]
  • Previous by thread: Re: NSView drawRect: QuickDraw, CoreGraphics, OpenGL ? DP.1
  • Next by thread: Re: NSUndoManager in a multiwindow document
  • Index(es):
    • Date
    • Thread