CodeMirror.fromTextArea() speedup

This commit is contained in:
tophf 2015-07-30 01:19:32 +03:00
parent 41a3415c79
commit 36ceda276a

View File

@ -318,7 +318,7 @@
}
}
gutters.style.display = i ? "" : "none";
updateGutterSpace(cm);
setTimeout(updateGutterSpace.bind(null, cm), 0);
}
function updateGutterSpace(cm) {