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

Function compensateForHScroll

tools/pythonauto/static/codemirror/codemirror.js:418–420  ·  view source on GitHub ↗
(display)

Source from the content-addressed store, hash-verified

416 return String(options.lineNumberFormatter(i + options.firstLineNumber));
417 }
418 function compensateForHScroll(display) {
419 return getRect(display.scroller).left - getRect(display.sizer).left;
420 }
421
422 // DISPLAY DRAWING
423

Callers 3

alignHorizontallyFunction · 0.70
getDimensionsFunction · 0.70
codemirror.jsFile · 0.70

Calls 1

getRectFunction · 0.85

Tested by

no test coverage detected