mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 12:19:20 +00:00
New custom editor API proposal
For #77131 Fixes #93963 Fixes #94515 Fixes #94517 Fixes #94527 Fixes #94509 Fixes #94514 Fixes #93996 Fixes #93913 This removes explicit edits from the API and reshapes the API to more closely match VS Code's internal API. The change also tries to better express the lifecycle of backups
This commit is contained in:
@@ -151,7 +151,7 @@ export class MarkdownPreviewManager extends Disposable implements vscode.Webview
|
||||
}
|
||||
|
||||
public async openCustomDocument(uri: vscode.Uri) {
|
||||
return new vscode.CustomDocument(uri);
|
||||
return { uri, dispose: () => { } };
|
||||
}
|
||||
|
||||
public async resolveCustomTextEditor(
|
||||
|
||||
Reference in New Issue
Block a user