MCPcopy Create free account
hub / github.com/TruthHun/BookStack / clear

Function clear

static/editor.md/lib/codemirror/addon/edit/matchbrackets.js:86–90  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

84 if (ie_lt8 && cm.state.focused) cm.focus();
85
86 var clear = function() {
87 cm.operation(function() {
88 for (var i = 0; i < marks.length; i++) marks[i].clear();
89 });
90 };
91 if (autoclear) setTimeout(clear, 800);
92 else return clear;
93 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected