simplify code

This commit is contained in:
tophf 2020-10-17 09:24:22 +03:00
parent 7966ce5bd3
commit ae2c53c2f0

View File

@ -557,7 +557,7 @@
const palette = new Map();
let i = 0;
let nums;
cm.doc.eachLine(({markedSpans}) => {
cm.eachLine(({markedSpans}) => {
++i;
if (!markedSpans) return;
for (const {from, marker: m} of markedSpans) {