add a reminder to remove the CodeMirror hack in the future

This commit is contained in:
tophf 2019-09-23 13:56:40 +03:00
parent 96a6985032
commit 34922a0d03

View File

@ -243,6 +243,7 @@
}
// speedup: reuse the old folding marks
// TODO: remove when https://github.com/codemirror/CodeMirror/pull/6010 is shipped in /vendor
const {setGutterMarker} = CodeMirror.prototype;
CodeMirror.prototype.setGutterMarker = function (line, gutterID, value) {
const o = this.state.foldGutter.options;