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

Function getLines

static/js/codemirror/codemirror.js:4582–4586  ·  view source on GitHub ↗
(doc, from, to)

Source from the content-addressed store, hash-verified

4580 return out;
4581 }
4582 function getLines(doc, from, to) {
4583 var out = [];
4584 doc.iter(from, to, function(line) { out.push(line.text); });
4585 return out;
4586 }
4587
4588 function updateLineHeight(line, height) {
4589 var diff = height - line.height;

Callers 1

codemirror.jsFile · 0.85

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected