@codingame/monaco-vscode-api 1.81.7-next.0 → 1.81.7
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/dist/default-extensions/npm/npmBrowserMain.js.map +1 -1
- package/dist/default-extensions/typescript-language-features/tsserver.web.js.map +1 -1
- package/dist/missing-services.js +9 -9
- package/dist/service-override/tools/editor.js +3 -1
- package/monaco-editor-treemending.patch +929 -929
- package/package.json +1 -1
package/dist/missing-services.js
CHANGED
|
@@ -299,16 +299,16 @@ class EmptyEditorGroup {
|
|
|
299
299
|
this.isLocked = false;
|
|
300
300
|
this.stickyCount = 0;
|
|
301
301
|
this.editors = [];
|
|
302
|
-
this.getEditors =
|
|
303
|
-
this.findEditors =
|
|
304
|
-
this.getEditorByIndex =
|
|
302
|
+
this.getEditors = () => [];
|
|
303
|
+
this.findEditors = () => [];
|
|
304
|
+
this.getEditorByIndex = () => undefined;
|
|
305
305
|
this.getIndexOfEditor = unsupported;
|
|
306
306
|
this.openEditor = unsupported;
|
|
307
307
|
this.openEditors = unsupported;
|
|
308
|
-
this.isPinned =
|
|
309
|
-
this.isSticky =
|
|
310
|
-
this.isActive =
|
|
311
|
-
this.contains =
|
|
308
|
+
this.isPinned = () => false;
|
|
309
|
+
this.isSticky = () => false;
|
|
310
|
+
this.isActive = () => false;
|
|
311
|
+
this.contains = () => false;
|
|
312
312
|
this.moveEditor = unsupported;
|
|
313
313
|
this.moveEditors = unsupported;
|
|
314
314
|
this.copyEditor = unsupported;
|
|
@@ -321,8 +321,8 @@ class EmptyEditorGroup {
|
|
|
321
321
|
this.stickEditor = unsupported;
|
|
322
322
|
this.unstickEditor = unsupported;
|
|
323
323
|
this.lock = unsupported;
|
|
324
|
-
this.isFirst =
|
|
325
|
-
this.isLast =
|
|
324
|
+
this.isFirst = unsupported;
|
|
325
|
+
this.isLast = unsupported;
|
|
326
326
|
}
|
|
327
327
|
get titleHeight() {
|
|
328
328
|
return unsupported();
|
|
@@ -202,7 +202,9 @@ let StandaloneEditorGroup = class StandaloneEditorGroup extends Disposable {
|
|
|
202
202
|
this.isPinned = () => false;
|
|
203
203
|
this.isSticky = () => false;
|
|
204
204
|
this.isActive = () => this.editor.hasWidgetFocus();
|
|
205
|
-
this.contains =
|
|
205
|
+
this.contains = (candidate) => {
|
|
206
|
+
return this.pane != null && this.pane.input === candidate;
|
|
207
|
+
};
|
|
206
208
|
this.moveEditor = unsupported;
|
|
207
209
|
this.moveEditors = unsupported;
|
|
208
210
|
this.copyEditor = unsupported;
|