MCPcopy
hub / github.com/witheve/Eve / lineNumberFor

Function lineNumberFor

src/codemirror.js:626–628  ·  view source on GitHub ↗
(options, i)

Source from the content-addressed store, hash-verified

624 }
625
626 function lineNumberFor(options, i) {
627 return String(options.lineNumberFormatter(i + options.firstLineNumber));
628 }
629
630 // Computes display.scroller.scrollLeft + display.gutters.offsetWidth,
631 // but using getBoundingClientRect to get a sub-pixel-accurate

Callers 3

patchDisplayFunction · 0.85
updateLineGutterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected