MCPcopy Create free account
hub / github.com/breck7/scroll / MarkedSpan

Function MarkedSpan

external/.scrollLibs.js:1160–1164  ·  view source on GitHub ↗
(marker, from, to)

Source from the content-addressed store, hash-verified

1158 // TEXTMARKER SPANS
1159
1160 function MarkedSpan(marker, from, to) {
1161 this.marker = marker
1162 this.from = from
1163 this.to = to
1164 }
1165
1166 // Search an array of spans for a span matching the given marker.
1167 function getMarkedSpanFor(spans, marker) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected