MCPcopy Index your code
hub / github.com/csev/py4e / isLine

Function isLine

tools/pythonauto/static/codemirrorepl/codemirror.js:1032–1032  ·  view source on GitHub ↗
(doc, l)

Source from the content-addressed store, hash-verified

1030 else return pos;
1031 }
1032 function isLine(doc, l) {return l >= doc.first && l < doc.first + doc.size;}
1033 function clipPosArray(doc, array) {
1034 for (var out = [], i = 0; i < array.length; i++) out[i] = clipPos(doc, array[i]);
1035 return out;

Callers 2

codemirror.jsFile · 0.70
stretchSpansOverChangeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected