break;\r
\r
case KeyEvent.VK_DELETE:\r
+ case KeyEvent.VK_BACK_SPACE:\r
if(viewport.cursorMode)\r
{\r
alignPanel.seqPanel.deleteGapAtCursor(evt.isControlDown());\r
}\r
- break;\r
-\r
- case KeyEvent.VK_BACK_SPACE:\r
- if(!viewport.cursorMode)\r
+ else\r
{\r
cut_actionPerformed();\r
alignPanel.seqPanel.seqCanvas.repaint();\r
break;\r
\r
case KeyEvent.VK_DELETE:\r
- if(av.cursorMode)\r
- {\r
- seqPanel.deleteGapAtCursor(evt.isControlDown() || evt.isShiftDown());\r
- }\r
- break;\r
-\r
case KeyEvent.VK_BACK_SPACE:\r
if(!av.cursorMode)\r
{\r
alignFrame.cut_actionPerformed(null);\r
seqPanel.seqCanvas.repaint();\r
}\r
+ else\r
+ seqPanel.deleteGapAtCursor(evt.isControlDown() || evt.isShiftDown());\r
+\r
break;\r
\r
case KeyEvent.VK_S:\r