Skip to content

Commit a46824c

Browse files
author
Benjamin Pasero
committed
add todo to move into servcie
1 parent 7f29065 commit a46824c

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

src/vs/workbench/browser/parts/editor/editorPart.ts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -780,10 +780,6 @@ export class EditorPart extends Part implements IEditorGroupsService, IEditorGro
780780
return groupView;
781781
}
782782

783-
createEditorDropTarget(container: HTMLElement, delegate: EditorDropTargetDelegate): IDisposable {
784-
return this.instantiationService.createInstance(EditorDropTarget, this, container, delegate);
785-
}
786-
787783
//#endregion
788784

789785
//#region Part
@@ -1043,6 +1039,14 @@ export class EditorPart extends Part implements IEditorGroupsService, IEditorGro
10431039
type: Parts.EDITOR_PART
10441040
};
10451041
}
1042+
1043+
//#region TODO@matt this should move into some kind of service
1044+
1045+
createEditorDropTarget(container: HTMLElement, delegate: EditorDropTargetDelegate): IDisposable {
1046+
return this.instantiationService.createInstance(EditorDropTarget, this, container, delegate);
1047+
}
1048+
1049+
//#endregion
10461050
}
10471051

10481052
registerSingleton(IEditorGroupsService, EditorPart);

0 commit comments

Comments
 (0)