aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPEditSheetTextView.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPEditSheetTextView.m')
-rw-r--r--Source/SPEditSheetTextView.m12
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/SPEditSheetTextView.m b/Source/SPEditSheetTextView.m
index bcde1167..0ca61dcd 100644
--- a/Source/SPEditSheetTextView.m
+++ b/Source/SPEditSheetTextView.m
@@ -48,6 +48,18 @@
if(!textWasChanged) [[self undoManager] redo];
}
+- (IBAction)paste:(id)sender
+{
+ [[self delegate] setWasCutPaste];
+ [super paste:sender];
+}
+
+- (IBAction)cut:(id)sender
+{
+ [[self delegate] setWasCutPaste];
+ [super cut:sender];
+}
+
/*
* Validate undo and redo menu items
*/