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

Function isLine

samples/common/codehighlight/codemirror.js:968–968  ·  view source on GitHub ↗
(doc, l)

Source from the content-addressed store, hash-verified

966 }
967
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))

Callers 3

stretchSpansOverChangeFunction · 0.85
codemirror.jsFile · 0.85
addEditorMethodsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected