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

Function isLine

external/.scrollLibs.js:1073–1075  ·  view source on GitHub ↗
(doc, l)

Source from the content-addressed store, hash-verified

1071 }
1072
1073 function isLine(doc, l) {
1074 return l >= doc.first && l < doc.first + doc.size
1075 }
1076
1077 function lineNumberFor(options, i) {
1078 return String(options.lineNumberFormatter(i + options.firstLineNumber))

Callers 3

stretchSpansOverChangeFunction · 0.85
.scrollLibs.jsFile · 0.85
addEditorMethodsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected