Move custom editors into own ext host services

This commit is contained in:
Matt Bierner
2020-08-20 15:48:14 -07:00
parent 4fd7f660a4
commit 6db81f6ab2
7 changed files with 432 additions and 394 deletions

View File

@@ -169,7 +169,7 @@ export class ExtHostWebviewViews implements extHostProtocol.ExtHostWebviewViewsS
private getWebviewView(handle: string): ExtHostWebviewView {
const entry = this._webviewViews.get(handle);
if (!entry) {
throw new Error('Custom document is not editable');
throw new Error('No webview found');
}
return entry;
}