Undo Manager
Undo Manager
- Subject: Undo Manager
- From: hac <email@hidden>
- Date: Sat, 21 Apr 2007 12:50:53 -0400
I'm trying to register an undo operation in a text view. At the
moment, my code for this is:
[[textArea undoManager] registerUndoWithTarget:textArea
selector:@selector(setString:)
object:[textArea string]];
This results in it doing nothing, because it checks the text views
contents when undoing instead of when registering the undo. How can I
get it to remember what's in the text field?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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