Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/stackblitz/bolt.new
/ setSelectedFile
Method
setSelectedFile
app/lib/stores/editor.ts:59–61 ·
view source on GitHub ↗
(filePath: string | undefined)
Source
from the content-addressed store, hash-verified
57
}
58
59
setSelectedFile(filePath: string | undefined) {
60
this.selectedFile.set(filePath);
61
}
62
63
updateScrollPosition(filePath: string, position: ScrollPosition) {
64
const
documents = this.documents.get();
Callers
1
Workbench.client.tsx
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected