aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CMTextView.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CMTextView.m')
-rw-r--r--Source/CMTextView.m4
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/CMTextView.m b/Source/CMTextView.m
index f1af835e..2a523de9 100644
--- a/Source/CMTextView.m
+++ b/Source/CMTextView.m
@@ -534,10 +534,8 @@ YY_BUFFER_STATE yy_scan_string (const char *);
*/
- (void)paste:(id)sender
{
- // Insert the content of the pasteboard
- NSPasteboard *pb = [NSPasteboard generalPasteboard];
- [self insertText:[pb stringForType:NSStringPboardType]];
+ [super paste:sender];
// Invoke the auto-uppercasing of SQL keywords via an additional trigger
[self insertText:@""];
}