mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 18:19:12 +01:00
allow extension resources in editor insets
This commit is contained in:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user