rename custom editor activation event

For #77131

Renames the activation event from `onWebviewEditor` to `onCustomEditor` to be consistent with the reset of the API
This commit is contained in:
Matt Bierner
2020-02-26 10:29:50 -08:00
parent feab34eaf0
commit dc68e6578e
3 changed files with 3 additions and 3 deletions

View File

@@ -122,7 +122,7 @@ export class MainThreadWebviews extends Disposable implements extHostProtocol.Ma
this._register(_webviewWorkbenchService.registerResolver({
canResolve: (webview: WebviewInput) => {
if (webview instanceof CustomEditorInput) {
extensionService.activateByEvent(`onWebviewEditor:${webview.viewType}`);
extensionService.activateByEvent(`onCustomEditor:${webview.viewType}`);
return false;
}