MCPcopy
hub / github.com/csev/py4e / lineLeft

Function lineLeft

tools/pythonauto/static/codemirrorepl/codemirror.js:7201–7201  ·  view source on GitHub ↗
(line)

Source from the content-addressed store, hash-verified

7199 function bidiRight(part) { return part.level % 2 ? part.from : part.to; }
7200
7201 function lineLeft(line) { var order = getOrder(line); return order ? bidiLeft(order[0]) : 0; }
7202 function lineRight(line) {
7203 var order = getOrder(line);
7204 if (!order) return line.text.length;

Callers 3

coordsCharInnerFunction · 0.70
lineStartFunction · 0.70
lineEndFunction · 0.70

Calls 2

getOrderFunction · 0.70
bidiLeftFunction · 0.70

Tested by

no test coverage detected