MCPcopy Index your code
hub / github.com/DHTMLX/gantt / getBidi

Function getBidi

samples/common/codehighlight/codemirror.js:2666–2669  ·  view source on GitHub ↗
(ch, partPos, invert)

Source from the content-addressed store, hash-verified

2664 if (!order) { return get(sticky == "before" ? ch - 1 : ch, sticky == "before") }
2665
2666 function getBidi(ch, partPos, invert) {
2667 var part = order[partPos], right = part.level == 1;
2668 return get(invert ? ch - 1 : ch, right != invert)
2669 }
2670 var partPos = getBidiPartAt(order, ch, sticky);
2671 var other = bidiOther;
2672 var val = getBidi(ch, partPos, sticky == "before");

Callers 1

cursorCoordsFunction · 0.85

Calls 1

getFunction · 0.85

Tested by

no test coverage detected