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

Function MarkedSpan

static/editor.md/lib/codemirror/lib/codemirror.js:6106–6109  ·  view source on GitHub ↗
(marker, from, to)

Source from the content-addressed store, hash-verified

6104 // TEXTMARKER SPANS
6105
6106 function MarkedSpan(marker, from, to) {
6107 this.marker = marker;
6108 this.from = from; this.to = to;
6109 }
6110
6111 // Search an array of spans for a span matching the given marker.
6112 function getMarkedSpanFor(spans, marker) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected