MCPcopy
hub / github.com/HumanSignal/label-studio / getBidi

Function getBidi

docs/themes/htx/source/js/codemirror.js:3694–3698  ·  view source on GitHub ↗
(ch, partPos, invert)

Source from the content-addressed store, hash-verified

3692 }
3693
3694 function getBidi(ch, partPos, invert) {
3695 var part = order[partPos],
3696 right = part.level == 1;
3697 return get(invert ? ch - 1 : ch, right != invert);
3698 }
3699 var partPos = getBidiPartAt(order, ch, sticky);
3700 var other = bidiOther;
3701 var val = getBidi(ch, partPos, sticky == "before");

Callers 1

cursorCoordsFunction · 0.85

Calls 1

getFunction · 0.70

Tested by

no test coverage detected