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

Function get

tools/pythonauto/static/codemirror/codemirror.js:1224–1228  ·  view source on GitHub ↗
(ch, right)

Source from the content-addressed store, hash-verified

1222 lineObj = lineObj || getLine(cm.doc, pos.line);
1223 if (!measurement) measurement = measureLine(cm, lineObj);
1224 function get(ch, right) {
1225 var m = measureChar(cm, lineObj, ch, measurement, right ? "right" : "left");
1226 if (right) m.left = m.right; else m.right = m.left;
1227 return intoCoordSystem(cm, lineObj, m, context);
1228 }
1229 function getBidi(ch, partPos) {
1230 var part = order[partPos], right = part.level % 2;
1231 if (ch == bidiLeft(part) && partPos && part.level < order[partPos - 1].level) {

Callers 2

getBidiFunction · 0.70
cursorCoordsFunction · 0.70

Calls 2

measureCharFunction · 0.70
intoCoordSystemFunction · 0.70

Tested by

no test coverage detected