mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 05:19:39 +00:00
add todo to move into servcie
This commit is contained in:
parent
7f29065158
commit
a46824c2e9
|
@ -780,10 +780,6 @@ export class EditorPart extends Part implements IEditorGroupsService, IEditorGro
|
|||
return groupView;
|
||||
}
|
||||
|
||||
createEditorDropTarget(container: HTMLElement, delegate: EditorDropTargetDelegate): IDisposable {
|
||||
return this.instantiationService.createInstance(EditorDropTarget, this, container, delegate);
|
||||
}
|
||||
|
||||
//#endregion
|
||||
|
||||
//#region Part
|
||||
|
@ -1043,6 +1039,14 @@ export class EditorPart extends Part implements IEditorGroupsService, IEditorGro
|
|||
type: Parts.EDITOR_PART
|
||||
};
|
||||
}
|
||||
|
||||
//#region TODO@matt this should move into some kind of service
|
||||
|
||||
createEditorDropTarget(container: HTMLElement, delegate: EditorDropTargetDelegate): IDisposable {
|
||||
return this.instantiationService.createInstance(EditorDropTarget, this, container, delegate);
|
||||
}
|
||||
|
||||
//#endregion
|
||||
}
|
||||
|
||||
registerSingleton(IEditorGroupsService, EditorPart);
|
||||
|
|
Loading…
Reference in a new issue