MCPcopy Create free account
hub / github.com/sql-js/sql.js / clipPosArray

Function clipPosArray

GUI/codemirror/lib/codemirror.js:1048–1051  ·  view source on GitHub ↗
(doc, array)

Source from the content-addressed store, hash-verified

1046 }
1047 function isLine(doc, l) {return l >= doc.first && l < doc.first + doc.size;}
1048 function clipPosArray(doc, array) {
1049 for (var out = [], i = 0; i < array.length; i++) out[i] = clipPos(doc, array[i]);
1050 return out;
1051 }
1052
1053 // SELECTION UPDATES
1054

Callers 1

codemirror.jsFile · 0.85

Calls 1

clipPosFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…