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

Function pageCoords

tools/pythonauto/static/codemirrorepl/codemirrorepl.js:1842–1845  ·  view source on GitHub ↗
(pos)

Source from the content-addressed store, hash-verified

1840 }
1841 }
1842 function pageCoords(pos) {
1843 var local = localCoords(pos, true), off = eltOffset(lineSpace);
1844 return {x: off.left + local.x, y: off.top + local.y, yBot: off.top + local.yBot};
1845 }
1846
1847 var cachedHeight, cachedHeightFor, measureText;
1848 function textHeight() {

Callers 1

CodeMirrorFunction · 0.85

Calls 2

localCoordsFunction · 0.85
eltOffsetFunction · 0.85

Tested by

no test coverage detected