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

Function paddingLeft

static/js/codemirror/codemirror.js:934–937  ·  view source on GitHub ↗
(display)

Source from the content-addressed store, hash-verified

932
933 function paddingTop(display) {return display.lineSpace.offsetTop;}
934 function paddingLeft(display) {
935 var e = removeChildrenAndAdd(display.measure, elt("pre", null, null, "text-align: left")).appendChild(elt("span", "x"));
936 return e.offsetLeft;
937 }
938
939 function measureChar(cm, line, ch, data) {
940 var dir = -1;

Callers 1

updateSelectionRangeFunction · 0.85

Calls 2

removeChildrenAndAddFunction · 0.85
eltFunction · 0.85

Tested by

no test coverage detected