press del to cut
authoramwaterhouse <Andrew Waterhouse>
Thu, 7 Jul 2005 10:15:20 +0000 (10:15 +0000)
committeramwaterhouse <Andrew Waterhouse>
Thu, 7 Jul 2005 10:15:20 +0000 (10:15 +0000)
src/jalview/appletgui/AlignmentPanel.java
src/jalview/gui/AlignmentPanel.java

index 754d698..5e09da7 100755 (executable)
@@ -141,6 +141,11 @@ public class AlignmentPanel
             alignFrame.findMenuItem_actionPerformed(null);\r
           }\r
           break;\r
+        case KeyEvent.VK_BACK_SPACE:\r
+        case KeyEvent.VK_DELETE:\r
+          alignFrame.cut_actionPerformed(null);\r
+          break;\r
+\r
       }\r
     }\r
   }\r
index e312510..d1b9350 100755 (executable)
@@ -125,7 +125,13 @@ public class AlignmentPanel extends GAlignmentPanel
                         alignFrame.moveSelectedSequences(true);\r
 \r
                         break;\r
+\r
+                    case KeyEvent.VK_BACK_SPACE:\r
+                    case KeyEvent.VK_DELETE:\r
+                      alignFrame.cut_actionPerformed(null);\r
+                      break;\r
                     }\r
+\r
                 }\r
             });\r
     }\r