diff options
author | Bibiko <bibiko@eva.mpg.de> | 2009-08-14 12:52:23 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2009-08-14 12:52:23 +0000 |
commit | db7399d810986569ba54ff5c83ea9c066112a33d (patch) | |
tree | a1a2d158906d6ab5821473279c2ff1c2a8cdcdae /Source/SPEditSheetTextView.m | |
parent | 1fdf6898c1750fc0af72d9919cf370855f6a5bf2 (diff) | |
download | sequelpro-db7399d810986569ba54ff5c83ea9c066112a33d.tar.gz sequelpro-db7399d810986569ba54ff5c83ea9c066112a33d.tar.bz2 sequelpro-db7399d810986569ba54ff5c83ea9c066112a33d.zip |
• minor changes to SPTooltip
• some work on the SPFieldEditor's undo manager (has to be continued)
Diffstat (limited to 'Source/SPEditSheetTextView.m')
-rw-r--r-- | Source/SPEditSheetTextView.m | 12 |
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 */ |