MCPcopy
hub / github.com/witheve/Eve / isLine

Function isLine

src/codemirror.js:2105–2105  ·  view source on GitHub ↗
(doc, l)

Source from the content-addressed store, hash-verified

2103 else return pos;
2104 }
2105 function isLine(doc, l) {return l >= doc.first && l < doc.first + doc.size;}
2106 function clipPosArray(doc, array) {
2107 for (var out = [], i = 0; i < array.length; i++) out[i] = clipPos(doc, array[i]);
2108 return out;

Callers 3

codemirror.jsFile · 0.85
stretchSpansOverChangeFunction · 0.85
findWordFunction · 0.85

Calls 2

firstLineMethod · 0.80
lastLineMethod · 0.80

Tested by

no test coverage detected