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

Function bidiRight

static/mergely/lib/codemirror.js:8608–8608  ·  view source on GitHub ↗
(part)

Source from the content-addressed store, hash-verified

8606
8607 function bidiLeft(part) { return part.level % 2 ? part.to : part.from; }
8608 function bidiRight(part) { return part.level % 2 ? part.from : part.to; }
8609
8610 function lineLeft(line) { var order = getOrder(line); return order ? bidiLeft(order[0]) : 0; }
8611 function lineRight(line) {

Callers 2

getBidiFunction · 0.70
lineRightFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected