MCPcopy Create free account
hub / github.com/ronreiter/interactive-tutorials / isLine

Function isLine

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

Source from the content-addressed store, hash-verified

2290 else return pos;
2291 }
2292 function isLine(doc, l) {return l >= doc.first && l < doc.first + doc.size;}
2293
2294 // If shift is held, this will move the selection anchor. Otherwise,
2295 // it'll set the whole selection.

Callers 2

codemirror.jsFile · 0.70
stretchSpansOverChangeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected