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

Function LintState

static/editor.md/lib/codemirror/addon/lint/lint.js:58–64  ·  view source on GitHub ↗
(cm, options, hasGutter)

Source from the content-addressed store, hash-verified

56 }
57
58 function LintState(cm, options, hasGutter) {
59 this.marked = [];
60 this.options = options;
61 this.timeout = null;
62 this.hasGutter = hasGutter;
63 this.onMouseOver = function(e) { onMouseOver(cm, e); };
64 }
65
66 function parseOptions(cm, options) {
67 if (options instanceof Function) return {getAnnotations: options};

Callers

nothing calls this directly

Calls 1

onMouseOverFunction · 0.85

Tested by

no test coverage detected