MCPcopy
hub / github.com/witheve/Eve / charCoords

Function charCoords

src/codemirror.js:2829–2832  ·  view source on GitHub ↗
(cm, pos, context, lineObj, bias)

Source from the content-addressed store, hash-verified

2827 }
2828
2829 function charCoords(cm, pos, context, lineObj, bias) {
2830 if (!lineObj) lineObj = getLine(cm.doc, pos.line);
2831 return intoCoordSystem(cm, lineObj, measureChar(cm, lineObj, pos.ch, bias), context);
2832 }
2833
2834 // Returns a box for a given cursor position, which may have an
2835 // 'other' property containing the position of the secondary cursor

Callers 2

coordsFunction · 0.85
codemirror.jsFile · 0.85

Calls 3

getLineFunction · 0.85
intoCoordSystemFunction · 0.85
measureCharFunction · 0.85

Tested by

no test coverage detected