    return ([event type] == NSKeyDown &&
               !([event modifierFlags] & NSCommandKeyMask)) ? YES : NO;
  }
-@@ -2969,9 +2987,11 @@ - (id)accessibilityFocusedUIElement {
+@@ -2761,9 +2777,11 @@ - (id)accessibilityFocusedUIElement {
  // Since this implementation doesn't have to wait any IPC calls, this doesn't
  // make any key-typing jank. --hbono 7/23/09
  //

 
 - (NSArray *)validAttributesForMarkedText {
   // This code is just copied from WebKit except renaming variables.
@@ -2980,7 +3000,9 @@ - (NSArray *)validAttributesForMarkedText {
         NSUnderlineStyleAttributeName,
         NSUnderlineColorAttributeName,
         NSMarkedClauseSegmentAttributeName,

   return [self acceptsMouseEventsWhenInactive];
 }
 
@@ -1837,6 +1848,7 @@ - (BOOL)performKeyEquivalent:(NSEvent*)theEvent {
   if (EventIsReservedBySystem(theEvent))
     return NO;
 
