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

Function lineRight

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

Source from the content-addressed store, hash-verified

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;
7205 return bidiRight(lst(order));
7206 }
7207
7208 function lineStart(cm, lineN) {
7209 var line = getLine(cm.doc, lineN);

Callers 3

coordsCharInnerFunction · 0.70
lineStartFunction · 0.70
lineEndFunction · 0.70

Calls 3

getOrderFunction · 0.70
bidiRightFunction · 0.70
lstFunction · 0.70

Tested by

no test coverage detected