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

Function lineRight

static/editor.md/lib/codemirror/lib/codemirror.js:8368–8372  ·  view source on GitHub ↗
(line)

Source from the content-addressed store, hash-verified

8366
8367 function lineLeft(line) { var order = getOrder(line); return order ? bidiLeft(order[0]) : 0; }
8368 function lineRight(line) {
8369 var order = getOrder(line);
8370 if (!order) return line.text.length;
8371 return bidiRight(lst(order));
8372 }
8373
8374 function lineStart(cm, lineN) {
8375 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