MCPcopy Index your code
hub / github.com/ronreiter/interactive-tutorials / lineNumberFor

Function lineNumberFor

static/js/codemirror/codemirror.js:387–389  ·  view source on GitHub ↗
(options, i)

Source from the content-addressed store, hash-verified

385 }
386
387 function lineNumberFor(options, i) {
388 return String(options.lineNumberFormatter(i + options.firstLineNumber));
389 }
390 function compensateForHScroll(display) {
391 return getRect(display.scroller).left - getRect(display.sizer).left;
392 }

Callers 3

patchDisplayFunction · 0.85
buildLineElementFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected