MCPcopy Create free account
hub / github.com/TextGeneratorio/text-generator.io / visualLine

Function visualLine

static/libs/codemirror.js:772–777  ·  view source on GitHub ↗
(line)

Source from the content-addressed store, hash-verified

770// visual line. This finds the start of the visual line that the
771// given line is part of (usually that is the line itself).
772function visualLine(line) {
773 var merged;
774 while (merged = collapsedSpanAtStart(line))
775 { line = merged.find(-1, true).line; }
776 return line
777}
778
779function visualLineEnd(line) {
780 var merged;

Callers 8

visualLineNoFunction · 0.85
heightAtLineFunction · 0.85
drawSelectionRangeFunction · 0.85
codemirror.jsFile · 0.85
markTextFunction · 0.85
lineStartFunction · 0.85

Calls 1

collapsedSpanAtStartFunction · 0.85

Tested by

no test coverage detected