monaco-editor 0.56.0-dev-20260206 → 0.56.0-dev-20260210
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/dev/vs/basic-languages/monaco.contribution.js +18 -18
- package/dev/vs/{cssMode-DDSek8Dg.js → cssMode-20FHw3Bt.js} +1 -1
- package/dev/vs/editor/editor.main.css +9 -0
- package/dev/vs/editor/editor.main.js +1 -1
- package/dev/vs/{editor-BkeNjw2x.js → editor-DrF03AS2.js} +118 -39
- package/dev/vs/editor.js +1 -1
- package/dev/vs/{freemarker2-D-4TJaUk.js → freemarker2-CfJBmphn.js} +1 -1
- package/dev/vs/{handlebars-DfOIxi_9.js → handlebars-qWwwDj7S.js} +1 -1
- package/dev/vs/{html-Cy0huX8Z.js → html-CmRd3U7F.js} +1 -1
- package/dev/vs/{htmlMode-DIjVhPH8.js → htmlMode-CLKnBX5F.js} +1 -1
- package/dev/vs/{index-BhAN5HYF.js → index-8jEY7ttd.js} +1 -1
- package/dev/vs/index.js +1 -1
- package/dev/vs/{javascript-D4QazVvS.js → javascript-DwIDwuMF.js} +1 -1
- package/dev/vs/{jsonMode-AnvxTtAN.js → jsonMode-C9RZvcVS.js} +1 -1
- package/dev/vs/language/css/monaco.contribution.js +1 -1
- package/dev/vs/language/html/monaco.contribution.js +1 -1
- package/dev/vs/language/json/monaco.contribution.js +1 -1
- package/dev/vs/language/typescript/monaco.contribution.js +1 -1
- package/dev/vs/{liquid-BIbXX2O4.js → liquid-Cm-D4Qi5.js} +1 -1
- package/dev/vs/{lspLanguageFeatures-DjPJXV-z.js → lspLanguageFeatures-By5Vx9b_.js} +1 -1
- package/dev/vs/{mdx-BJqhM3PD.js → mdx-BA3G3Lb_.js} +1 -1
- package/dev/vs/{monaco.contribution-BIPg8RB1.js → monaco.contribution-BCN_3wo5.js} +2 -2
- package/dev/vs/{monaco.contribution-Diam8SRy.js → monaco.contribution-BiX2_T8l.js} +2 -2
- package/dev/vs/{monaco.contribution-Dmf9c5aO.js → monaco.contribution-Ca-tP4X6.js} +2 -2
- package/dev/vs/{monaco.contribution-jo4Dwi1Q.js → monaco.contribution-hKx9O68g.js} +2 -2
- package/dev/vs/nls/lang/cs.js +1 -1
- package/dev/vs/nls/lang/de.js +1 -1
- package/dev/vs/nls/lang/es.js +1 -1
- package/dev/vs/nls/lang/fr.js +1 -1
- package/dev/vs/nls/lang/it.js +1 -1
- package/dev/vs/nls/lang/ja.js +1 -1
- package/dev/vs/nls/lang/ko.js +1 -1
- package/dev/vs/nls/lang/pl.js +1 -1
- package/dev/vs/nls/lang/pt-br.js +1 -1
- package/dev/vs/nls/lang/ru.js +1 -1
- package/dev/vs/nls/lang/tr.js +1 -1
- package/dev/vs/nls/lang/zh-cn.js +1 -1
- package/dev/vs/nls/lang/zh-tw.js +1 -1
- package/dev/vs/{python-CiqaSL5P.js → python-Fbo0sb43.js} +1 -1
- package/dev/vs/{razor-BhWAwCIQ.js → razor-96DKrN2F.js} +1 -1
- package/dev/vs/{toggleHighContrast-BaIaZJsC.js → toggleHighContrast-BVMPiDSk.js} +76 -35
- package/dev/vs/{tsMode-BIh3SF-H.js → tsMode-DMtMSnAv.js} +1 -1
- package/dev/vs/{typescript-DzsbZl36.js → typescript-sqjSwLYb.js} +1 -1
- package/dev/vs/{workers-DXsZHj4F.js → workers-B23aXNiN.js} +1 -1
- package/dev/vs/{xml-DucqUiIX.js → xml-D1w-HAcW.js} +1 -1
- package/dev/vs/{yaml-D6WvQ8dJ.js → yaml-DZyb72oK.js} +1 -1
- package/esm/vs/base/browser/pixelRatio.js +2 -1
- package/esm/vs/base/browser/ui/actionbar/actionViewItems.js +3 -3
- package/esm/vs/editor/browser/controller/editContext/textArea/textAreaEditContextInput.js +2 -1
- package/esm/vs/editor/browser/view.js +10 -7
- package/esm/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +6 -3
- package/esm/vs/editor/browser/widget/codeEditor/embeddedCodeEditorWidget.js +5 -3
- package/esm/vs/editor/browser/widget/diffEditor/diffProviderFactoryService.js +1 -0
- package/esm/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsImpl.js +1 -1
- package/esm/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/bracketPairsTree.js +1 -1
- package/esm/vs/editor/common/model/bracketPairsTextModelPart/colorizedBracketPairsDecorationProvider.js +1 -1
- package/esm/vs/editor/common/model/textModel.js +1 -1
- package/esm/vs/editor/common/model/tokens/abstractSyntaxTokenBackend.js +3 -0
- package/esm/vs/editor/common/model/tokens/tokenizationFontDecorationsProvider.js +2 -2
- package/esm/vs/editor/common/viewModel/minimapTokensColorTracker.js +1 -1
- package/esm/vs/editor/contrib/codelens/browser/codelensController.js +1 -0
- package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerSaturationBox.js +2 -2
- package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerStrip.js +2 -2
- package/esm/vs/editor/contrib/find/browser/findController.js +1 -1
- package/esm/vs/editor/contrib/folding/browser/foldingModel.js +1 -0
- package/esm/vs/editor/contrib/folding/browser/hiddenRangeModel.js +1 -0
- package/esm/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +1 -0
- package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +12 -8
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsSideBySideView.js +6 -3
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.js +14 -5
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/utils.js +2 -2
- package/esm/vs/editor/contrib/parameterHints/browser/parameterHintsModel.js +1 -1
- package/esm/vs/editor/contrib/peekView/browser/peekView.js +1 -0
- package/esm/vs/editor/contrib/rename/browser/renameWidget.js +2 -2
- package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +5 -1
- package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +5 -5
- package/esm/vs/editor/contrib/suggest/browser/suggestWidget.js +5 -0
- package/esm/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -0
- package/esm/vs/editor/standalone/browser/standaloneCodeEditor.js +9 -6
- package/esm/vs/editor/standalone/browser/standaloneServices.js +9 -5
- package/esm/vs/nls/lang/cs.js +1 -1
- package/esm/vs/nls/lang/de.js +1 -1
- package/esm/vs/nls/lang/es.js +1 -1
- package/esm/vs/nls/lang/fr.js +1 -1
- package/esm/vs/nls/lang/it.js +1 -1
- package/esm/vs/nls/lang/ja.js +1 -1
- package/esm/vs/nls/lang/ko.js +1 -1
- package/esm/vs/nls/lang/pl.js +1 -1
- package/esm/vs/nls/lang/pt-br.js +1 -1
- package/esm/vs/nls/lang/ru.js +1 -1
- package/esm/vs/nls/lang/tr.js +1 -1
- package/esm/vs/nls/lang/zh-cn.js +1 -1
- package/esm/vs/nls/lang/zh-tw.js +1 -1
- package/esm/vs/platform/accessibility/browser/accessibilityService.js +3 -3
- package/esm/vs/platform/actionWidget/browser/actionList.js +11 -0
- package/esm/vs/platform/actions/browser/menuEntryActionViewItem.css +9 -0
- package/esm/vs/platform/actions/common/actions.js +1 -0
- package/esm/vs/platform/quickinput/browser/quickInputList.js +4 -4
- package/esm/vs/platform/quickinput/browser/tree/quickInputTreeController.js +1 -1
- package/esm/vs/platform/userInteraction/browser/userInteractionService.js +9 -0
- package/esm/vs/platform/userInteraction/browser/userInteractionServiceImpl.js +66 -0
- package/min/vs/basic-languages/monaco.contribution.js +1 -1
- package/min/vs/{cssMode-CPzO8zkF.js → cssMode-Dtk6Ke7H.js} +1 -1
- package/min/vs/editor/editor.main.css +1 -1
- package/min/vs/editor/editor.main.js +1 -1
- package/min/vs/{editor-BydbxBCU.js → editor-BduHCmR_.js} +106 -106
- package/min/vs/editor.js +1 -1
- package/min/vs/{freemarker2-DoyxZqie.js → freemarker2-DggjejVk.js} +1 -1
- package/min/vs/{handlebars-DTPP75TL.js → handlebars-U8hV9xwK.js} +1 -1
- package/min/vs/{html-DPyXWM5J.js → html-Bw3G5TBw.js} +1 -1
- package/min/vs/{htmlMode-DC2pf2J_.js → htmlMode-B4WtNgZX.js} +1 -1
- package/min/vs/{index-Il-GmO2X.js → index-B1xVWKeh.js} +1 -1
- package/min/vs/index.js +1 -1
- package/min/vs/{javascript-DL2hpqqY.js → javascript-s1jZ6M-L.js} +1 -1
- package/min/vs/{jsonMode-Bz5OpZ7n.js → jsonMode-DFco-8HJ.js} +1 -1
- package/min/vs/language/css/monaco.contribution.js +1 -1
- package/min/vs/language/html/monaco.contribution.js +1 -1
- package/min/vs/language/json/monaco.contribution.js +1 -1
- package/min/vs/language/typescript/monaco.contribution.js +1 -1
- package/min/vs/{liquid-DUhaANg3.js → liquid-BH39By04.js} +1 -1
- package/min/vs/{lspLanguageFeatures-B7-JlmnX.js → lspLanguageFeatures-Bp-D7wPl.js} +1 -1
- package/min/vs/{mdx-BZMbvN7b.js → mdx-BJ9zg9bg.js} +1 -1
- package/min/vs/{monaco.contribution-lEwaOsMb.js → monaco.contribution-CKQHENf3.js} +1 -1
- package/min/vs/{monaco.contribution-1UmLnp9w.js → monaco.contribution-CqpoUT2N.js} +1 -1
- package/min/vs/{monaco.contribution-D9aiJhrc.js → monaco.contribution-Dm8G9ztm.js} +1 -1
- package/min/vs/{monaco.contribution-LpYJLh0L.js → monaco.contribution-DtdXfI7c.js} +1 -1
- package/min/vs/nls/lang/cs.js +1 -1
- package/min/vs/nls/lang/de.js +1 -1
- package/min/vs/nls/lang/es.js +1 -1
- package/min/vs/nls/lang/fr.js +1 -1
- package/min/vs/nls/lang/it.js +1 -1
- package/min/vs/nls/lang/ja.js +1 -1
- package/min/vs/nls/lang/ko.js +1 -1
- package/min/vs/nls/lang/pl.js +1 -1
- package/min/vs/nls/lang/pt-br.js +1 -1
- package/min/vs/nls/lang/ru.js +1 -1
- package/min/vs/nls/lang/tr.js +1 -1
- package/min/vs/nls/lang/zh-cn.js +1 -1
- package/min/vs/nls/lang/zh-tw.js +1 -1
- package/min/vs/{python-DPp3QvMD.js → python-Do0yfd3M.js} +1 -1
- package/min/vs/{razor-D80IkUBo.js → razor-CLpg5HqA.js} +1 -1
- package/min/vs/{toggleHighContrast-C4RRexMn.js → toggleHighContrast-Fn6BxHzx.js} +30 -30
- package/min/vs/{tsMode-Csww5Qa9.js → tsMode-BvOkIQV0.js} +1 -1
- package/min/vs/{typescript-_NUtcQ0c.js → typescript-Cu5mLnsm.js} +1 -1
- package/min/vs/{workers-l9_xt0X-.js → workers-BIU7K8Hn.js} +1 -1
- package/min/vs/{xml-djEIiM06.js → xml-6xPIuonq.js} +1 -1
- package/min/vs/{yaml-BR0HRoyU.js → yaml-CVNt35SY.js} +1 -1
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define("vs/basic-languages/monaco.contribution", ["require", "../editor-
|
|
1
|
+
define("vs/basic-languages/monaco.contribution", ["require", "../editor-DrF03AS2"], (function(require, editor) {
|
|
2
2
|
"use strict";
|
|
3
3
|
const languageDefinitions = {};
|
|
4
4
|
const lazyLanguageLoaders = {};
|
|
@@ -174,49 +174,49 @@ define("vs/basic-languages/monaco.contribution", ["require", "../editor-BkeNjw2x
|
|
|
174
174
|
extensions: [".ftl", ".ftlh", ".ftlx"],
|
|
175
175
|
aliases: ["FreeMarker2", "Apache FreeMarker2"],
|
|
176
176
|
loader: () => {
|
|
177
|
-
return new Promise((resolve, reject) => require(["../freemarker2-
|
|
177
|
+
return new Promise((resolve, reject) => require(["../freemarker2-CfJBmphn"], resolve, reject)).then((m) => m.TagAutoInterpolationDollar);
|
|
178
178
|
}
|
|
179
179
|
});
|
|
180
180
|
registerLanguage({
|
|
181
181
|
id: "freemarker2.tag-angle.interpolation-dollar",
|
|
182
182
|
aliases: ["FreeMarker2 (Angle/Dollar)", "Apache FreeMarker2 (Angle/Dollar)"],
|
|
183
183
|
loader: () => {
|
|
184
|
-
return new Promise((resolve, reject) => require(["../freemarker2-
|
|
184
|
+
return new Promise((resolve, reject) => require(["../freemarker2-CfJBmphn"], resolve, reject)).then((m) => m.TagAngleInterpolationDollar);
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
187
|
registerLanguage({
|
|
188
188
|
id: "freemarker2.tag-bracket.interpolation-dollar",
|
|
189
189
|
aliases: ["FreeMarker2 (Bracket/Dollar)", "Apache FreeMarker2 (Bracket/Dollar)"],
|
|
190
190
|
loader: () => {
|
|
191
|
-
return new Promise((resolve, reject) => require(["../freemarker2-
|
|
191
|
+
return new Promise((resolve, reject) => require(["../freemarker2-CfJBmphn"], resolve, reject)).then((m) => m.TagBracketInterpolationDollar);
|
|
192
192
|
}
|
|
193
193
|
});
|
|
194
194
|
registerLanguage({
|
|
195
195
|
id: "freemarker2.tag-angle.interpolation-bracket",
|
|
196
196
|
aliases: ["FreeMarker2 (Angle/Bracket)", "Apache FreeMarker2 (Angle/Bracket)"],
|
|
197
197
|
loader: () => {
|
|
198
|
-
return new Promise((resolve, reject) => require(["../freemarker2-
|
|
198
|
+
return new Promise((resolve, reject) => require(["../freemarker2-CfJBmphn"], resolve, reject)).then((m) => m.TagAngleInterpolationBracket);
|
|
199
199
|
}
|
|
200
200
|
});
|
|
201
201
|
registerLanguage({
|
|
202
202
|
id: "freemarker2.tag-bracket.interpolation-bracket",
|
|
203
203
|
aliases: ["FreeMarker2 (Bracket/Bracket)", "Apache FreeMarker2 (Bracket/Bracket)"],
|
|
204
204
|
loader: () => {
|
|
205
|
-
return new Promise((resolve, reject) => require(["../freemarker2-
|
|
205
|
+
return new Promise((resolve, reject) => require(["../freemarker2-CfJBmphn"], resolve, reject)).then((m) => m.TagBracketInterpolationBracket);
|
|
206
206
|
}
|
|
207
207
|
});
|
|
208
208
|
registerLanguage({
|
|
209
209
|
id: "freemarker2.tag-auto.interpolation-dollar",
|
|
210
210
|
aliases: ["FreeMarker2 (Auto/Dollar)", "Apache FreeMarker2 (Auto/Dollar)"],
|
|
211
211
|
loader: () => {
|
|
212
|
-
return new Promise((resolve, reject) => require(["../freemarker2-
|
|
212
|
+
return new Promise((resolve, reject) => require(["../freemarker2-CfJBmphn"], resolve, reject)).then((m) => m.TagAutoInterpolationDollar);
|
|
213
213
|
}
|
|
214
214
|
});
|
|
215
215
|
registerLanguage({
|
|
216
216
|
id: "freemarker2.tag-auto.interpolation-bracket",
|
|
217
217
|
aliases: ["FreeMarker2 (Auto/Bracket)", "Apache FreeMarker2 (Auto/Bracket)"],
|
|
218
218
|
loader: () => {
|
|
219
|
-
return new Promise((resolve, reject) => require(["../freemarker2-
|
|
219
|
+
return new Promise((resolve, reject) => require(["../freemarker2-CfJBmphn"], resolve, reject)).then((m) => m.TagAutoInterpolationBracket);
|
|
220
220
|
}
|
|
221
221
|
});
|
|
222
222
|
registerLanguage({
|
|
@@ -237,7 +237,7 @@ define("vs/basic-languages/monaco.contribution", ["require", "../editor-BkeNjw2x
|
|
|
237
237
|
extensions: [".handlebars", ".hbs"],
|
|
238
238
|
aliases: ["Handlebars", "handlebars", "hbs"],
|
|
239
239
|
mimetypes: ["text/x-handlebars-template"],
|
|
240
|
-
loader: () => new Promise((resolve, reject) => require(["../handlebars-
|
|
240
|
+
loader: () => new Promise((resolve, reject) => require(["../handlebars-qWwwDj7S"], resolve, reject))
|
|
241
241
|
});
|
|
242
242
|
registerLanguage({
|
|
243
243
|
id: "hcl",
|
|
@@ -250,7 +250,7 @@ define("vs/basic-languages/monaco.contribution", ["require", "../editor-BkeNjw2x
|
|
|
250
250
|
extensions: [".html", ".htm", ".shtml", ".xhtml", ".mdoc", ".jsp", ".asp", ".aspx", ".jshtm"],
|
|
251
251
|
aliases: ["HTML", "htm", "html", "xhtml"],
|
|
252
252
|
mimetypes: ["text/html", "text/x-jshtm", "text/template", "text/ng-template"],
|
|
253
|
-
loader: () => new Promise((resolve, reject) => require(["../html-
|
|
253
|
+
loader: () => new Promise((resolve, reject) => require(["../html-CmRd3U7F"], resolve, reject))
|
|
254
254
|
});
|
|
255
255
|
registerLanguage({
|
|
256
256
|
id: "ini",
|
|
@@ -273,7 +273,7 @@ define("vs/basic-languages/monaco.contribution", ["require", "../editor-BkeNjw2x
|
|
|
273
273
|
filenames: ["jakefile"],
|
|
274
274
|
aliases: ["JavaScript", "javascript", "js"],
|
|
275
275
|
mimetypes: ["text/javascript"],
|
|
276
|
-
loader: () => new Promise((resolve, reject) => require(["../javascript-
|
|
276
|
+
loader: () => new Promise((resolve, reject) => require(["../javascript-DwIDwuMF"], resolve, reject))
|
|
277
277
|
});
|
|
278
278
|
registerLanguage({
|
|
279
279
|
id: "julia",
|
|
@@ -312,7 +312,7 @@ define("vs/basic-languages/monaco.contribution", ["require", "../editor-BkeNjw2x
|
|
|
312
312
|
extensions: [".liquid", ".html.liquid"],
|
|
313
313
|
aliases: ["Liquid", "liquid"],
|
|
314
314
|
mimetypes: ["application/liquid"],
|
|
315
|
-
loader: () => new Promise((resolve, reject) => require(["../liquid-
|
|
315
|
+
loader: () => new Promise((resolve, reject) => require(["../liquid-Cm-D4Qi5"], resolve, reject))
|
|
316
316
|
});
|
|
317
317
|
registerLanguage({
|
|
318
318
|
id: "m3",
|
|
@@ -330,7 +330,7 @@ define("vs/basic-languages/monaco.contribution", ["require", "../editor-BkeNjw2x
|
|
|
330
330
|
id: "mdx",
|
|
331
331
|
extensions: [".mdx"],
|
|
332
332
|
aliases: ["MDX", "mdx"],
|
|
333
|
-
loader: () => new Promise((resolve, reject) => require(["../mdx-
|
|
333
|
+
loader: () => new Promise((resolve, reject) => require(["../mdx-BA3G3Lb_"], resolve, reject))
|
|
334
334
|
});
|
|
335
335
|
registerLanguage({
|
|
336
336
|
id: "mips",
|
|
@@ -429,7 +429,7 @@ define("vs/basic-languages/monaco.contribution", ["require", "../editor-BkeNjw2x
|
|
|
429
429
|
extensions: [".py", ".rpy", ".pyw", ".cpy", ".gyp", ".gypi"],
|
|
430
430
|
aliases: ["Python", "py"],
|
|
431
431
|
firstLine: "^#!/.*\\bpython[0-9.-]*\\b",
|
|
432
|
-
loader: () => new Promise((resolve, reject) => require(["../python-
|
|
432
|
+
loader: () => new Promise((resolve, reject) => require(["../python-Fbo0sb43"], resolve, reject))
|
|
433
433
|
});
|
|
434
434
|
registerLanguage({
|
|
435
435
|
id: "qsharp",
|
|
@@ -448,7 +448,7 @@ define("vs/basic-languages/monaco.contribution", ["require", "../editor-BkeNjw2x
|
|
|
448
448
|
extensions: [".cshtml"],
|
|
449
449
|
aliases: ["Razor", "razor"],
|
|
450
450
|
mimetypes: ["text/x-cshtml"],
|
|
451
|
-
loader: () => new Promise((resolve, reject) => require(["../razor-
|
|
451
|
+
loader: () => new Promise((resolve, reject) => require(["../razor-96DKrN2F"], resolve, reject))
|
|
452
452
|
});
|
|
453
453
|
registerLanguage({
|
|
454
454
|
id: "redis",
|
|
@@ -581,7 +581,7 @@ define("vs/basic-languages/monaco.contribution", ["require", "../editor-BkeNjw2x
|
|
|
581
581
|
aliases: ["TypeScript", "ts", "typescript"],
|
|
582
582
|
mimetypes: ["text/typescript"],
|
|
583
583
|
loader: () => {
|
|
584
|
-
return new Promise((resolve, reject) => require(["../typescript-
|
|
584
|
+
return new Promise((resolve, reject) => require(["../typescript-sqjSwLYb"], resolve, reject));
|
|
585
585
|
}
|
|
586
586
|
});
|
|
587
587
|
registerLanguage({
|
|
@@ -626,13 +626,13 @@ define("vs/basic-languages/monaco.contribution", ["require", "../editor-BkeNjw2x
|
|
|
626
626
|
firstLine: "(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)",
|
|
627
627
|
aliases: ["XML", "xml"],
|
|
628
628
|
mimetypes: ["text/xml", "application/xml", "application/xaml+xml", "application/xml-dtd"],
|
|
629
|
-
loader: () => new Promise((resolve, reject) => require(["../xml-
|
|
629
|
+
loader: () => new Promise((resolve, reject) => require(["../xml-D1w-HAcW"], resolve, reject))
|
|
630
630
|
});
|
|
631
631
|
registerLanguage({
|
|
632
632
|
id: "yaml",
|
|
633
633
|
extensions: [".yaml", ".yml"],
|
|
634
634
|
aliases: ["YAML", "yaml", "YML", "yml"],
|
|
635
635
|
mimetypes: ["application/x-yaml", "text/x-yaml"],
|
|
636
|
-
loader: () => new Promise((resolve, reject) => require(["../yaml-
|
|
636
|
+
loader: () => new Promise((resolve, reject) => require(["../yaml-DZyb72oK"], resolve, reject))
|
|
637
637
|
});
|
|
638
638
|
}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define("vs/cssMode-
|
|
1
|
+
define("vs/cssMode-20FHw3Bt", ["exports", "./css.worker-pxsaEmh2", "./workers-B23aXNiN", "./lspLanguageFeatures-By5Vx9b_", "./editor-DrF03AS2"], (function(exports, css_worker, workers, lspLanguageFeatures, editor) {
|
|
2
2
|
"use strict";
|
|
3
3
|
const STOP_WHEN_IDLE_FOR = 2 * 60 * 1e3;
|
|
4
4
|
class WorkerManager {
|
|
@@ -1702,6 +1702,15 @@
|
|
|
1702
1702
|
background-size: 16px;
|
|
1703
1703
|
}
|
|
1704
1704
|
|
|
1705
|
+
.monaco-dropdown-with-default > .action-container.disabled {
|
|
1706
|
+
cursor: default;
|
|
1707
|
+
}
|
|
1708
|
+
|
|
1709
|
+
.monaco-dropdown-with-default > .action-container.disabled > .action-label {
|
|
1710
|
+
opacity: 0.4;
|
|
1711
|
+
pointer-events: none;
|
|
1712
|
+
}
|
|
1713
|
+
|
|
1705
1714
|
.monaco-dropdown-with-default:hover {
|
|
1706
1715
|
background-color: var(--vscode-toolbar-hoverBackground);
|
|
1707
1716
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define("vs/editor/editor.main", ["exports", "../json.worker-BZNFCtUy", "../css.worker-pxsaEmh2", "../html.worker-e5FEhuNy", "../ts.worker-CNus01y8", "require", "vs/nls.messages-loader!", "../index-
|
|
1
|
+
define("vs/editor/editor.main", ["exports", "../json.worker-BZNFCtUy", "../css.worker-pxsaEmh2", "../html.worker-e5FEhuNy", "../ts.worker-CNus01y8", "require", "vs/nls.messages-loader!", "../index-8jEY7ttd", "../monaco.contribution-hKx9O68g", "../editor-DrF03AS2", "../monaco.contribution-Ca-tP4X6", "../monaco.contribution-BiX2_T8l", "../monaco.contribution-BCN_3wo5"], (function(exports, json_worker, css_worker, html_worker, ts_worker, require, nls_messagesLoader_, index, src_deprecated_language_css_monaco_contribution_ts, editor, src_deprecated_language_html_monaco_contribution_ts, src_deprecated_language_typescript_monaco_contribution_ts, src_deprecated_language_json_monaco_contribution_ts) {
|
|
2
2
|
"use strict";
|
|
3
3
|
function _interopNamespaceDefault(e) {
|
|
4
4
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define("vs/editor-
|
|
1
|
+
define("vs/editor-DrF03AS2", ["require", "exports", "./editorWorkerHost-DEXzajWn"], (function(require, exports, editorWorkerHost) {
|
|
2
2
|
"use strict";
|
|
3
3
|
var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u;
|
|
4
4
|
const EditorZoom = new class {
|
|
@@ -7890,6 +7890,7 @@ define("vs/editor-BkeNjw2x", ["require", "exports", "./editorWorkerHost-DEXzajWn
|
|
|
7890
7890
|
this._listener = () => this._handleChange(targetWindow, true);
|
|
7891
7891
|
this._mediaQueryList = null;
|
|
7892
7892
|
this._handleChange(targetWindow, false);
|
|
7893
|
+
this._register(editorWorkerHost.toDisposable(() => this._mediaQueryList?.removeEventListener("change", this._listener)));
|
|
7893
7894
|
}
|
|
7894
7895
|
_handleChange(targetWindow, fireEvent) {
|
|
7895
7896
|
this._mediaQueryList?.removeEventListener("change", this._listener);
|
|
@@ -11001,6 +11002,7 @@ define("vs/editor-BkeNjw2x", ["require", "exports", "./editorWorkerHost-DEXzajWn
|
|
|
11001
11002
|
_MenuId.ChatEditingCodeBlockContext = new _MenuId("ChatEditingCodeBlockContext");
|
|
11002
11003
|
_MenuId.ChatTitleBarMenu = new _MenuId("ChatTitleBarMenu");
|
|
11003
11004
|
_MenuId.ChatAttachmentsContext = new _MenuId("ChatAttachmentsContext");
|
|
11005
|
+
_MenuId.ChatTipContext = new _MenuId("ChatTipContext");
|
|
11004
11006
|
_MenuId.ChatToolOutputResourceToolbar = new _MenuId("ChatToolOutputResourceToolbar");
|
|
11005
11007
|
_MenuId.ChatTextEditorMenu = new _MenuId("ChatTextEditorMenu");
|
|
11006
11008
|
_MenuId.ChatToolOutputResourceContext = new _MenuId("ChatToolOutputResourceContext");
|
|
@@ -23901,7 +23903,7 @@ define("vs/editor-BkeNjw2x", ["require", "exports", "./editorWorkerHost-DEXzajWn
|
|
|
23901
23903
|
}
|
|
23902
23904
|
this._register(editorWorkerHost.Event.runAndSubscribe(this._accessibilityService.onDidChangeScreenReaderOptimized, () => {
|
|
23903
23905
|
if (this._accessibilityService.isScreenReaderOptimized() && !this._asyncFocusGainWriteScreenReaderContent.value) {
|
|
23904
|
-
this._asyncFocusGainWriteScreenReaderContent.value =
|
|
23906
|
+
this._asyncFocusGainWriteScreenReaderContent.value = new editorWorkerHost.RunOnceScheduler(() => this.writeNativeTextAreaContent("asyncFocusGain"), 0);
|
|
23905
23907
|
} else {
|
|
23906
23908
|
this._asyncFocusGainWriteScreenReaderContent.clear();
|
|
23907
23909
|
}
|
|
@@ -34996,7 +34998,7 @@ define("vs/editor-BkeNjw2x", ["require", "exports", "./editorWorkerHost-DEXzajWn
|
|
|
34996
34998
|
}
|
|
34997
34999
|
constructor() {
|
|
34998
35000
|
super();
|
|
34999
|
-
this._onDidChange = new editorWorkerHost.Emitter();
|
|
35001
|
+
this._onDidChange = this._register(new editorWorkerHost.Emitter());
|
|
35000
35002
|
this.onDidChange = this._onDidChange.event;
|
|
35001
35003
|
this._updateColorMap();
|
|
35002
35004
|
this._register(editorWorkerHost.TokenizationRegistry.onDidChange((e) => {
|
|
@@ -45331,6 +45333,7 @@ struct VSOutput {
|
|
|
45331
45333
|
};
|
|
45332
45334
|
_GpuMarkOverlay.CLASS_NAME = "gpu-mark";
|
|
45333
45335
|
let GpuMarkOverlay = _GpuMarkOverlay;
|
|
45336
|
+
const IUserInteractionService = createDecorator("userInteractionService");
|
|
45334
45337
|
var __decorate$X = function(decorators, target, key, desc) {
|
|
45335
45338
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
45336
45339
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -45343,9 +45346,10 @@ struct VSOutput {
|
|
|
45343
45346
|
};
|
|
45344
45347
|
};
|
|
45345
45348
|
let View$1 = class View extends ViewEventHandler {
|
|
45346
|
-
constructor(editorContainer, ownerID, commandDelegate, configuration, colorTheme, model, userInputEvents, overflowWidgetsDomNode, _instantiationService) {
|
|
45349
|
+
constructor(editorContainer, ownerID, commandDelegate, configuration, colorTheme, model, userInputEvents, overflowWidgetsDomNode, _instantiationService, _userInteractionService) {
|
|
45347
45350
|
super();
|
|
45348
45351
|
this._instantiationService = _instantiationService;
|
|
45352
|
+
this._userInteractionService = _userInteractionService;
|
|
45349
45353
|
this._editContextClipboardListeners = new editorWorkerHost.DisposableStore();
|
|
45350
45354
|
this._onWillCopy = this._register(new editorWorkerHost.Emitter());
|
|
45351
45355
|
this.onWillCopy = this._onWillCopy.event;
|
|
@@ -45355,7 +45359,7 @@ struct VSOutput {
|
|
|
45355
45359
|
this.onWillPaste = this._onWillPaste.event;
|
|
45356
45360
|
this._shouldRecomputeGlyphMarginLanes = false;
|
|
45357
45361
|
this._ownerID = ownerID;
|
|
45358
|
-
this._widgetFocusTracker = this._register(new CodeEditorWidgetFocusTracker(editorContainer, overflowWidgetsDomNode));
|
|
45362
|
+
this._widgetFocusTracker = this._register(new CodeEditorWidgetFocusTracker(editorContainer, overflowWidgetsDomNode, this._userInteractionService));
|
|
45359
45363
|
this._register(this._widgetFocusTracker.onChange(() => {
|
|
45360
45364
|
this._context.viewModel.setHasWidgetFocus(this._widgetFocusTracker.hasFocus());
|
|
45361
45365
|
}));
|
|
@@ -45916,7 +45920,8 @@ struct VSOutput {
|
|
|
45916
45920
|
}
|
|
45917
45921
|
};
|
|
45918
45922
|
View$1 = __decorate$X([
|
|
45919
|
-
__param$S(8, IInstantiationService)
|
|
45923
|
+
__param$S(8, IInstantiationService),
|
|
45924
|
+
__param$S(9, IUserInteractionService)
|
|
45920
45925
|
], View$1);
|
|
45921
45926
|
function safeInvokeNoArg(func) {
|
|
45922
45927
|
try {
|
|
@@ -46000,13 +46005,13 @@ struct VSOutput {
|
|
|
46000
46005
|
_EditorRenderingCoordinator.INSTANCE = new _EditorRenderingCoordinator();
|
|
46001
46006
|
let EditorRenderingCoordinator = _EditorRenderingCoordinator;
|
|
46002
46007
|
class CodeEditorWidgetFocusTracker extends editorWorkerHost.Disposable {
|
|
46003
|
-
constructor(domElement, overflowWidgetsDomNode) {
|
|
46008
|
+
constructor(domElement, overflowWidgetsDomNode, userInteractionService) {
|
|
46004
46009
|
super();
|
|
46005
46010
|
this._onChange = this._register(new editorWorkerHost.Emitter());
|
|
46006
46011
|
this.onChange = this._onChange.event;
|
|
46007
46012
|
this._hadFocus = void 0;
|
|
46008
46013
|
this._hasDomElementFocus = false;
|
|
46009
|
-
this._domFocusTracker = this._register(
|
|
46014
|
+
this._domFocusTracker = this._register(userInteractionService.createDomFocusTracker(domElement));
|
|
46010
46015
|
this._overflowWidgetsDomNodeHasFocus = false;
|
|
46011
46016
|
this._register(this._domFocusTracker.onDidFocus(() => {
|
|
46012
46017
|
this._hasDomElementFocus = true;
|
|
@@ -46017,7 +46022,7 @@ struct VSOutput {
|
|
|
46017
46022
|
this._update();
|
|
46018
46023
|
}));
|
|
46019
46024
|
if (overflowWidgetsDomNode) {
|
|
46020
|
-
this._overflowWidgetsDomNode = this._register(
|
|
46025
|
+
this._overflowWidgetsDomNode = this._register(userInteractionService.createDomFocusTracker(overflowWidgetsDomNode));
|
|
46021
46026
|
this._register(this._overflowWidgetsDomNode.onDidFocus(() => {
|
|
46022
46027
|
this._overflowWidgetsDomNodeHasFocus = true;
|
|
46023
46028
|
this._update();
|
|
@@ -48659,7 +48664,7 @@ struct VSOutput {
|
|
|
48659
48664
|
super();
|
|
48660
48665
|
this.textModel = textModel;
|
|
48661
48666
|
this.getLanguageConfiguration = getLanguageConfiguration;
|
|
48662
|
-
this.didChangeEmitter = new editorWorkerHost.Emitter();
|
|
48667
|
+
this.didChangeEmitter = this._register(new editorWorkerHost.Emitter());
|
|
48663
48668
|
this.denseKeyProvider = new DenseKeyProvider();
|
|
48664
48669
|
this.brackets = new LanguageAgnosticBracketTokens(this.denseKeyProvider, this.getLanguageConfiguration);
|
|
48665
48670
|
this.onDidChange = this.didChangeEmitter.event;
|
|
@@ -48968,7 +48973,7 @@ struct VSOutput {
|
|
|
48968
48973
|
this.textModel = textModel;
|
|
48969
48974
|
this.languageConfigurationService = languageConfigurationService;
|
|
48970
48975
|
this.bracketPairsTree = this._register(new editorWorkerHost.MutableDisposable());
|
|
48971
|
-
this.onDidChangeEmitter = new editorWorkerHost.Emitter();
|
|
48976
|
+
this.onDidChangeEmitter = this._register(new editorWorkerHost.Emitter());
|
|
48972
48977
|
this.onDidChange = this.onDidChangeEmitter.event;
|
|
48973
48978
|
this.bracketsRequested = false;
|
|
48974
48979
|
}
|
|
@@ -49604,7 +49609,7 @@ struct VSOutput {
|
|
|
49604
49609
|
super();
|
|
49605
49610
|
this.textModel = textModel;
|
|
49606
49611
|
this.colorProvider = new ColorProvider();
|
|
49607
|
-
this.onDidChangeEmitter = new editorWorkerHost.Emitter();
|
|
49612
|
+
this.onDidChangeEmitter = this._register(new editorWorkerHost.Emitter());
|
|
49608
49613
|
this.onDidChange = this.onDidChangeEmitter.event;
|
|
49609
49614
|
this.colorizationOptions = textModel.getOptions().bracketPairColorizationOptions;
|
|
49610
49615
|
this._register(textModel.bracketPairs.onDidChange((e) => {
|
|
@@ -53629,6 +53634,9 @@ struct VSOutput {
|
|
|
53629
53634
|
this._onDidChangeVisibleRanges.fire({ view, state: void 0 });
|
|
53630
53635
|
this._viewsChanged.trigger(void 0);
|
|
53631
53636
|
}
|
|
53637
|
+
dispose() {
|
|
53638
|
+
this._onDidChangeVisibleRanges.dispose();
|
|
53639
|
+
}
|
|
53632
53640
|
}
|
|
53633
53641
|
class AttachedViewState {
|
|
53634
53642
|
constructor(visibleLineRanges, stabilized) {
|
|
@@ -54174,9 +54182,9 @@ struct VSOutput {
|
|
|
54174
54182
|
super();
|
|
54175
54183
|
this.textModel = textModel;
|
|
54176
54184
|
this.tokenizationTextModelPart = tokenizationTextModelPart;
|
|
54177
|
-
this._onDidChangeLineHeight = new editorWorkerHost.Emitter();
|
|
54185
|
+
this._onDidChangeLineHeight = this._register(new editorWorkerHost.Emitter());
|
|
54178
54186
|
this.onDidChangeLineHeight = this._onDidChangeLineHeight.event;
|
|
54179
|
-
this._onDidChangeFont = new editorWorkerHost.Emitter();
|
|
54187
|
+
this._onDidChangeFont = this._register(new editorWorkerHost.Emitter());
|
|
54180
54188
|
this.onDidChangeFont = this._onDidChangeFont.event;
|
|
54181
54189
|
this._fontAnnotatedString = new AnnotatedString();
|
|
54182
54190
|
this._register(this.tokenizationTextModelPart.onDidChangeFontTokens((fontChanges) => {
|
|
@@ -57434,7 +57442,7 @@ struct VSOutput {
|
|
|
57434
57442
|
this._eventEmitter = this._register(new DidChangeContentEmitter());
|
|
57435
57443
|
this._languageSelectionListener = this._register(new editorWorkerHost.MutableDisposable());
|
|
57436
57444
|
this._deltaDecorationCallCnt = 0;
|
|
57437
|
-
this._attachedViews = new AttachedViews();
|
|
57445
|
+
this._attachedViews = this._register(new AttachedViews());
|
|
57438
57446
|
this._viewModels = /* @__PURE__ */ new Set();
|
|
57439
57447
|
MODEL_ID$1++;
|
|
57440
57448
|
this.id = "$model" + MODEL_ID$1;
|
|
@@ -65645,7 +65653,7 @@ struct VSOutput {
|
|
|
65645
65653
|
get contextKeyService() {
|
|
65646
65654
|
return this._contextKeyService;
|
|
65647
65655
|
}
|
|
65648
|
-
constructor(domElement, _options, codeEditorWidgetOptions, instantiationService, codeEditorService, commandService, contextKeyService, themeService, notificationService, accessibilityService, languageConfigurationService, languageFeaturesService) {
|
|
65656
|
+
constructor(domElement, _options, codeEditorWidgetOptions, instantiationService, codeEditorService, commandService, contextKeyService, themeService, notificationService, accessibilityService, languageConfigurationService, languageFeaturesService, userInteractionService) {
|
|
65649
65657
|
super();
|
|
65650
65658
|
this.languageConfigurationService = languageConfigurationService;
|
|
65651
65659
|
this._deliveryQueue = editorWorkerHost.createEventDeliveryQueue();
|
|
@@ -65751,6 +65759,7 @@ struct VSOutput {
|
|
|
65751
65759
|
codeEditorService.willCreateCodeEditor();
|
|
65752
65760
|
const options = { ..._options };
|
|
65753
65761
|
this._domElement = domElement;
|
|
65762
|
+
this._userInteractionService = userInteractionService;
|
|
65754
65763
|
this._overflowWidgetsDomNode = options.overflowWidgetsDomNode;
|
|
65755
65764
|
delete options.overflowWidgetsDomNode;
|
|
65756
65765
|
this._id = ++EDITOR_ID;
|
|
@@ -67073,7 +67082,7 @@ struct VSOutput {
|
|
|
67073
67082
|
viewUserInputEvents.onMouseDrop = (e) => this._onMouseDrop.fire(e);
|
|
67074
67083
|
viewUserInputEvents.onMouseDropCanceled = (e) => this._onMouseDropCanceled.fire(e);
|
|
67075
67084
|
viewUserInputEvents.onMouseWheel = (e) => this._onMouseWheel.fire(e);
|
|
67076
|
-
const view = new View$1(this._domElement, this.getId(), commandDelegate, this._configuration, this._themeService.getColorTheme(), viewModel, viewUserInputEvents, this._overflowWidgetsDomNode, this._instantiationService);
|
|
67085
|
+
const view = new View$1(this._domElement, this.getId(), commandDelegate, this._configuration, this._themeService.getColorTheme(), viewModel, viewUserInputEvents, this._overflowWidgetsDomNode, this._instantiationService, this._userInteractionService);
|
|
67077
67086
|
return [view, true];
|
|
67078
67087
|
}
|
|
67079
67088
|
_postDetachModelCleanup(detachedModel) {
|
|
@@ -67144,7 +67153,8 @@ struct VSOutput {
|
|
|
67144
67153
|
__param$M(8, INotificationService),
|
|
67145
67154
|
__param$M(9, IAccessibilityService),
|
|
67146
67155
|
__param$M(10, ILanguageConfigurationService),
|
|
67147
|
-
__param$M(11, ILanguageFeaturesService)
|
|
67156
|
+
__param$M(11, ILanguageFeaturesService),
|
|
67157
|
+
__param$M(12, IUserInteractionService)
|
|
67148
67158
|
], exports.CodeEditorWidget);
|
|
67149
67159
|
let EDITOR_ID = 0;
|
|
67150
67160
|
let ModelData$1 = class ModelData {
|
|
@@ -85705,12 +85715,12 @@ ${text2}</tr>
|
|
|
85705
85715
|
if (this.options.isTabList) {
|
|
85706
85716
|
this.label.setAttribute("aria-selected", this.action.checked ? "true" : "false");
|
|
85707
85717
|
} else {
|
|
85708
|
-
this.label.setAttribute("aria-
|
|
85709
|
-
this.label.setAttribute("role", "
|
|
85718
|
+
this.label.setAttribute("aria-pressed", this.action.checked ? "true" : "false");
|
|
85719
|
+
this.label.setAttribute("role", "button");
|
|
85710
85720
|
}
|
|
85711
85721
|
} else {
|
|
85712
85722
|
this.label.classList.remove("checked");
|
|
85713
|
-
this.label.removeAttribute(this.options.isTabList ? "aria-selected" : "aria-
|
|
85723
|
+
this.label.removeAttribute(this.options.isTabList ? "aria-selected" : "aria-pressed");
|
|
85714
85724
|
this.label.setAttribute("role", this.getDefaultAriaRole());
|
|
85715
85725
|
}
|
|
85716
85726
|
}
|
|
@@ -100504,7 +100514,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
100504
100514
|
this.linkOpenerDelegate = linkOpenerDelegate;
|
|
100505
100515
|
this.styles = styles;
|
|
100506
100516
|
this.accessibilityService = accessibilityService;
|
|
100507
|
-
this._onLeave = new editorWorkerHost.Emitter();
|
|
100517
|
+
this._onLeave = this._register(new editorWorkerHost.Emitter());
|
|
100508
100518
|
this.onLeave = this._onLeave.event;
|
|
100509
100519
|
this._visibleCountObservable = observableValue("VisibleCount", 0);
|
|
100510
100520
|
this.onChangedVisibleCount = editorWorkerHost.Event.fromObservable(this._visibleCountObservable, this._store);
|
|
@@ -100514,11 +100524,11 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
100514
100524
|
this.onChangedCheckedCount = editorWorkerHost.Event.fromObservable(this._checkedCountObservable, this._store);
|
|
100515
100525
|
this._checkedElementsObservable = observableValueOpts({ equalsFn: editorWorkerHost.equals }, new Array());
|
|
100516
100526
|
this.onChangedCheckedElements = editorWorkerHost.Event.fromObservable(this._checkedElementsObservable, this._store);
|
|
100517
|
-
this._onButtonTriggered = new editorWorkerHost.Emitter();
|
|
100527
|
+
this._onButtonTriggered = this._register(new editorWorkerHost.Emitter());
|
|
100518
100528
|
this.onButtonTriggered = this._onButtonTriggered.event;
|
|
100519
|
-
this._onSeparatorButtonTriggered = new editorWorkerHost.Emitter();
|
|
100529
|
+
this._onSeparatorButtonTriggered = this._register(new editorWorkerHost.Emitter());
|
|
100520
100530
|
this.onSeparatorButtonTriggered = this._onSeparatorButtonTriggered.event;
|
|
100521
|
-
this._elementChecked = new editorWorkerHost.Emitter();
|
|
100531
|
+
this._elementChecked = this._register(new editorWorkerHost.Emitter());
|
|
100522
100532
|
this._elementCheckedEventBufferer = new editorWorkerHost.EventBufferer();
|
|
100523
100533
|
this._hasCheckboxes = false;
|
|
100524
100534
|
this._inputElements = new Array();
|
|
@@ -101746,7 +101756,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
101746
101756
|
this.onDidChangeCheckboxState = this._onDidChangeCheckboxState.event;
|
|
101747
101757
|
this._onDidCheckedLeafItemsChange = this._register(new editorWorkerHost.Emitter());
|
|
101748
101758
|
this.onDidChangeCheckedLeafItems = this._onDidCheckedLeafItemsChange.event;
|
|
101749
|
-
this._onLeave = new editorWorkerHost.Emitter();
|
|
101759
|
+
this._onLeave = this._register(new editorWorkerHost.Emitter());
|
|
101750
101760
|
this.onLeave = this._onLeave.event;
|
|
101751
101761
|
this._onDidAccept = this._register(new editorWorkerHost.Emitter());
|
|
101752
101762
|
this.onDidAccept = this._onDidAccept.event;
|
|
@@ -104182,9 +104192,9 @@ ${this._themeCSS}`;
|
|
|
104182
104192
|
this._layoutService = _layoutService;
|
|
104183
104193
|
this._configurationService = _configurationService;
|
|
104184
104194
|
this._accessibilitySupport = 0;
|
|
104185
|
-
this._onDidChangeScreenReaderOptimized = new editorWorkerHost.Emitter();
|
|
104186
|
-
this._onDidChangeReducedMotion = new editorWorkerHost.Emitter();
|
|
104187
|
-
this._onDidChangeLinkUnderline = new editorWorkerHost.Emitter();
|
|
104195
|
+
this._onDidChangeScreenReaderOptimized = this._register(new editorWorkerHost.Emitter());
|
|
104196
|
+
this._onDidChangeReducedMotion = this._register(new editorWorkerHost.Emitter());
|
|
104197
|
+
this._onDidChangeLinkUnderline = this._register(new editorWorkerHost.Emitter());
|
|
104188
104198
|
this._accessibilityModeEnabledContext = CONTEXT_ACCESSIBILITY_MODE_ENABLED.bindTo(this._contextKeyService);
|
|
104189
104199
|
const updateContextKey = () => this._accessibilityModeEnabledContext.set(this.isScreenReaderOptimized());
|
|
104190
104200
|
this._register(this._configurationService.onDidChangeConfiguration((e) => {
|
|
@@ -106561,6 +106571,64 @@ Ensure your bundler properly bundles modules referenced by "new URL(${examplePat
|
|
|
106561
106571
|
}
|
|
106562
106572
|
}
|
|
106563
106573
|
const IDefaultAccountService = createDecorator("defaultAccountService");
|
|
106574
|
+
class UserInteractionService {
|
|
106575
|
+
constructor() {
|
|
106576
|
+
this._modifierObservables = /* @__PURE__ */ new WeakMap();
|
|
106577
|
+
}
|
|
106578
|
+
readModifierKeyStatus(element, reader) {
|
|
106579
|
+
const win = element instanceof Window ? element : getWindow(element);
|
|
106580
|
+
let obs = this._modifierObservables.get(win);
|
|
106581
|
+
if (!obs) {
|
|
106582
|
+
const emitter = ModifierKeyEmitter.getInstance();
|
|
106583
|
+
obs = observableFromEvent(this, emitter.event, () => ({
|
|
106584
|
+
ctrlKey: emitter.keyStatus.ctrlKey,
|
|
106585
|
+
shiftKey: emitter.keyStatus.shiftKey,
|
|
106586
|
+
altKey: emitter.keyStatus.altKey,
|
|
106587
|
+
metaKey: emitter.keyStatus.metaKey
|
|
106588
|
+
}));
|
|
106589
|
+
this._modifierObservables.set(win, obs);
|
|
106590
|
+
}
|
|
106591
|
+
return obs.read(reader);
|
|
106592
|
+
}
|
|
106593
|
+
createFocusTracker(element, store) {
|
|
106594
|
+
const tracker = store.add(trackFocus(element));
|
|
106595
|
+
const hasFocusWithin = (el) => {
|
|
106596
|
+
if (el instanceof Window) {
|
|
106597
|
+
return el.document.hasFocus();
|
|
106598
|
+
}
|
|
106599
|
+
const shadowRoot = el.getRootNode() instanceof ShadowRoot ? el.getRootNode() : null;
|
|
106600
|
+
const activeElement = shadowRoot ? shadowRoot.activeElement : el.ownerDocument.activeElement;
|
|
106601
|
+
return el.contains(activeElement);
|
|
106602
|
+
};
|
|
106603
|
+
const value = observableValue("isFocused", hasFocusWithin(element));
|
|
106604
|
+
store.add(tracker.onDidFocus(() => value.set(true, void 0)));
|
|
106605
|
+
store.add(tracker.onDidBlur(() => value.set(false, void 0)));
|
|
106606
|
+
return value;
|
|
106607
|
+
}
|
|
106608
|
+
createHoverTracker(element, store) {
|
|
106609
|
+
const value = observableValue("isHovered", false);
|
|
106610
|
+
const onEnter = () => value.set(true, void 0);
|
|
106611
|
+
const onLeave = () => value.set(false, void 0);
|
|
106612
|
+
element.addEventListener("mouseenter", onEnter);
|
|
106613
|
+
element.addEventListener("mouseleave", onLeave);
|
|
106614
|
+
store.add({
|
|
106615
|
+
dispose: () => {
|
|
106616
|
+
element.removeEventListener("mouseenter", onEnter);
|
|
106617
|
+
element.removeEventListener("mouseleave", onLeave);
|
|
106618
|
+
}
|
|
106619
|
+
});
|
|
106620
|
+
return value;
|
|
106621
|
+
}
|
|
106622
|
+
createDomFocusTracker(element) {
|
|
106623
|
+
return trackFocus(element);
|
|
106624
|
+
}
|
|
106625
|
+
}
|
|
106626
|
+
registerSingleton(
|
|
106627
|
+
IUserInteractionService,
|
|
106628
|
+
UserInteractionService,
|
|
106629
|
+
1
|
|
106630
|
+
/* InstantiationType.Delayed */
|
|
106631
|
+
);
|
|
106564
106632
|
var __decorate$g = function(decorators, target, key, desc) {
|
|
106565
106633
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
106566
106634
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -106918,15 +106986,16 @@ Ensure your bundler properly bundles modules referenced by "new URL(${examplePat
|
|
|
106918
106986
|
StandaloneConfigurationService = __decorate$g([
|
|
106919
106987
|
__param$g(0, ILogService)
|
|
106920
106988
|
], StandaloneConfigurationService);
|
|
106921
|
-
let StandaloneResourceConfigurationService = class StandaloneResourceConfigurationService {
|
|
106989
|
+
let StandaloneResourceConfigurationService = class StandaloneResourceConfigurationService extends editorWorkerHost.Disposable {
|
|
106922
106990
|
constructor(configurationService, modelService, languageService) {
|
|
106991
|
+
super();
|
|
106923
106992
|
this.configurationService = configurationService;
|
|
106924
106993
|
this.modelService = modelService;
|
|
106925
106994
|
this.languageService = languageService;
|
|
106926
|
-
this._onDidChangeConfiguration = new editorWorkerHost.Emitter();
|
|
106927
|
-
this.configurationService.onDidChangeConfiguration((e) => {
|
|
106995
|
+
this._onDidChangeConfiguration = this._register(new editorWorkerHost.Emitter());
|
|
106996
|
+
this._register(this.configurationService.onDidChangeConfiguration((e) => {
|
|
106928
106997
|
this._onDidChangeConfiguration.fire({ affectedKeys: e.affectedKeys, affectsConfiguration: (resource, configuration) => e.affectsConfiguration(configuration) });
|
|
106929
|
-
});
|
|
106998
|
+
}));
|
|
106930
106999
|
}
|
|
106931
107000
|
getValue(resource, arg2, arg3) {
|
|
106932
107001
|
const position = editorWorkerHost.Position.isIPosition(arg2) ? arg2 : null;
|
|
@@ -107364,6 +107433,12 @@ Ensure your bundler properly bundles modules referenced by "new URL(${examplePat
|
|
|
107364
107433
|
0
|
|
107365
107434
|
/* InstantiationType.Eager */
|
|
107366
107435
|
);
|
|
107436
|
+
registerSingleton(
|
|
107437
|
+
IUserInteractionService,
|
|
107438
|
+
UserInteractionService,
|
|
107439
|
+
0
|
|
107440
|
+
/* InstantiationType.Eager */
|
|
107441
|
+
);
|
|
107367
107442
|
var StandaloneServices;
|
|
107368
107443
|
(function(StandaloneServices2) {
|
|
107369
107444
|
const serviceCollection = new ServiceCollection();
|
|
@@ -108604,6 +108679,7 @@ Ensure your bundler properly bundles modules referenced by "new URL(${examplePat
|
|
|
108604
108679
|
}
|
|
108605
108680
|
dispose() {
|
|
108606
108681
|
this.diffAlgorithmOnDidChangeSubscription?.dispose();
|
|
108682
|
+
this.onDidChangeEventEmitter.dispose();
|
|
108607
108683
|
}
|
|
108608
108684
|
async computeDiff(original, modified, options, cancellationToken) {
|
|
108609
108685
|
if (typeof this.diffAlgorithm !== "string") {
|
|
@@ -113235,10 +113311,10 @@ Ensure your bundler properly bundles modules referenced by "new URL(${examplePat
|
|
|
113235
113311
|
setARIAContainer(parent || mainWindow.document.body);
|
|
113236
113312
|
}
|
|
113237
113313
|
let StandaloneCodeEditor = class StandaloneCodeEditor extends exports.CodeEditorWidget {
|
|
113238
|
-
constructor(domElement, _options, instantiationService, codeEditorService, commandService, contextKeyService, hoverService, keybindingService, themeService, notificationService, accessibilityService, languageConfigurationService, languageFeaturesService, markdownRendererService) {
|
|
113314
|
+
constructor(domElement, _options, instantiationService, codeEditorService, commandService, contextKeyService, hoverService, keybindingService, themeService, notificationService, accessibilityService, languageConfigurationService, languageFeaturesService, markdownRendererService, userInteractionService) {
|
|
113239
113315
|
const options = { ..._options };
|
|
113240
113316
|
options.ariaLabel = options.ariaLabel || StandaloneCodeEditorNLS.editorViewAccessibleLabel;
|
|
113241
|
-
super(domElement, options, {}, instantiationService, codeEditorService, commandService, contextKeyService, themeService, notificationService, accessibilityService, languageConfigurationService, languageFeaturesService);
|
|
113317
|
+
super(domElement, options, {}, instantiationService, codeEditorService, commandService, contextKeyService, themeService, notificationService, accessibilityService, languageConfigurationService, languageFeaturesService, userInteractionService);
|
|
113242
113318
|
if (keybindingService instanceof StandaloneKeybindingService) {
|
|
113243
113319
|
this._standaloneKeybindingService = keybindingService;
|
|
113244
113320
|
} else {
|
|
@@ -113332,10 +113408,11 @@ Ensure your bundler properly bundles modules referenced by "new URL(${examplePat
|
|
|
113332
113408
|
__param$3(10, IAccessibilityService),
|
|
113333
113409
|
__param$3(11, ILanguageConfigurationService),
|
|
113334
113410
|
__param$3(12, ILanguageFeaturesService),
|
|
113335
|
-
__param$3(13, IMarkdownRendererService)
|
|
113411
|
+
__param$3(13, IMarkdownRendererService),
|
|
113412
|
+
__param$3(14, IUserInteractionService)
|
|
113336
113413
|
], StandaloneCodeEditor);
|
|
113337
113414
|
let StandaloneEditor = class StandaloneEditor extends StandaloneCodeEditor {
|
|
113338
|
-
constructor(domElement, _options, instantiationService, codeEditorService, commandService, contextKeyService, hoverService, keybindingService, themeService, notificationService, configurationService, accessibilityService, modelService, languageService, languageConfigurationService, languageFeaturesService, markdownRendererService) {
|
|
113415
|
+
constructor(domElement, _options, instantiationService, codeEditorService, commandService, contextKeyService, hoverService, keybindingService, themeService, notificationService, configurationService, accessibilityService, modelService, languageService, languageConfigurationService, languageFeaturesService, markdownRendererService, userInteractionService) {
|
|
113339
113416
|
const options = { ..._options };
|
|
113340
113417
|
updateConfigurationService(configurationService, options, false);
|
|
113341
113418
|
const themeDomRegistration = themeService.registerEditorContainer(domElement);
|
|
@@ -113347,7 +113424,7 @@ Ensure your bundler properly bundles modules referenced by "new URL(${examplePat
|
|
|
113347
113424
|
}
|
|
113348
113425
|
const _model = options.model;
|
|
113349
113426
|
delete options.model;
|
|
113350
|
-
super(domElement, options, instantiationService, codeEditorService, commandService, contextKeyService, hoverService, keybindingService, themeService, notificationService, accessibilityService, languageConfigurationService, languageFeaturesService, markdownRendererService);
|
|
113427
|
+
super(domElement, options, instantiationService, codeEditorService, commandService, contextKeyService, hoverService, keybindingService, themeService, notificationService, accessibilityService, languageConfigurationService, languageFeaturesService, markdownRendererService, userInteractionService);
|
|
113351
113428
|
this._configurationService = configurationService;
|
|
113352
113429
|
this._standaloneThemeService = themeService;
|
|
113353
113430
|
this._register(themeDomRegistration);
|
|
@@ -113405,7 +113482,8 @@ Ensure your bundler properly bundles modules referenced by "new URL(${examplePat
|
|
|
113405
113482
|
__param$3(13, ILanguageService),
|
|
113406
113483
|
__param$3(14, ILanguageConfigurationService),
|
|
113407
113484
|
__param$3(15, ILanguageFeaturesService),
|
|
113408
|
-
__param$3(16, IMarkdownRendererService)
|
|
113485
|
+
__param$3(16, IMarkdownRendererService),
|
|
113486
|
+
__param$3(17, IUserInteractionService)
|
|
113409
113487
|
], StandaloneEditor);
|
|
113410
113488
|
let StandaloneDiffEditor2 = class StandaloneDiffEditor2 extends exports.DiffEditorWidget {
|
|
113411
113489
|
constructor(domElement, _options, instantiationService, contextKeyService, codeEditorService, themeService, notificationService, configurationService, contextMenuService, editorProgressService, clipboardService, accessibilitySignalService) {
|
|
@@ -116188,6 +116266,7 @@ Ensure your bundler properly bundles modules referenced by "new URL(${examplePat
|
|
|
116188
116266
|
exports.ITextModelService = ITextModelService;
|
|
116189
116267
|
exports.ITextResourceConfigurationService = ITextResourceConfigurationService;
|
|
116190
116268
|
exports.IThemeService = IThemeService;
|
|
116269
|
+
exports.IUserInteractionService = IUserInteractionService;
|
|
116191
116270
|
exports.IWorkspaceContextService = IWorkspaceContextService;
|
|
116192
116271
|
exports.IWorkspaceTrustManagementService = IWorkspaceTrustManagementService;
|
|
116193
116272
|
exports.IconLabel = IconLabel;
|
package/dev/vs/editor.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define("vs/editor", ["exports", "./editor-
|
|
1
|
+
define("vs/editor", ["exports", "./editor-DrF03AS2"], (function(exports, editor) {
|
|
2
2
|
"use strict";
|
|
3
3
|
exports.CancellationTokenSource = editor.CancellationTokenSource;
|
|
4
4
|
exports.Emitter = editor.Emitter;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define("vs/htmlMode-
|
|
1
|
+
define("vs/htmlMode-CLKnBX5F", ["exports", "./html.worker-e5FEhuNy", "./workers-B23aXNiN", "./lspLanguageFeatures-By5Vx9b_", "./editor-DrF03AS2"], (function(exports, html_worker, workers, lspLanguageFeatures, editor) {
|
|
2
2
|
"use strict";
|
|
3
3
|
const STOP_WHEN_IDLE_FOR = 2 * 60 * 1e3;
|
|
4
4
|
class WorkerManager {
|