Skip to content

Commit 99dbd74

Browse files
committed
Make shift-ctrl-click extend the primary selection
Issue #2478
1 parent 736ec21 commit 99dbd74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/codemirror.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2613,7 +2613,7 @@
26132613
e_preventDefault(e);
26142614

26152615
var ourRange, ourIndex, startSel = doc.sel;
2616-
if (addNew) {
2616+
if (addNew && !e.shiftKey) {
26172617
ourIndex = doc.sel.contains(start);
26182618
if (ourIndex > -1)
26192619
ourRange = doc.sel.ranges[ourIndex];

0 commit comments

Comments
 (0)