@codingame/monaco-vscode-editor-api 24.3.0 → 25.0.0
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-editor-api",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "25.0.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - monaco-editor compatible api",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-api": "
|
|
18
|
+
"@codingame/monaco-vscode-api": "25.0.0"
|
|
19
19
|
},
|
|
20
20
|
"exports": {
|
|
21
21
|
".": "./esm/vs/editor/editor.api.js",
|
|
@@ -751,6 +751,9 @@ export class Range {
|
|
|
751
751
|
* Moves the range by the given amount of lines.
|
|
752
752
|
*/
|
|
753
753
|
delta(lineCount: number): Range;
|
|
754
|
+
/**
|
|
755
|
+
* Test if this range starts and ends on the same line.
|
|
756
|
+
*/
|
|
754
757
|
isSingleLine(): boolean;
|
|
755
758
|
static fromPositions(start: IPosition, end?: IPosition): Range;
|
|
756
759
|
/**
|
|
@@ -7334,6 +7337,7 @@ export namespace languages {
|
|
|
7334
7337
|
}
|
|
7335
7338
|
export type InlineCompletionEndOfLifeReason<TInlineCompletion = InlineCompletion> = {
|
|
7336
7339
|
kind: InlineCompletionEndOfLifeReasonKind.Accepted;
|
|
7340
|
+
alternativeAction: boolean;
|
|
7337
7341
|
} | {
|
|
7338
7342
|
kind: InlineCompletionEndOfLifeReasonKind.Rejected;
|
|
7339
7343
|
} | {
|
|
@@ -7376,9 +7380,9 @@ export namespace languages {
|
|
|
7376
7380
|
availableProviders: string;
|
|
7377
7381
|
skuPlan: string | undefined;
|
|
7378
7382
|
skuType: string | undefined;
|
|
7379
|
-
renameCreated: boolean;
|
|
7383
|
+
renameCreated: boolean | undefined;
|
|
7380
7384
|
renameDuration: number | undefined;
|
|
7381
|
-
renameTimedOut: boolean;
|
|
7385
|
+
renameTimedOut: boolean | undefined;
|
|
7382
7386
|
renameDroppedOtherEdits: number | undefined;
|
|
7383
7387
|
renameDroppedRenameEdits: number | undefined;
|
|
7384
7388
|
editKind: string | undefined;
|
|
@@ -78,7 +78,7 @@ class EncodedTokenizationSupportAdapter {
|
|
|
78
78
|
}
|
|
79
79
|
tokenizeEncoded(line, hasEOL, state) {
|
|
80
80
|
const result = this._actual.tokenizeEncoded(line, state);
|
|
81
|
-
return new EncodedTokenizationResult(result.tokens, result.endState);
|
|
81
|
+
return new EncodedTokenizationResult(result.tokens, [], result.endState);
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
class TokenizationSupportAdapter {
|
|
@@ -164,7 +164,7 @@ class TokenizationSupportAdapter {
|
|
|
164
164
|
else {
|
|
165
165
|
endState = actualResult.endState;
|
|
166
166
|
}
|
|
167
|
-
return new EncodedTokenizationResult(tokens, endState);
|
|
167
|
+
return new EncodedTokenizationResult(tokens, [], endState);
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
170
|
function isATokensProvider(provider) {
|
|
@@ -273,7 +273,7 @@ class MonarchModernTokensCollector {
|
|
|
273
273
|
return nestedResult.endState;
|
|
274
274
|
}
|
|
275
275
|
finalize(endState) {
|
|
276
|
-
return new EncodedTokenizationResult(MonarchModernTokensCollector._merge(this._prependTokens, this._tokens, null), endState);
|
|
276
|
+
return new EncodedTokenizationResult(MonarchModernTokensCollector._merge(this._prependTokens, this._tokens, null), [], endState);
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
279
|
let MonarchTokenizer = MonarchTokenizer_1 = class MonarchTokenizer extends Disposable {
|