CPResponder -interpretKeyEvents: will only call -insertText: if the Command and Control keys are not being held.

This commit is contained in:
nciagra committed 2010-06-16 22:03:31 -04:00
1 parent bd06b8a867
commit 96fc34c00e
1 file changed
+2 -1
+2 -1
View File
@@ -135,7 +135,8 @@ CPDeleteForwardKeyCode = 46;
[self doCommandBySelector:@selector(insertBackTab:)];
break;
default: [self insertText:[event characters]];
default: if (!([event modifierFlags] & (CPCommandKeyMask | CPControlKeyMask)))
[self insertText:[event characters]];
}
}
}