aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CMTextView.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-04-08 16:42:26 +0000
committerBibiko <bibiko@eva.mpg.de>2009-04-08 16:42:26 +0000
commit0d1cb713dd4ad473db2b3a2940e78cbfe134fead (patch)
treedfa8013ccf6c2ce2615729b5f21a4bb0004e288b /Source/CMTextView.m
parentec9cf82d7bed2b015d6d61b83be032f01c16e05a (diff)
downloadsequelpro-0d1cb713dd4ad473db2b3a2940e78cbfe134fead.tar.gz
sequelpro-0d1cb713dd4ad473db2b3a2940e78cbfe134fead.tar.bz2
sequelpro-0d1cb713dd4ad473db2b3a2940e78cbfe134fead.zip
• simplified paste: (esp. for undo)
• syntax highlighting updated
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:@""];
}