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

Function measureChar

samples/common/codehighlight/codemirror.js:2369–2371  ·  view source on GitHub ↗
(cm, line, ch, bias)

Source from the content-addressed store, hash-verified

2367 // Get a {top, bottom, left, right} box (in line-local coordinates)
2368 // for a given character.
2369 function measureChar(cm, line, ch, bias) {
2370 return measureCharPrepared(cm, prepareMeasureForLine(cm, line), ch, bias)
2371 }
2372
2373 // Find a line view that corresponds to the given line number.
2374 function findViewForLine(cm, lineN) {

Callers 2

charCoordsFunction · 0.85
endOperation_R2Function · 0.85

Calls 2

measureCharPreparedFunction · 0.85
prepareMeasureForLineFunction · 0.85

Tested by

no test coverage detected