Shift also for group editing
authoramwaterhouse <Andrew Waterhouse>
Wed, 5 Apr 2006 11:40:16 +0000 (11:40 +0000)
committeramwaterhouse <Andrew Waterhouse>
Wed, 5 Apr 2006 11:40:16 +0000 (11:40 +0000)
src/jalview/gui/AlignmentPanel.java

index dfa757e..00f27aa 100755 (executable)
@@ -156,14 +156,14 @@ public class AlignmentPanel extends GAlignmentPanel
           case KeyEvent.VK_SPACE:\r
             if(av.cursorMode)\r
             {\r
-              seqPanel.insertGapAtCursor(evt.isControlDown());\r
+              seqPanel.insertGapAtCursor(evt.isControlDown() || evt.isShiftDown());\r
             }\r
             break;\r
 \r
           case KeyEvent.VK_DELETE:\r
             if(av.cursorMode)\r
             {\r
-              seqPanel.deleteGapAtCursor(evt.isControlDown());\r
+              seqPanel.deleteGapAtCursor(evt.isControlDown() || evt.isShiftDown());\r
             }\r
             break;\r
 \r