Skip to content

Commit 2dfa9c0

Browse files
committed
fixes #91
1 parent a223f2f commit 2dfa9c0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/editor/Editor.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,11 @@ define(function (require, exports, module) {
365365

366366
// Editor supplies some standard keyboard behavior extensions of its own
367367
var codeMirrorKeyMap = {
368+
// calls to triggerKeyboardShortcut are here to stop codemirror stealing shortcuts
369+
// note: order of shift and ctrl must be reversed
368370
"Ctrl-D": function () { window.triggerKeyboardShortcut("Ctrl-D"); },
371+
"Shift-Ctrl-Up": function () { window.triggerKeyboardShortcut("Ctrl-Shift-Up"); },
372+
"Shift-Ctrl-Down": function () { window.triggerKeyboardShortcut("Ctrl-Shift-Down"); },
369373

370374
"Tab": function () { self._handleTabKey(); },
371375
"Shift-Tab": "indentLess",

0 commit comments

Comments
 (0)