From: amwaterhouse Date: Thu, 7 Jul 2005 10:15:20 +0000 (+0000) Subject: press del to cut X-Git-Tag: Release_2_01~19 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=3402d066dbd7667cd805e6d78ac5eca66e237c72;p=jalview.git press del to cut --- 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; } + } }); }