NSTextField syle undo manager with NSTextView?
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