mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 18:32:56 +01:00
Merge pull request #3882 from microsoft/hediet/b/monaco-editor-core-bugfix
Adopts latest monaco-editor-core
This commit is contained in:
commit
689a4b89b2
4 changed files with 12 additions and 8 deletions
14
package-lock.json
generated
14
package-lock.json
generated
|
|
@ -25,7 +25,7 @@
|
||||||
"jsdom": "^19.0.0",
|
"jsdom": "^19.0.0",
|
||||||
"jsonc-parser": "^3.0.0",
|
"jsonc-parser": "^3.0.0",
|
||||||
"mocha": "^9.2.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",
|
"parcel": "^2.7.0",
|
||||||
"pin-github-action": "^1.8.0",
|
"pin-github-action": "^1.8.0",
|
||||||
"playwright": "^1.18.1",
|
"playwright": "^1.18.1",
|
||||||
|
|
@ -5170,9 +5170,9 @@
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"node_modules/monaco-editor-core": {
|
"node_modules/monaco-editor-core": {
|
||||||
"version": "0.37.0-dev.20230330",
|
"version": "0.37.0-dev.20230403",
|
||||||
"resolved": "https://registry.npmjs.org/monaco-editor-core/-/monaco-editor-core-0.37.0-dev.20230330.tgz",
|
"resolved": "https://registry.npmjs.org/monaco-editor-core/-/monaco-editor-core-0.37.0-dev.20230403.tgz",
|
||||||
"integrity": "sha512-GHp8zu1tTHWbdBzo6A7/P3Sdsn1LgXIzh5I8kI7RWm5jBSIlnet0t+3hDXXyaoXX4zohIMW5hN7ADsihBwKkSQ==",
|
"integrity": "sha512-p77v5G3WNBSSCLY8ORkNkP5XmAOQj7QwxkyzyILj+sWFbw3/1B9SIead0QS368FHV7JKCZ8/LR5T5ccBUZJlJg==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"node_modules/mri": {
|
"node_modules/mri": {
|
||||||
|
|
@ -10943,9 +10943,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"monaco-editor-core": {
|
"monaco-editor-core": {
|
||||||
"version": "0.37.0-dev.20230330",
|
"version": "0.37.0-dev.20230403",
|
||||||
"resolved": "https://registry.npmjs.org/monaco-editor-core/-/monaco-editor-core-0.37.0-dev.20230330.tgz",
|
"resolved": "https://registry.npmjs.org/monaco-editor-core/-/monaco-editor-core-0.37.0-dev.20230403.tgz",
|
||||||
"integrity": "sha512-GHp8zu1tTHWbdBzo6A7/P3Sdsn1LgXIzh5I8kI7RWm5jBSIlnet0t+3hDXXyaoXX4zohIMW5hN7ADsihBwKkSQ==",
|
"integrity": "sha512-p77v5G3WNBSSCLY8ORkNkP5XmAOQj7QwxkyzyILj+sWFbw3/1B9SIead0QS368FHV7JKCZ8/LR5T5ccBUZJlJg==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"mri": {
|
"mri": {
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,7 @@
|
||||||
"jsdom": "^19.0.0",
|
"jsdom": "^19.0.0",
|
||||||
"jsonc-parser": "^3.0.0",
|
"jsonc-parser": "^3.0.0",
|
||||||
"mocha": "^9.2.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",
|
"parcel": "^2.7.0",
|
||||||
"pin-github-action": "^1.8.0",
|
"pin-github-action": "^1.8.0",
|
||||||
"playwright": "^1.18.1",
|
"playwright": "^1.18.1",
|
||||||
|
|
|
||||||
|
|
@ -803,6 +803,8 @@ export class DocumentFormattingEditProvider<T extends ILanguageWorkerWithFormat>
|
||||||
export class DocumentRangeFormattingEditProvider<T extends ILanguageWorkerWithFormat>
|
export class DocumentRangeFormattingEditProvider<T extends ILanguageWorkerWithFormat>
|
||||||
implements languages.DocumentRangeFormattingEditProvider
|
implements languages.DocumentRangeFormattingEditProvider
|
||||||
{
|
{
|
||||||
|
readonly canFormatMultipleRanges = false;
|
||||||
|
|
||||||
constructor(private _worker: WorkerAccessor<T>) {}
|
constructor(private _worker: WorkerAccessor<T>) {}
|
||||||
|
|
||||||
public provideDocumentRangeFormattingEdits(
|
public provideDocumentRangeFormattingEdits(
|
||||||
|
|
|
||||||
|
|
@ -989,6 +989,8 @@ export class FormatAdapter
|
||||||
extends FormatHelper
|
extends FormatHelper
|
||||||
implements languages.DocumentRangeFormattingEditProvider
|
implements languages.DocumentRangeFormattingEditProvider
|
||||||
{
|
{
|
||||||
|
readonly canFormatMultipleRanges = false;
|
||||||
|
|
||||||
public async provideDocumentRangeFormattingEdits(
|
public async provideDocumentRangeFormattingEdits(
|
||||||
model: editor.ITextModel,
|
model: editor.ITextModel,
|
||||||
range: Range,
|
range: Range,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue