From: amwaterhouse Date: Tue, 4 Apr 2006 09:33:58 +0000 (+0000) Subject: More keys for editing X-Git-Tag: Release_2_08~79 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=ad34a24a75ab680fcbdef1376a311fb0e0fcf2cd;p=jalview.git More keys for editing --- diff --git a/src/jalview/gui/AlignmentPanel.java b/src/jalview/gui/AlignmentPanel.java index a04c5bf..dfa757e 100755 --- a/src/jalview/gui/AlignmentPanel.java +++ b/src/jalview/gui/AlignmentPanel.java @@ -164,8 +164,8 @@ public class AlignmentPanel extends GAlignmentPanel if(av.cursorMode) { seqPanel.deleteGapAtCursor(evt.isControlDown()); - break; } + break; case KeyEvent.VK_BACK_SPACE: if(!av.cursorMode) @@ -175,6 +175,33 @@ public class AlignmentPanel extends GAlignmentPanel } break; + case KeyEvent.VK_S: + if(av.cursorMode) + { + seqPanel.setCursorRow(); + } + break; + case KeyEvent.VK_C: + if(av.cursorMode) + { + seqPanel.setCursorColumn(); + } + break; + case KeyEvent.VK_P: + if(av.cursorMode) + { + seqPanel.setCursorPosition(); + } + break; + + case KeyEvent.VK_ENTER: + case KeyEvent.VK_COMMA: + if(av.cursorMode) + { + seqPanel.setCursorRowAndColumn(); + } + break; + case KeyEvent.VK_Q: if(av.cursorMode) {