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

Function isLine

GUI/codemirror/lib/codemirror.js:1047–1047  ·  view source on GitHub ↗
(doc, l)

Source from the content-addressed store, hash-verified

1045 else return pos;
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;

Callers 2

codemirror.jsFile · 0.85
stretchSpansOverChangeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…