• 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
NSTextField syle undo manager with NSTextView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTextField syle undo manager with NSTextView?


  • Subject: NSTextField syle undo manager with NSTextView?
  • From: Chris Miner <email@hidden>
  • Date: Tue, 8 Jan 2008 22:29:56 +0100

Hi,

I'm implementing undo in a document based app with both text views and text fields. I notice they don't work the same wrt undo. The text field has its own undo manager and after editing ends pushes the results out to the bound value property. The text view does this and tracks changes in the docs undo manager as well. Since I am KVO-ing changes to my model, I don't need/want the text view to record changes in the docs undo manager. I rather like the way its being done with the NSTextField.

Does anyone know how to set up an NSTextView so that it works the same as NSTextField wrt undo/redo?

Cheers,
Chris
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Cut/Paste and Drag problem with Intel Mac in 10.4.11
      • From: Jay Reynolds Freeman <email@hidden>
  • Prev by Date: Re: Non-Contextual Popup Menus using NSPopupButtonCell and attachPopupWithFrame or performClickWithFrame
  • Next by Date: [OT] Global Text replacement
  • Previous by thread: Re: NSTreeController selectedObjects always returns top level object
  • Next by thread: Cut/Paste and Drag problem with Intel Mac in 10.4.11
  • Index(es):
    • Date
    • Thread