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

Function bidiRight

static/editor.md/lib/codemirror/lib/codemirror.js:8365–8365  ·  view source on GitHub ↗
(part)

Source from the content-addressed store, hash-verified

8363
8364 function bidiLeft(part) { return part.level % 2 ? part.to : part.from; }
8365 function bidiRight(part) { return part.level % 2 ? part.from : part.to; }
8366
8367 function lineLeft(line) { var order = getOrder(line); return order ? bidiLeft(order[0]) : 0; }
8368 function lineRight(line) {

Callers 2

getBidiFunction · 0.70
lineRightFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected