Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/breck7/scroll
/ getLineIndex
Method
getLineIndex
external/.scrollLibs.js:18882–18884 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
18880
this._particle = particle
18881
}
18882
getLineIndex() {
18883
return
this.lineNumber - 1
18884
}
18885
get lineNumber() {
18886
return
this.getParticle()._getLineNumber()
// todo: handle sourcemaps
18887
}
Callers
1
isCursorOnAtom
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected