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

Function visualLineContinued

external/.scrollLibs.js:1513–1520  ·  view source on GitHub ↗
(line)

Source from the content-addressed store, hash-verified

1511 // Returns an array of logical lines that continue the visual line
1512 // started by the argument, or undefined if there are no such lines.
1513 function visualLineContinued(line) {
1514 var merged, lines
1515 while ((merged = collapsedSpanAtEnd(line))) {
1516 line = merged.find(1, true).line
1517 ;(lines || (lines = [])).push(line)
1518 }
1519 return lines
1520 }
1521
1522 // Get the line number of the start of the visual line that the
1523 // given line number is part of.

Callers 1

LineViewFunction · 0.85

Calls 2

collapsedSpanAtEndFunction · 0.85
findMethod · 0.45

Tested by

no test coverage detected