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

Function PosWithInfo

tools/pythonauto/static/codemirror/codemirror.js:1251–1256  ·  view source on GitHub ↗
(line, ch, outside, xRel)

Source from the content-addressed store, hash-verified

1249 }
1250
1251 function PosWithInfo(line, ch, outside, xRel) {
1252 var pos = new Pos(line, ch);
1253 pos.xRel = xRel;
1254 if (outside) pos.outside = true;
1255 return pos;
1256 }
1257
1258 // Coords must be lineSpace-local
1259 function coordsChar(cm, x, y) {

Callers 2

coordsCharFunction · 0.70
coordsCharInnerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected