From: amwaterhouse Date: Tue, 12 Sep 2006 09:20:18 +0000 (+0000) Subject: Allow alt for group editing X-Git-Tag: Release_2_1_1~5 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=33e768e53665784aeccf38a95deff97a1141ce31;p=jalview.git Allow alt for group editing --- diff --git a/src/jalview/gui/AlignmentPanel.java b/src/jalview/gui/AlignmentPanel.java index 811c909..94e2a84 100755 --- a/src/jalview/gui/AlignmentPanel.java +++ b/src/jalview/gui/AlignmentPanel.java @@ -152,7 +152,9 @@ public class AlignmentPanel extends GAlignmentPanel case KeyEvent.VK_SPACE: if(av.cursorMode) { - seqPanel.insertGapAtCursor(evt.isControlDown() || evt.isShiftDown()); + seqPanel.insertGapAtCursor(evt.isControlDown() + || evt.isShiftDown() + || evt.isAltDown()); } break; @@ -163,7 +165,9 @@ public class AlignmentPanel extends GAlignmentPanel alignFrame.cut_actionPerformed(null); } else - seqPanel.deleteGapAtCursor(evt.isControlDown() || evt.isShiftDown()); + seqPanel.deleteGapAtCursor(evt.isControlDown() + || evt.isShiftDown() + || evt.isAltDown()); break;