More keys for editing
[jalview.git] / src / jalview / gui / AlignmentPanel.java
index a04c5bf..dfa757e 100755 (executable)
@@ -164,8 +164,8 @@ public class AlignmentPanel extends GAlignmentPanel
             if(av.cursorMode)\r
             {\r
               seqPanel.deleteGapAtCursor(evt.isControlDown());\r
-              break;\r
             }\r
+            break;\r
 \r
           case KeyEvent.VK_BACK_SPACE:\r
             if(!av.cursorMode)\r
@@ -175,6 +175,33 @@ public class AlignmentPanel extends GAlignmentPanel
             }\r
             break;\r
 \r
+          case KeyEvent.VK_S:\r
+            if(av.cursorMode)\r
+            {\r
+              seqPanel.setCursorRow();\r
+            }\r
+            break;\r
+          case KeyEvent.VK_C:\r
+            if(av.cursorMode)\r
+            {\r
+              seqPanel.setCursorColumn();\r
+            }\r
+            break;\r
+          case KeyEvent.VK_P:\r
+            if(av.cursorMode)\r
+            {\r
+              seqPanel.setCursorPosition();\r
+            }\r
+            break;\r
+\r
+          case KeyEvent.VK_ENTER:\r
+          case KeyEvent.VK_COMMA:\r
+            if(av.cursorMode)\r
+            {\r
+              seqPanel.setCursorRowAndColumn();\r
+            }\r
+            break;\r
+\r
           case KeyEvent.VK_Q:\r
             if(av.cursorMode)\r
             {\r