Merge pull request #3882 from microsoft/hediet/b/monaco-editor-core-bugfix

Adopts latest monaco-editor-core
pull/3884/head v0.37.0-dev.20230403
Henning Dieterichs 2 years ago committed by GitHub
commit 689a4b89b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

14
package-lock.json generated

@ -25,7 +25,7 @@
"jsdom": "^19.0.0",
"jsonc-parser": "^3.0.0",
"mocha": "^9.2.0",
"monaco-editor-core": "^0.37.0-dev.20230330",
"monaco-editor-core": "^0.37.0-dev.20230403",
"parcel": "^2.7.0",
"pin-github-action": "^1.8.0",
"playwright": "^1.18.1",
@ -5170,9 +5170,9 @@
"dev": true
},
"node_modules/monaco-editor-core": {
"version": "0.37.0-dev.20230330",
"resolved": "https://registry.npmjs.org/monaco-editor-core/-/monaco-editor-core-0.37.0-dev.20230330.tgz",
"integrity": "sha512-GHp8zu1tTHWbdBzo6A7/P3Sdsn1LgXIzh5I8kI7RWm5jBSIlnet0t+3hDXXyaoXX4zohIMW5hN7ADsihBwKkSQ==",
"version": "0.37.0-dev.20230403",
"resolved": "https://registry.npmjs.org/monaco-editor-core/-/monaco-editor-core-0.37.0-dev.20230403.tgz",
"integrity": "sha512-p77v5G3WNBSSCLY8ORkNkP5XmAOQj7QwxkyzyILj+sWFbw3/1B9SIead0QS368FHV7JKCZ8/LR5T5ccBUZJlJg==",
"dev": true
},
"node_modules/mri": {
@ -10943,9 +10943,9 @@
}
},
"monaco-editor-core": {
"version": "0.37.0-dev.20230330",
"resolved": "https://registry.npmjs.org/monaco-editor-core/-/monaco-editor-core-0.37.0-dev.20230330.tgz",
"integrity": "sha512-GHp8zu1tTHWbdBzo6A7/P3Sdsn1LgXIzh5I8kI7RWm5jBSIlnet0t+3hDXXyaoXX4zohIMW5hN7ADsihBwKkSQ==",
"version": "0.37.0-dev.20230403",
"resolved": "https://registry.npmjs.org/monaco-editor-core/-/monaco-editor-core-0.37.0-dev.20230403.tgz",
"integrity": "sha512-p77v5G3WNBSSCLY8ORkNkP5XmAOQj7QwxkyzyILj+sWFbw3/1B9SIead0QS368FHV7JKCZ8/LR5T5ccBUZJlJg==",
"dev": true
},
"mri": {

@ -52,7 +52,7 @@
"jsdom": "^19.0.0",
"jsonc-parser": "^3.0.0",
"mocha": "^9.2.0",
"monaco-editor-core": "^0.37.0-dev.20230330",
"monaco-editor-core": "^0.37.0-dev.20230403",
"parcel": "^2.7.0",
"pin-github-action": "^1.8.0",
"playwright": "^1.18.1",

@ -803,6 +803,8 @@ export class DocumentFormattingEditProvider<T extends ILanguageWorkerWithFormat>
export class DocumentRangeFormattingEditProvider<T extends ILanguageWorkerWithFormat>
implements languages.DocumentRangeFormattingEditProvider
{
readonly canFormatMultipleRanges = false;
constructor(private _worker: WorkerAccessor<T>) {}
public provideDocumentRangeFormattingEdits(

@ -989,6 +989,8 @@ export class FormatAdapter
extends FormatHelper
implements languages.DocumentRangeFormattingEditProvider
{
readonly canFormatMultipleRanges = false;
public async provideDocumentRangeFormattingEdits(
model: editor.ITextModel,
range: Range,

Loading…
Cancel
Save