MCPcopy Index your code
hub / github.com/csev/py4e / lineNumberFor

Function lineNumberFor

tools/pythonauto/static/codemirror/codemirror.js:415–417  ·  view source on GitHub ↗
(options, i)

Source from the content-addressed store, hash-verified

413 }
414
415 function lineNumberFor(options, i) {
416 return String(options.lineNumberFormatter(i + options.firstLineNumber));
417 }
418 function compensateForHScroll(display) {
419 return getRect(display.scroller).left - getRect(display.sizer).left;
420 }

Callers 3

patchDisplayFunction · 0.70
buildLineElementFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected