MCPcopy Create free account
hub / github.com/TruthHun/BookStack / lineRight

Function lineRight

static/mergely/lib/codemirror.js:8611–8615  ·  view source on GitHub ↗
(line)

Source from the content-addressed store, hash-verified

8609
8610 function lineLeft(line) { var order = getOrder(line); return order ? bidiLeft(order[0]) : 0; }
8611 function lineRight(line) {
8612 var order = getOrder(line);
8613 if (!order) return line.text.length;
8614 return bidiRight(lst(order));
8615 }
8616
8617 function lineStart(cm, lineN) {
8618 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