@theia/plugin 1.30.0-next.10 → 1.30.0-next.15
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/package.json +2 -2
- package/src/theia.d.ts +14 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theia/plugin",
|
|
3
|
-
"version": "1.30.0-next.
|
|
3
|
+
"version": "1.30.0-next.15+064553db337",
|
|
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": "
|
|
35
|
+
"gitHead": "064553db33768c99554405213c4769eb1baedd93"
|
|
36
36
|
}
|
package/src/theia.d.ts
CHANGED
|
@@ -315,7 +315,7 @@ export module '@theia/plugin' {
|
|
|
315
315
|
* @return A position that reflects the given delta. Will return `this` position if the change
|
|
316
316
|
* is not changing anything.
|
|
317
317
|
*/
|
|
318
|
-
translate(change: { lineDelta?: number; characterDelta?: number
|
|
318
|
+
translate(change: { lineDelta?: number; characterDelta?: number }): Position;
|
|
319
319
|
|
|
320
320
|
/**
|
|
321
321
|
* Create a new position derived from this position.
|
|
@@ -333,7 +333,7 @@ export module '@theia/plugin' {
|
|
|
333
333
|
* @return A position that reflects the given change. Will return `this` position if the change
|
|
334
334
|
* is not changing anything.
|
|
335
335
|
*/
|
|
336
|
-
with(change: { line?: number; character?: number
|
|
336
|
+
with(change: { line?: number; character?: number }): Position;
|
|
337
337
|
}
|
|
338
338
|
|
|
339
339
|
/**
|
|
@@ -2074,7 +2074,7 @@ export module '@theia/plugin' {
|
|
|
2074
2074
|
* Fire the event and pass data object
|
|
2075
2075
|
* @param data
|
|
2076
2076
|
*/
|
|
2077
|
-
fire(data
|
|
2077
|
+
fire(data: T): void;
|
|
2078
2078
|
|
|
2079
2079
|
/**
|
|
2080
2080
|
* Dispose this object
|
|
@@ -2782,6 +2782,16 @@ export module '@theia/plugin' {
|
|
|
2782
2782
|
*/
|
|
2783
2783
|
clear(): void;
|
|
2784
2784
|
|
|
2785
|
+
/**
|
|
2786
|
+
* Reveal this channel in the UI.
|
|
2787
|
+
*
|
|
2788
|
+
* @deprecated Use the overload with just one parameter (`show(preserveFocus?: boolean): void`).
|
|
2789
|
+
*
|
|
2790
|
+
* @param column This argument is **deprecated** and will be ignored.
|
|
2791
|
+
* @param preserveFocus When `true` the channel will not take focus.
|
|
2792
|
+
*/
|
|
2793
|
+
show(column?: ViewColumn, preserveFocus?: boolean): void;
|
|
2794
|
+
|
|
2785
2795
|
/**
|
|
2786
2796
|
* Reveal this channel in the UI.
|
|
2787
2797
|
*
|
|
@@ -8938,7 +8948,7 @@ export module '@theia/plugin' {
|
|
|
8938
8948
|
* @param tokenType The token type.
|
|
8939
8949
|
* @param tokenModifiers The token modifiers.
|
|
8940
8950
|
*/
|
|
8941
|
-
push(range: Range, tokenType: string, tokenModifiers?: string[]): void;
|
|
8951
|
+
push(range: Range, tokenType: string, tokenModifiers?: readonly string[]): void;
|
|
8942
8952
|
|
|
8943
8953
|
/**
|
|
8944
8954
|
* Finish and create a `SemanticTokens` instance.
|