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

Method lineNumber

external/.scrollLibs.js:18885–18887  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18883 return this.lineNumber - 1
18884 }
18885 get lineNumber() {
18886 return this.getParticle()._getLineNumber() // todo: handle sourcemaps
18887 }
18888 isCursorOnAtom(lineIndex, characterIndex) {
18889 return lineIndex === this.getLineIndex() && this._doesCharacterIndexFallOnAtom(characterIndex)
18890 }

Callers

nothing calls this directly

Calls 2

getParticleMethod · 0.95
_getLineNumberMethod · 0.80

Tested by

no test coverage detected