MCPcopy Create free account
hub / github.com/breck7/scroll / coords

Function coords

external/.scrollLibs.js:4519–4521  ·  view source on GitHub ↗
(ch, bias)

Source from the content-addressed store, hash-verified

4517 var lineLen = lineObj.text.length
4518 var start, end
4519 function coords(ch, bias) {
4520 return charCoords(cm, Pos(line, ch), "div", lineObj, bias)
4521 }
4522
4523 function wrapX(pos, dir, side) {
4524 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