2007-12-04 Luca Bruno <lethalman88@gmail.com>
[WebKit-https.git] / WebKit / gtk / WebCoreSupport / EditorClientGtk.cpp
index 2f7cddca280fcc367926bc0e15918e537ea6d3ba..44786ebbe55cce1a3483dab6574a8de1cf9f28f8 100644 (file)
@@ -285,24 +285,12 @@ void EditorClient::handleKeypress(KeyboardEvent* event)
                     frame->editor()->insertText(kevent->text(), event);
                 } else if (kevent->ctrlKey()) {
                     switch (kevent->WindowsKeyCode()) {
-                        case VK_A:
-                            frame->editor()->execCommand("SelectAll");
-                            break;
                         case VK_B:
                             frame->editor()->execCommand("ToggleBold");
                             break;
-                        case VK_C:
-                            frame->editor()->execCommand("Copy");
-                            break;
                         case VK_I:
                             frame->editor()->execCommand("ToggleItalic");
                             break;
-                        case VK_V:
-                            frame->editor()->execCommand("Paste");
-                            break;
-                        case VK_X:
-                            frame->editor()->execCommand("Cut");
-                            break;
                         case VK_Y:
                             frame->editor()->execCommand("Redo");
                             break;
@@ -337,18 +325,7 @@ void EditorClient::handleKeypress(KeyboardEvent* event)
                     frame->editor()->execCommand("MoveToEndOfDocument");
                 break;
             default:
-                if (kevent->ctrlKey()) {
-                    switch(kevent->WindowsKeyCode()) {
-                        case VK_A:
-                            frame->editor()->execCommand("SelectAll");
-                            break;
-                        case VK_C: case VK_X:
-                            frame->editor()->execCommand("Copy");
-                            break;
-                        default:
-                            return;
-                    }
-                } else return;
+                return;
         }
     }
     event->setDefaultHandled();