Allow alt for group editing
authoramwaterhouse <Andrew Waterhouse>
Tue, 12 Sep 2006 09:20:18 +0000 (09:20 +0000)
committeramwaterhouse <Andrew Waterhouse>
Tue, 12 Sep 2006 09:20:18 +0000 (09:20 +0000)
src/jalview/gui/AlignmentPanel.java

index 811c909..94e2a84 100755 (executable)
@@ -152,7 +152,9 @@ public class AlignmentPanel extends GAlignmentPanel
           case KeyEvent.VK_SPACE:\r
             if(av.cursorMode)\r
             {\r
-              seqPanel.insertGapAtCursor(evt.isControlDown() || evt.isShiftDown());\r
+              seqPanel.insertGapAtCursor(evt.isControlDown()\r
+                                         || evt.isShiftDown()\r
+                                         || evt.isAltDown());\r
             }\r
             break;\r
 \r
@@ -163,7 +165,9 @@ public class AlignmentPanel extends GAlignmentPanel
               alignFrame.cut_actionPerformed(null);\r
             }\r
             else\r
-              seqPanel.deleteGapAtCursor(evt.isControlDown() || evt.isShiftDown());\r
+              seqPanel.deleteGapAtCursor(evt.isControlDown()\r
+                                         || evt.isShiftDown()\r
+                                         || evt.isAltDown());\r
 \r
             break;\r
 \r