@codingame/monaco-vscode-view-common-service-override 4.5.0-improve-code-splitting.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/fake.html +10 -0
- package/assets/index-no-csp.html +1230 -0
- package/assets/index.html +1231 -0
- package/assets/service-worker.js +457 -0
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/override/vs/workbench/browser/parts/editor/textEditor.js +5 -0
- package/override/vs/workbench/browser/parts/editor/textEditor.weak.js +11 -0
- package/package.json +32 -0
- package/tools/editorAssets.js +4 -0
- package/tools/url.js +10 -0
- package/viewCommon.d.ts +5 -0
- package/viewCommon.js +105 -0
- package/vscode/src/vs/base/browser/deviceAccess.js +61 -0
- package/vscode/src/vs/base/browser/ui/centered/centeredViewLayout.js +180 -0
- package/vscode/src/vs/base/browser/ui/grid/grid.js +494 -0
- package/vscode/src/vs/base/browser/ui/grid/gridview.css.js +6 -0
- package/vscode/src/vs/base/browser/ui/grid/gridview.js +1113 -0
- package/vscode/src/vs/platform/languagePacks/common/localizedStrings.js +12 -0
- package/vscode/src/vs/platform/webview/common/mimeTypes.js +24 -0
- package/vscode/src/vs/platform/webview/common/webviewPortMapping.js +64 -0
- package/vscode/src/vs/workbench/api/browser/viewsExtensionPoint.js +907 -0
- package/vscode/src/vs/workbench/browser/actions/listCommands.js +764 -0
- package/vscode/src/vs/workbench/browser/actions/navigationActions.js +301 -0
- package/vscode/src/vs/workbench/browser/media/style.css.js +6 -0
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.js +671 -0
- package/vscode/src/vs/workbench/browser/parts/activitybar/media/activityaction.css.js +6 -0
- package/vscode/src/vs/workbench/browser/parts/activitybar/media/activitybarpart.css.js +6 -0
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.js +229 -0
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/media/auxiliaryBarPart.css.js +6 -0
- package/vscode/src/vs/workbench/browser/parts/compositeBar.js +606 -0
- package/vscode/src/vs/workbench/browser/parts/compositePart.js +346 -0
- package/vscode/src/vs/workbench/browser/parts/editor/auxiliaryEditorPart.js +246 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution.js +1403 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorConfiguration.js +188 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorDropTarget.js +523 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorPart.js +1030 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorParts.js +391 -0
- package/vscode/src/vs/workbench/browser/parts/editor/media/editordroptarget.css.js +6 -0
- package/vscode/src/vs/workbench/browser/parts/media/compositepart.css.js +6 -0
- package/vscode/src/vs/workbench/browser/parts/media/paneCompositePart.css.js +6 -0
- package/vscode/src/vs/workbench/browser/parts/paneCompositeBar.js +643 -0
- package/vscode/src/vs/workbench/browser/parts/paneCompositePart.js +472 -0
- package/vscode/src/vs/workbench/browser/parts/paneCompositePartService.js +68 -0
- package/vscode/src/vs/workbench/browser/parts/panel/panelPart.js +160 -0
- package/vscode/src/vs/workbench/browser/parts/sidebar/media/sidebarpart.css.js +6 -0
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarActions.js +39 -0
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.js +238 -0
- package/vscode/src/vs/workbench/browser/style.js +54 -0
- package/vscode/src/vs/workbench/browser/window.js +381 -0
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchy.contribution.js +300 -0
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyPeek.js +367 -0
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyTree.js +135 -0
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/media/callHierarchy.css.js +6 -0
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditor.contribution.js +18 -0
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInputFactory.js +146 -0
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditors.js +215 -0
- package/vscode/src/vs/workbench/contrib/customEditor/browser/media/customEditor.css.js +6 -0
- package/vscode/src/vs/workbench/contrib/customEditor/common/contributedCustomEditors.js +78 -0
- package/vscode/src/vs/workbench/contrib/customEditor/common/customEditor.js +56 -0
- package/vscode/src/vs/workbench/contrib/customEditor/common/customEditorModelManager.js +63 -0
- package/vscode/src/vs/workbench/contrib/customEditor/common/extensionPoint.js +183 -0
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpener.contribution.js +8 -0
- package/vscode/src/vs/workbench/contrib/languageStatus/browser/languageStatus.contribution.js +408 -0
- package/vscode/src/vs/workbench/contrib/languageStatus/browser/media/languageStatus.css.js +6 -0
- package/vscode/src/vs/workbench/contrib/limitIndicator/browser/limitIndicator.contribution.js +147 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/commands.js +635 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/devCommands.js +230 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditor.contribution.js +75 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorSerializer.js +42 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/colors.js +81 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/conflictActions.js +350 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editorGutter.js +100 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/baseCodeEditorView.js +148 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/codeEditorView.js +106 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/inputCodeEditorView.js +403 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/resultCodeEditorView.js +199 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/fixedZoneWidget.js +41 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/lineAlignment.js +128 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/media/mergeEditor.css.js +6 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/mergeEditor.js +619 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/scrollSynchronizer.js +161 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/viewModel.js +266 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/viewZones.js +173 -0
- package/vscode/src/vs/workbench/contrib/preferences/browser/keyboardLayoutPicker.js +195 -0
- package/vscode/src/vs/workbench/contrib/sash/browser/sash.contribution.js +38 -0
- package/vscode/src/vs/workbench/contrib/sash/browser/sash.js +41 -0
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/media/typeHierarchy.css.js +6 -0
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchy.contribution.js +283 -0
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyPeek.js +362 -0
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyTree.js +133 -0
- package/vscode/src/vs/workbench/contrib/webview/browser/overlayWebview.js +314 -0
- package/vscode/src/vs/workbench/contrib/webview/browser/resourceLoading.js +96 -0
- package/vscode/src/vs/workbench/contrib/webview/browser/themeing.js +98 -0
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.js +656 -0
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewFindWidget.js +65 -0
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewService.js +59 -0
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewCommands.js +143 -0
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditorInputSerializer.js +121 -0
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewPanel.contribution.js +67 -0
- package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewPane.js +234 -0
- package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewService.js +45 -0
- package/vscode/src/vs/workbench/services/activity/browser/activityService.js +145 -0
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +341 -0
- package/vscode/src/vs/workbench/services/driver/browser/driver.js +186 -0
- package/vscode/src/vs/workbench/services/editor/browser/editorPaneService.js +13 -0
- package/vscode/src/vs/workbench/services/editor/browser/editorResolverService.js +676 -0
- package/vscode/src/vs/workbench/services/history/browser/historyService.js +1516 -0
- package/vscode/src/vs/workbench/services/progress/browser/media/progressService.css.js +6 -0
- package/vscode/src/vs/workbench/services/progress/browser/progressService.js +527 -0
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorHandler.js +102 -0
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorService.js +133 -0
- package/vscode/src/vs/workbench/services/views/browser/viewDescriptorService.js +711 -0
- package/vscode/src/vs/workbench/services/views/common/viewContainerModel.js +603 -0
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
async function requestUsbDevice(options) {
|
|
2
|
+
const usb = navigator.usb;
|
|
3
|
+
if (!usb) {
|
|
4
|
+
return undefined;
|
|
5
|
+
}
|
|
6
|
+
const device = await usb.requestDevice({ filters: options?.filters ?? [] });
|
|
7
|
+
if (!device) {
|
|
8
|
+
return undefined;
|
|
9
|
+
}
|
|
10
|
+
return {
|
|
11
|
+
deviceClass: device.deviceClass,
|
|
12
|
+
deviceProtocol: device.deviceProtocol,
|
|
13
|
+
deviceSubclass: device.deviceSubclass,
|
|
14
|
+
deviceVersionMajor: device.deviceVersionMajor,
|
|
15
|
+
deviceVersionMinor: device.deviceVersionMinor,
|
|
16
|
+
deviceVersionSubminor: device.deviceVersionSubminor,
|
|
17
|
+
manufacturerName: device.manufacturerName,
|
|
18
|
+
productId: device.productId,
|
|
19
|
+
productName: device.productName,
|
|
20
|
+
serialNumber: device.serialNumber,
|
|
21
|
+
usbVersionMajor: device.usbVersionMajor,
|
|
22
|
+
usbVersionMinor: device.usbVersionMinor,
|
|
23
|
+
usbVersionSubminor: device.usbVersionSubminor,
|
|
24
|
+
vendorId: device.vendorId,
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
async function requestSerialPort(options) {
|
|
28
|
+
const serial = navigator.serial;
|
|
29
|
+
if (!serial) {
|
|
30
|
+
return undefined;
|
|
31
|
+
}
|
|
32
|
+
const port = await serial.requestPort({ filters: options?.filters ?? [] });
|
|
33
|
+
if (!port) {
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
const info = port.getInfo();
|
|
37
|
+
return {
|
|
38
|
+
usbVendorId: info.usbVendorId,
|
|
39
|
+
usbProductId: info.usbProductId
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
async function requestHidDevice(options) {
|
|
43
|
+
const hid = navigator.hid;
|
|
44
|
+
if (!hid) {
|
|
45
|
+
return undefined;
|
|
46
|
+
}
|
|
47
|
+
const devices = await hid.requestDevice({ filters: options?.filters ?? [] });
|
|
48
|
+
if (!devices.length) {
|
|
49
|
+
return undefined;
|
|
50
|
+
}
|
|
51
|
+
const device = devices[0];
|
|
52
|
+
return {
|
|
53
|
+
opened: device.opened,
|
|
54
|
+
vendorId: device.vendorId,
|
|
55
|
+
productId: device.productId,
|
|
56
|
+
productName: device.productName,
|
|
57
|
+
collections: device.collections
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export { requestHidDevice, requestSerialPort, requestUsbDevice };
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
import { $ } from 'vscode/vscode/vs/base/browser/dom';
|
|
2
|
+
import { SplitView } from 'vscode/vscode/vs/base/browser/ui/splitview/splitview';
|
|
3
|
+
import { Event } from 'vscode/vscode/vs/base/common/event';
|
|
4
|
+
import { DisposableStore } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
5
|
+
|
|
6
|
+
const defaultState = {
|
|
7
|
+
targetWidth: 900,
|
|
8
|
+
leftMarginRatio: 0.1909,
|
|
9
|
+
rightMarginRatio: 0.1909,
|
|
10
|
+
};
|
|
11
|
+
const distributeSizing = { type: 'distribute' };
|
|
12
|
+
function createEmptyView(background) {
|
|
13
|
+
const element = $('.centered-layout-margin');
|
|
14
|
+
element.style.height = '100%';
|
|
15
|
+
if (background) {
|
|
16
|
+
element.style.backgroundColor = ( background.toString());
|
|
17
|
+
}
|
|
18
|
+
return {
|
|
19
|
+
element,
|
|
20
|
+
layout: () => undefined,
|
|
21
|
+
minimumSize: 60,
|
|
22
|
+
maximumSize: Number.POSITIVE_INFINITY,
|
|
23
|
+
onDidChange: Event.None
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
function toSplitViewView(view, getHeight) {
|
|
27
|
+
return {
|
|
28
|
+
element: view.element,
|
|
29
|
+
get maximumSize() { return view.maximumWidth; },
|
|
30
|
+
get minimumSize() { return view.minimumWidth; },
|
|
31
|
+
onDidChange: ( Event.map(view.onDidChange, e => e && e.width)),
|
|
32
|
+
layout: (size, offset, ctx) => view.layout(size, getHeight(), ctx?.top ?? 0, (ctx?.left ?? 0) + offset)
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
class CenteredViewLayout {
|
|
36
|
+
constructor(container, view, state = { ...defaultState }, centeredLayoutFixedWidth = false) {
|
|
37
|
+
this.container = container;
|
|
38
|
+
this.view = view;
|
|
39
|
+
this.state = state;
|
|
40
|
+
this.centeredLayoutFixedWidth = centeredLayoutFixedWidth;
|
|
41
|
+
this.lastLayoutPosition = { width: 0, height: 0, left: 0, top: 0 };
|
|
42
|
+
this.didLayout = false;
|
|
43
|
+
this.splitViewDisposables = ( new DisposableStore());
|
|
44
|
+
this._boundarySashes = {};
|
|
45
|
+
this.container.appendChild(this.view.element);
|
|
46
|
+
this.container.style.overflow = 'hidden';
|
|
47
|
+
}
|
|
48
|
+
get minimumWidth() { return this.splitView ? this.splitView.minimumSize : this.view.minimumWidth; }
|
|
49
|
+
get maximumWidth() { return this.splitView ? this.splitView.maximumSize : this.view.maximumWidth; }
|
|
50
|
+
get minimumHeight() { return this.view.minimumHeight; }
|
|
51
|
+
get maximumHeight() { return this.view.maximumHeight; }
|
|
52
|
+
get onDidChange() { return this.view.onDidChange; }
|
|
53
|
+
get boundarySashes() { return this._boundarySashes; }
|
|
54
|
+
set boundarySashes(boundarySashes) {
|
|
55
|
+
this._boundarySashes = boundarySashes;
|
|
56
|
+
if (!this.splitView) {
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
this.splitView.orthogonalStartSash = boundarySashes.top;
|
|
60
|
+
this.splitView.orthogonalEndSash = boundarySashes.bottom;
|
|
61
|
+
}
|
|
62
|
+
layout(width, height, top, left) {
|
|
63
|
+
this.lastLayoutPosition = { width, height, top, left };
|
|
64
|
+
if (this.splitView) {
|
|
65
|
+
this.splitView.layout(width, this.lastLayoutPosition);
|
|
66
|
+
if (!this.didLayout || this.centeredLayoutFixedWidth) {
|
|
67
|
+
this.resizeSplitViews();
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
else {
|
|
71
|
+
this.view.layout(width, height, top, left);
|
|
72
|
+
}
|
|
73
|
+
this.didLayout = true;
|
|
74
|
+
}
|
|
75
|
+
resizeSplitViews() {
|
|
76
|
+
if (!this.splitView) {
|
|
77
|
+
return;
|
|
78
|
+
}
|
|
79
|
+
if (this.centeredLayoutFixedWidth) {
|
|
80
|
+
const centerViewWidth = Math.min(this.lastLayoutPosition.width, this.state.targetWidth);
|
|
81
|
+
const marginWidthFloat = (this.lastLayoutPosition.width - centerViewWidth) / 2;
|
|
82
|
+
this.splitView.resizeView(0, Math.floor(marginWidthFloat));
|
|
83
|
+
this.splitView.resizeView(1, centerViewWidth);
|
|
84
|
+
this.splitView.resizeView(2, Math.ceil(marginWidthFloat));
|
|
85
|
+
}
|
|
86
|
+
else {
|
|
87
|
+
const leftMargin = this.state.leftMarginRatio * this.lastLayoutPosition.width;
|
|
88
|
+
const rightMargin = this.state.rightMarginRatio * this.lastLayoutPosition.width;
|
|
89
|
+
const center = this.lastLayoutPosition.width - leftMargin - rightMargin;
|
|
90
|
+
this.splitView.resizeView(0, leftMargin);
|
|
91
|
+
this.splitView.resizeView(1, center);
|
|
92
|
+
this.splitView.resizeView(2, rightMargin);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
setFixedWidth(option) {
|
|
96
|
+
this.centeredLayoutFixedWidth = option;
|
|
97
|
+
if (!!this.splitView) {
|
|
98
|
+
this.updateState();
|
|
99
|
+
this.resizeSplitViews();
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
updateState() {
|
|
103
|
+
if (!!this.splitView) {
|
|
104
|
+
this.state.targetWidth = this.splitView.getViewSize(1);
|
|
105
|
+
this.state.leftMarginRatio = this.splitView.getViewSize(0) / this.lastLayoutPosition.width;
|
|
106
|
+
this.state.rightMarginRatio = this.splitView.getViewSize(2) / this.lastLayoutPosition.width;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
isActive() {
|
|
110
|
+
return !!this.splitView;
|
|
111
|
+
}
|
|
112
|
+
styles(style) {
|
|
113
|
+
this.style = style;
|
|
114
|
+
if (this.splitView && this.emptyViews) {
|
|
115
|
+
this.splitView.style(this.style);
|
|
116
|
+
this.emptyViews[0].element.style.backgroundColor = ( this.style.background.toString());
|
|
117
|
+
this.emptyViews[1].element.style.backgroundColor = ( this.style.background.toString());
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
activate(active) {
|
|
121
|
+
if (active === this.isActive()) {
|
|
122
|
+
return;
|
|
123
|
+
}
|
|
124
|
+
if (active) {
|
|
125
|
+
this.container.removeChild(this.view.element);
|
|
126
|
+
this.splitView = ( new SplitView(this.container, {
|
|
127
|
+
inverseAltBehavior: true,
|
|
128
|
+
orientation: 1 ,
|
|
129
|
+
styles: this.style
|
|
130
|
+
}));
|
|
131
|
+
this.splitView.orthogonalStartSash = this.boundarySashes.top;
|
|
132
|
+
this.splitView.orthogonalEndSash = this.boundarySashes.bottom;
|
|
133
|
+
this.splitViewDisposables.add(this.splitView.onDidSashChange(() => {
|
|
134
|
+
if (!!this.splitView) {
|
|
135
|
+
this.updateState();
|
|
136
|
+
}
|
|
137
|
+
}));
|
|
138
|
+
this.splitViewDisposables.add(this.splitView.onDidSashReset(() => {
|
|
139
|
+
this.state = { ...defaultState };
|
|
140
|
+
this.resizeSplitViews();
|
|
141
|
+
}));
|
|
142
|
+
this.splitView.layout(this.lastLayoutPosition.width, this.lastLayoutPosition);
|
|
143
|
+
const backgroundColor = this.style ? this.style.background : undefined;
|
|
144
|
+
this.emptyViews = [createEmptyView(backgroundColor), createEmptyView(backgroundColor)];
|
|
145
|
+
this.splitView.addView(this.emptyViews[0], distributeSizing, 0);
|
|
146
|
+
this.splitView.addView(toSplitViewView(this.view, () => this.lastLayoutPosition.height), distributeSizing, 1);
|
|
147
|
+
this.splitView.addView(this.emptyViews[1], distributeSizing, 2);
|
|
148
|
+
this.resizeSplitViews();
|
|
149
|
+
}
|
|
150
|
+
else {
|
|
151
|
+
if (this.splitView) {
|
|
152
|
+
this.container.removeChild(this.splitView.el);
|
|
153
|
+
}
|
|
154
|
+
this.splitViewDisposables.clear();
|
|
155
|
+
this.splitView?.dispose();
|
|
156
|
+
this.splitView = undefined;
|
|
157
|
+
this.emptyViews = undefined;
|
|
158
|
+
this.container.appendChild(this.view.element);
|
|
159
|
+
this.view.layout(this.lastLayoutPosition.width, this.lastLayoutPosition.height, this.lastLayoutPosition.top, this.lastLayoutPosition.left);
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
isDefault(state) {
|
|
163
|
+
if (this.centeredLayoutFixedWidth) {
|
|
164
|
+
return state.targetWidth === defaultState.targetWidth;
|
|
165
|
+
}
|
|
166
|
+
else {
|
|
167
|
+
return state.leftMarginRatio === defaultState.leftMarginRatio
|
|
168
|
+
&& state.rightMarginRatio === defaultState.rightMarginRatio;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
dispose() {
|
|
172
|
+
this.splitViewDisposables.dispose();
|
|
173
|
+
if (this.splitView) {
|
|
174
|
+
this.splitView.dispose();
|
|
175
|
+
this.splitView = undefined;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
export { CenteredViewLayout };
|