allow extension resources in editor insets

This commit is contained in:
Johannes Rieken
2019-06-12 18:09:19 +02:00
parent f9913041c6
commit 1ad12b24a6
4 changed files with 8 additions and 6 deletions

View File

@@ -489,7 +489,7 @@ export function createApiFactory(
},
createWebviewTextEditorInset(editor: vscode.TextEditor, range: vscode.Range, options: vscode.WebviewOptions): vscode.WebviewEditorInset {
checkProposedApiEnabled(extension);
return extHostEditorInsets.createWebviewEditorInset(editor, range, options);
return extHostEditorInsets.createWebviewEditorInset(editor, range, options, extension);
},
createTerminal(nameOrOptions?: vscode.TerminalOptions | string, shellPath?: string, shellArgs?: string[] | string): vscode.Terminal {
if (typeof nameOrOptions === 'object') {