src/vs/workbench/browser/editor.ts/EditorPaneRegistry/registerEditorPane
class EditorPaneRegistry:	registerEditorPane(editorPaneDescriptor: EditorPaneDescriptor, editorDescriptors: readonly SyncDescriptor<EditorInput>[]): IDisposable {
		this.mapEditorPanesToEditors.set(editorPaneDescriptor, editorDescriptors);

		const remove = insert(this.editorPanes, editorPaneDescriptor);

		return toDisposable(() => {
			this.mapEditorPanesToEditors.delete(editorPaneDescriptor);
			remove();
		});
	}