diff --git a/Source/NSTextView.m b/Source/NSTextView.m index 8bc53044c..659f1ae62 100644 --- a/Source/NSTextView.m +++ b/Source/NSTextView.m @@ -169,11 +169,12 @@ - (void) setAllowsUndo: (BOOL)flag { + _tf.allows_undo = flag; } - (BOOL) allowsUndo { - return NO; + return _tf.allows_undo; } - (void) setDrawsBackground: (BOOL)flag