Skip navigation.
 
mlNSTextField syle undo manager with NSTextView?
FROM : Chris Miner
DATE : Tue Jan 08 22:29:56 2008

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

Related mailsAuthorDate
mlNSTextField syle undo manager with NSTextView? Chris Miner Jan 8, 22:29
mlCut/Paste and Drag problem with Intel Mac in 10.4.11 Jay Reynolds Freem… Jan 9, 00:24