From 3402d066dbd7667cd805e6d78ac5eca66e237c72 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Thu, 7 Jul 2005 10:15:20 +0000 Subject: [PATCH] press del to cut --- src/jalview/appletgui/AlignmentPanel.java | 5 +++++ src/jalview/gui/AlignmentPanel.java | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/src/jalview/appletgui/AlignmentPanel.java b/src/jalview/appletgui/AlignmentPanel.java index 754d698..5e09da7 100755 --- a/src/jalview/appletgui/AlignmentPanel.java +++ b/src/jalview/appletgui/AlignmentPanel.java @@ -141,6 +141,11 @@ public class AlignmentPanel alignFrame.findMenuItem_actionPerformed(null); } break; + case KeyEvent.VK_BACK_SPACE: + case KeyEvent.VK_DELETE: + alignFrame.cut_actionPerformed(null); + break; + } } } diff --git a/src/jalview/gui/AlignmentPanel.java b/src/jalview/gui/AlignmentPanel.java index e312510..d1b9350 100755 --- a/src/jalview/gui/AlignmentPanel.java +++ b/src/jalview/gui/AlignmentPanel.java @@ -125,7 +125,13 @@ public class AlignmentPanel extends GAlignmentPanel alignFrame.moveSelectedSequences(true); break; + + case KeyEvent.VK_BACK_SPACE: + case KeyEvent.VK_DELETE: + alignFrame.cut_actionPerformed(null); + break; } + } }); } -- 1.7.10.2