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

Function lineNumberFor

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

Source from the content-addressed store, hash-verified

513 }
514
515 function lineNumberFor(options, i) {
516 return String(options.lineNumberFormatter(i + options.firstLineNumber));
517 }
518
519 // Computes display.scroller.scrollLeft + display.gutters.offsetWidth,
520 // but using getBoundingClientRect to get a sub-pixel-accurate

Callers 3

patchDisplayFunction · 0.70
updateLineGutterFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected