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

Function lineNumberFor

external/.scrollLibs.js:1077–1079  ·  view source on GitHub ↗
(options, i)

Source from the content-addressed store, hash-verified

1075 }
1076
1077 function lineNumberFor(options, i) {
1078 return String(options.lineNumberFormatter(i + options.firstLineNumber))
1079 }
1080
1081 // A Pos instance represents a position within the text.
1082 function Pos(line, ch, sticky) {

Callers 3

updateLineGutterFunction · 0.85
patchDisplayFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected