MCPcopy Index your code
hub / github.com/DHTMLX/gantt / lineNumberFor

Function lineNumberFor

samples/common/codehighlight/codemirror.js:970–972  ·  view source on GitHub ↗
(options, i)

Source from the content-addressed store, hash-verified

968 function isLine(doc, l) {return l >= doc.first && l < doc.first + doc.size}
969
970 function lineNumberFor(options, i) {
971 return String(options.lineNumberFormatter(i + options.firstLineNumber))
972 }
973
974 // A Pos instance represents a position within the text.
975 function Pos(line, ch, sticky) {

Callers 3

updateLineGutterFunction · 0.85
patchDisplayFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected