unbork marks in linter report
CodeMirror 5.58+ uses an additional class name for common stuff
This commit is contained in:
parent
5e5fecbcfe
commit
4ac92a4f9b
|
@ -142,7 +142,7 @@ Object.assign(linter, (() => {
|
||||||
anno = _anno;
|
anno = _anno;
|
||||||
trElement.className = anno.severity;
|
trElement.className = anno.severity;
|
||||||
severity.dataset.rule = anno.rule;
|
severity.dataset.rule = anno.rule;
|
||||||
severityIcon.className = `CodeMirror-lint-marker-${anno.severity}`;
|
severityIcon.className = `CodeMirror-lint-marker CodeMirror-lint-marker-${anno.severity}`;
|
||||||
severityIcon.textContent = anno.severity;
|
severityIcon.textContent = anno.severity;
|
||||||
line.textContent = anno.from.line + 1;
|
line.textContent = anno.from.line + 1;
|
||||||
col.textContent = anno.from.ch + 1;
|
col.textContent = anno.from.ch + 1;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user