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

Function add

tools/pythonauto/static/codemirror/codemirror.js:827–832  ·  view source on GitHub ↗
(left, top, width, bottom)

Source from the content-addressed store, hash-verified

825 var padding = paddingH(cm.display), leftSide = padding.left, rightSide = display.lineSpace.offsetWidth - padding.right;
826
827 function add(left, top, width, bottom) {
828 if (top < 0) top = 0;
829 fragment.appendChild(elt("div", null, "CodeMirror-selected", "position: absolute; left: " + left +
830 "px; top: " + top + "px; width: " + (width == null ? rightSide - left : width) +
831 "px; height: " + (bottom - top) + "px"));
832 }
833
834 function drawForLine(line, fromArg, toArg) {
835 var lineObj = getLine(doc, line);

Callers 3

drawForLineFunction · 0.70
updateSelectionRangeFunction · 0.70
skulpt.jsFile · 0.50

Calls 2

eltFunction · 0.70
appendChildMethod · 0.45

Tested by

no test coverage detected