MCPcopy Create free account
hub / github.com/breck7/scroll / linesFor

Function linesFor

external/.scrollLibs.js:6499–6505  ·  view source on GitHub ↗
(start, end)

Source from the content-addressed store, hash-verified

6497 signalLater(line, "change", line, change)
6498 }
6499 function linesFor(start, end) {
6500 var result = []
6501 for (var i = start; i < end; ++i) {
6502 result.push(new Line(text[i], spansFor(i), estimateHeight$$1))
6503 }
6504 return result
6505 }
6506
6507 var from = change.from,
6508 to = change.to,

Callers 1

updateDocFunction · 0.85

Calls 1

spansForFunction · 0.85

Tested by

no test coverage detected