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 9dd0554 commit 89b6711Copy full SHA for 89b6711
lib/codemirror.js
@@ -534,6 +534,7 @@ var CodeMirror = (function() {
534
// to the data in the editing variable, and updates the editor
535
// content or cursor if something changed.
536
function readInput() {
537
+ if (leaveInputAlone) return;
538
var changed = false, text = input.value, sr = selRange(input);
539
if (!sr) return false;
540
var changed = editing.text != text, rs = reducedSelection;
0 commit comments