virt2/api/soft/CodeMirror/lib/line/saw_special_spans.js

11 lines
253 B
JavaScript
Raw Permalink Normal View History

// Optimize some code when these features are not used.
export let sawReadOnlySpans = false, sawCollapsedSpans = false
export function seeReadOnlySpans() {
sawReadOnlySpans = true
}
export function seeCollapsedSpans() {
sawCollapsedSpans = true
}