mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-13 22:12:07 +01:00
Fix
This commit is contained in:
committed by
Henning Dieterichs
parent
028e94157e
commit
a7f57a4eae
@@ -13,7 +13,7 @@ import { URI } from 'vs/base/common/uri';
|
||||
* This would make monaco-editor consumption much more difficult though.
|
||||
*/
|
||||
export interface IWorkbenchUIElementFactory {
|
||||
createResourceLabel(element: HTMLElement): IResourceLabel;
|
||||
createResourceLabel?(element: HTMLElement): IResourceLabel;
|
||||
}
|
||||
|
||||
export interface IResourceLabel extends IDisposable {
|
||||
|
||||
@@ -102,7 +102,7 @@ export function createDiffEditor(domElement: HTMLElement, options?: IStandaloneD
|
||||
|
||||
export function createMultiFileDiffEditor(domElement: HTMLElement, override?: IEditorOverrideServices) {
|
||||
const instantiationService = StandaloneServices.initialize(override || {});
|
||||
return new MultiDiffEditorWidget(domElement, instantiationService);
|
||||
return new MultiDiffEditorWidget(domElement, {}, instantiationService);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user