From 59702137f06be5819f486005ab1036a8824dbe6f Mon Sep 17 00:00:00 2001 From: Bibiko Date: Wed, 2 Feb 2011 00:33:25 +0000 Subject: =?UTF-8?q?=E2=80=A2=20removed=20keyboard=20short-cut=20=3F\008^C?= =?UTF-8?q?=20for=20"Copy=20as=20RTF"=20since=20it's=20not=20a=20frequentl?= =?UTF-8?q?y=20used=20function?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/SPTextView.m | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Source/SPTextView.m b/Source/SPTextView.m index 82bfdedf..7876cbd1 100644 --- a/Source/SPTextView.m +++ b/Source/SPTextView.m @@ -2153,12 +2153,6 @@ NSInteger alphabeticSort(id string1, id string2, void *reverse) } // Note: switch(insertedCharacter) {} does not work instead use charactersIgnoringModifiers - if([charactersIgnMod isEqualToString:@"c"]) // ^C copy as RTF - if(curFlags==(NSControlKeyMask)) - { - [self copyAsRTF]; - return; - } if([charactersIgnMod isEqualToString:@"h"]) // ^H show MySQL Help if(curFlags==(NSControlKeyMask)) { @@ -2986,9 +2980,8 @@ NSInteger alphabeticSort(id string1, id string2, void *reverse) } if ([[[self class] defaultMenu] itemWithTag:SP_CQ_COPY_AS_RTF_MENU_ITEM_TAG] == nil) { - NSMenuItem *copyAsRTFMenuItem = [[NSMenuItem alloc] initWithTitle:NSLocalizedString(@"Copy as RTF", @"Copy as RTF") action:@selector(copyAsRTF) keyEquivalent:@"c"]; + NSMenuItem *copyAsRTFMenuItem = [[NSMenuItem alloc] initWithTitle:NSLocalizedString(@"Copy as RTF", @"Copy as RTF") action:@selector(copyAsRTF) keyEquivalent:@""]; [copyAsRTFMenuItem setTag:SP_CQ_COPY_AS_RTF_MENU_ITEM_TAG]; - [copyAsRTFMenuItem setKeyEquivalentModifierMask:NSControlKeyMask]; [menu insertItem:copyAsRTFMenuItem atIndex:2]; [copyAsRTFMenuItem release]; } -- cgit v1.2.3