simplify code
This commit is contained in:
parent
7966ce5bd3
commit
ae2c53c2f0
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user