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

Function get

docs/themes/htx/source/js/codemirror.js:3671–3679  ·  view source on GitHub ↗
(ch, right)

Source from the content-addressed store, hash-verified

3669 preparedMeasure = prepareMeasureForLine(cm, lineObj);
3670 }
3671 function get(ch, right) {
3672 var m = measureCharPrepared(cm, preparedMeasure, ch, right ? "right" : "left", varHeight);
3673 if (right) {
3674 m.left = m.right;
3675 } else {
3676 m.right = m.left;
3677 }
3678 return intoCoordSystem(cm, lineObj, m, context);
3679 }
3680 var order = getOrder(lineObj, cm.doc.direction),
3681 ch = pos.ch,
3682 sticky = pos.sticky;

Callers 2

cursorCoordsFunction · 0.70
getBidiFunction · 0.70

Calls 2

measureCharPreparedFunction · 0.85
intoCoordSystemFunction · 0.85

Tested by

no test coverage detected