Skip to content

Commit d158ab9

Browse files
Update docs
1 parent 9d63713 commit d158ab9

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ This is a **Platform.Bible extension** for interlinear Bible text alignment. Pla
3131

3232
`src/main.ts` — called by Platform.Bible on activation. Exports two lifecycle functions:
3333

34-
- `activate(context)` — registers the `interlinearizer.mainWebView` WebView provider, the `interlinearizer.openForWebView` command, and `onDidOpenWebView` / `onDidCloseWebView` subscriptions. All registrations are added to `context.registrations` so the platform disposes them on deactivation.
34+
- `activate(context)` — registers the `interlinearizer.mainWebView` WebView provider, the `interlinearizer.openForWebView` command, the `interlinearizer.continuousScroll` project settings validator, and `onDidOpenWebView` / `onDidCloseWebView` subscriptions. All registrations are added to `context.registrations` so the platform disposes them on deactivation.
3535
- `deactivate()` — clears `openWebViewsByProject` and returns `true`.
3636

3737
`openWebViewsByProject` (`Map<string, string>`) tracks one open WebView ID per project to prevent duplicates; reopening an already-open project brings that tab to front via the `existingId` option.

src/main.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,9 @@ async function openInterlinearizerForWebView(webViewId?: string): Promise<string
9999
}
100100

101101
/**
102-
* Extension entry point. Registers the Interlinearizer WebView provider and the open command.
103-
* Called by the platform when the extension is loaded.
102+
* Extension entry point. Registers the Interlinearizer WebView provider, the open command, the
103+
* `continuousScroll` project settings validator, and `onDidOpenWebView` / `onDidCloseWebView`
104+
* lifecycle subscriptions. Called by the platform when the extension is loaded.
104105
*
105106
* @param context - Activation context; used to register disposables so the platform can clean them
106107
* up on deactivation.

0 commit comments

Comments
 (0)