MCPcopy
hub / github.com/DHTMLX/gantt / charCoords

Function charCoords

samples/common/codehighlight/codemirror.js:2627–2630  ·  view source on GitHub ↗
(cm, pos, context, lineObj, bias)

Source from the content-addressed store, hash-verified

2625 }
2626
2627 function charCoords(cm, pos, context, lineObj, bias) {
2628 if (!lineObj) { lineObj = getLine(cm.doc, pos.line); }
2629 return intoCoordSystem(cm, lineObj, measureChar(cm, lineObj, pos.ch, bias), context)
2630 }
2631
2632 // Returns a box for a given cursor position, which may have an
2633 // 'other' property containing the position of the secondary cursor

Callers 2

coordsFunction · 0.85
addEditorMethodsFunction · 0.85

Calls 3

getLineFunction · 0.85
intoCoordSystemFunction · 0.85
measureCharFunction · 0.85

Tested by

no test coverage detected