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

Function visualLineEnd

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

Source from the content-addressed store, hash-verified

1501 }
1502
1503 function visualLineEnd(line) {
1504 var merged
1505 while ((merged = collapsedSpanAtEnd(line))) {
1506 line = merged.find(1, true).line
1507 }
1508 return line
1509 }
1510
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.

Callers 1

lineEndFunction · 0.85

Calls 2

collapsedSpanAtEndFunction · 0.85
findMethod · 0.45

Tested by

no test coverage detected