We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2f5650 commit b4b39e9Copy full SHA for b4b39e9
lib/codemirror.js
@@ -300,7 +300,7 @@ var CodeMirror = (function() {
300
// (and later restore it again), shouldn't be used for
301
// non-movement keys.
302
curKeyId = (mod ? "c" : "") + code;
303
- if (sel.inverted && movementKeys.hasOwnProperty(id)) {
+ if (sel.inverted && movementKeys.hasOwnProperty(curKeyId)) {
304
var range = selRange(input);
305
if (range) {
306
reducedSelection = {anchor: range.start};
0 commit comments