git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2319fc
)
Shift also for group editing
author
amwaterhouse
<Andrew Waterhouse>
Wed, 5 Apr 2006 11:40:16 +0000
(11:40 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Wed, 5 Apr 2006 11:40:16 +0000
(11:40 +0000)
src/jalview/gui/AlignmentPanel.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/AlignmentPanel.java
b/src/jalview/gui/AlignmentPanel.java
index
dfa757e
..
00f27aa
100755
(executable)
--- a/
src/jalview/gui/AlignmentPanel.java
+++ b/
src/jalview/gui/AlignmentPanel.java
@@
-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