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

Function charCoords

static/mergely/lib/codemirror.js:2821–2824  ·  view source on GitHub ↗
(cm, pos, context, lineObj, bias)

Source from the content-addressed store, hash-verified

2819 }
2820
2821 function charCoords(cm, pos, context, lineObj, bias) {
2822 if (!lineObj) lineObj = getLine(cm.doc, pos.line);
2823 return intoCoordSystem(cm, lineObj, measureChar(cm, lineObj, pos.ch, bias), context);
2824 }
2825
2826 // Returns a box for a given cursor position, which may have an
2827 // 'other' property containing the position of the secondary cursor

Callers 2

coordsFunction · 0.70
codemirror.jsFile · 0.70

Calls 3

getLineFunction · 0.70
intoCoordSystemFunction · 0.70
measureCharFunction · 0.70

Tested by

no test coverage detected