From f74afc4ad9c3cd399e986a986e7abbc4383edb43 Mon Sep 17 00:00:00 2001 From: Cristian Maglie Date: Wed, 6 Apr 2016 12:18:45 +0200 Subject: [PATCH] Remove incorrect Ctrl+K / Ctrl+W bindings for a better explanation see @nopdotcom comment here: https://github.com/arduino/Arduino/pull/4743#issuecomment-201447876 --- .../processing/app/syntax/SketchTextAreaDefaultInputMap.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/src/processing/app/syntax/SketchTextAreaDefaultInputMap.java b/app/src/processing/app/syntax/SketchTextAreaDefaultInputMap.java index aff58fb30..126d684a6 100644 --- a/app/src/processing/app/syntax/SketchTextAreaDefaultInputMap.java +++ b/app/src/processing/app/syntax/SketchTextAreaDefaultInputMap.java @@ -72,8 +72,6 @@ public class SketchTextAreaDefaultInputMap extends RSyntaxTextAreaDefaultInputMa put(KeyStroke.getKeyStroke(KeyEvent.VK_B, ctrl), DefaultEditorKit.backwardAction); put(KeyStroke.getKeyStroke(KeyEvent.VK_F, ctrl), DefaultEditorKit.forwardAction); put(KeyStroke.getKeyStroke(KeyEvent.VK_D, ctrl), DefaultEditorKit.deleteNextCharAction); - put(KeyStroke.getKeyStroke(KeyEvent.VK_Y, ctrl), DefaultEditorKit.pasteAction); - put(KeyStroke.getKeyStroke(KeyEvent.VK_W, ctrl), DefaultEditorKit.cutAction); } // VK_DIVIDE is the keypad; should this be added to VK_SLASH as well?