MCPcopy Create free account
hub / github.com/TextGeneratorio/text-generator.io / clipPosArray

Function clipPosArray

static/libs/codemirror.js:519–523  ·  view source on GitHub ↗
(doc, array)

Source from the content-addressed store, hash-verified

517 else { return pos }
518}
519function clipPosArray(doc, array) {
520 var out = [];
521 for (var i = 0; i < array.length; i++) { out[i] = clipPos(doc, array[i]); }
522 return out
523}
524
525// Optimize some code when these features are not used.
526var sawReadOnlySpans = false;

Callers 1

codemirror.jsFile · 0.85

Calls 1

clipPosFunction · 0.85

Tested by

no test coverage detected