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

Function coords

samples/common/codehighlight/codemirror.js:3198–3200  ·  view source on GitHub ↗
(ch, bias)

Source from the content-addressed store, hash-verified

3196 var lineLen = lineObj.text.length;
3197 var start, end;
3198 function coords(ch, bias) {
3199 return charCoords(cm, Pos(line, ch), "div", lineObj, bias)
3200 }
3201
3202 function wrapX(pos, dir, side) {
3203 var extent = wrappedLineExtentChar(cm, lineObj, null, pos);

Callers 2

wrapXFunction · 0.85
drawForLineFunction · 0.85

Calls 2

charCoordsFunction · 0.85
PosFunction · 0.85

Tested by

no test coverage detected