@theia/plugin 1.27.0-next.31 → 1.27.0-next.36

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/theia.d.ts +16 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theia/plugin",
3
- "version": "1.27.0-next.31+369bf425441",
3
+ "version": "1.27.0-next.36+422063b157f",
4
4
  "description": "Theia - Plugin API",
5
5
  "types": "./src/theia.d.ts",
6
6
  "publishConfig": {
@@ -32,5 +32,5 @@
32
32
  "nyc": {
33
33
  "extends": "../../configs/nyc.json"
34
34
  },
35
- "gitHead": "369bf42544143d8f39043a1690071e058cdac770"
35
+ "gitHead": "422063b157fc2b9bef540a4aa33176e59126f471"
36
36
  }
package/src/theia.d.ts CHANGED
@@ -1215,6 +1215,22 @@ export module '@theia/plugin' {
1215
1215
  * @param revealType The scrolling strategy for revealing `range`.
1216
1216
  */
1217
1217
  revealRange(range: Range, revealType?: TextEditorRevealType): void;
1218
+
1219
+ /**
1220
+ * Shows this text editor. A [column](#ViewColumn) can be provided to control where the editor is being shown. Might change the [active editor](#window.activeTextEditor).
1221
+ *
1222
+ * @deprecated use [window.showTextDocument](#Window.showTextDocument) instead.
1223
+ *
1224
+ * @param column A [view column](#ViewColumn) in which this editor should be shown.
1225
+ */
1226
+ show(column?: ViewColumn): void;
1227
+
1228
+ /**
1229
+ * Hides this text editor.
1230
+ *
1231
+ * @deprecated use 'workbench.action.closeActiveEditor' command instead.
1232
+ */
1233
+ hide(): void;
1218
1234
  }
1219
1235
 
1220
1236
  /**