monaco-editor 0.56.0-dev-20260205 → 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-DtLqRRg6.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-BW_9N2G0.js → editor-DrF03AS2.js} +734 -623
- package/dev/vs/editor.js +1 -1
- package/dev/vs/{freemarker2-CUZ6LtyA.js → freemarker2-CfJBmphn.js} +1 -1
- package/dev/vs/{handlebars-CTodrOgU.js → handlebars-qWwwDj7S.js} +1 -1
- package/dev/vs/{html-DKbYuZQA.js → html-CmRd3U7F.js} +1 -1
- package/dev/vs/{htmlMode-hKn3LTvV.js → htmlMode-CLKnBX5F.js} +1 -1
- package/dev/vs/{index-65LfYYqi.js → index-8jEY7ttd.js} +1 -1
- package/dev/vs/index.js +1 -1
- package/dev/vs/{javascript-BTT0DRv0.js → javascript-DwIDwuMF.js} +1 -1
- package/dev/vs/{jsonMode-CcQubesg.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-DdtPdq4p.js → liquid-Cm-D4Qi5.js} +1 -1
- package/dev/vs/{lspLanguageFeatures-CkPmLAJP.js → lspLanguageFeatures-By5Vx9b_.js} +1 -1
- package/dev/vs/{mdx-DHBNsqby.js → mdx-BA3G3Lb_.js} +1 -1
- package/dev/vs/{monaco.contribution-DkDG79rC.js → monaco.contribution-BCN_3wo5.js} +2 -2
- package/dev/vs/{monaco.contribution-2D4VlYa-.js → monaco.contribution-BiX2_T8l.js} +2 -2
- package/dev/vs/{monaco.contribution-CI9A4XKo.js → monaco.contribution-Ca-tP4X6.js} +2 -2
- package/dev/vs/{monaco.contribution-C3ONtuIW.js → monaco.contribution-hKx9O68g.js} +2 -2
- package/dev/vs/nls/lang/cs.js +2 -2
- package/dev/vs/nls/lang/de.js +2 -2
- package/dev/vs/nls/lang/es.js +2 -2
- package/dev/vs/nls/lang/fr.js +2 -2
- package/dev/vs/nls/lang/it.js +2 -2
- package/dev/vs/nls/lang/ja.js +2 -2
- package/dev/vs/nls/lang/ko.js +2 -2
- package/dev/vs/nls/lang/pl.js +2 -2
- package/dev/vs/nls/lang/pt-br.js +2 -2
- package/dev/vs/nls/lang/ru.js +2 -2
- package/dev/vs/nls/lang/tr.js +2 -2
- package/dev/vs/nls/lang/zh-cn.js +2 -2
- package/dev/vs/nls/lang/zh-tw.js +2 -2
- package/dev/vs/{python-BwKqzj82.js → python-Fbo0sb43.js} +1 -1
- package/dev/vs/{razor-B8BddojH.js → razor-96DKrN2F.js} +1 -1
- package/dev/vs/{toggleHighContrast-DjeqsZaZ.js → toggleHighContrast-BVMPiDSk.js} +711 -617
- package/dev/vs/{tsMode-6f5MLOQx.js → tsMode-DMtMSnAv.js} +1 -1
- package/dev/vs/{typescript-UQYTTNpA.js → typescript-sqjSwLYb.js} +1 -1
- package/dev/vs/{workers-BFTdBvv-.js → workers-B23aXNiN.js} +1 -1
- package/dev/vs/{xml-bUEoR91T.js → xml-D1w-HAcW.js} +1 -1
- package/dev/vs/{yaml-Dbc6XBLf.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/base/browser/ui/inputbox/inputBox.js +9 -0
- 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 +35 -24
- 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/viewLayout/viewLayout.js +1 -1
- package/esm/vs/editor/common/viewModel/minimapTokensColorTracker.js +1 -1
- package/esm/vs/editor/common/viewModel/viewModelImpl.js +126 -117
- 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 +10 -4
- package/esm/vs/editor/contrib/find/browser/findModel.js +6 -1
- package/esm/vs/editor/contrib/find/browser/findWidget.js +63 -9
- package/esm/vs/editor/contrib/folding/browser/folding.js +20 -20
- package/esm/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
- 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/fontZoom/browser/fontZoom.js +3 -3
- package/esm/vs/editor/contrib/format/browser/formatActions.js +2 -2
- package/esm/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
- package/esm/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +15 -14
- package/esm/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
- package/esm/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
- package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
- package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
- package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +4 -4
- package/esm/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
- package/esm/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
- package/esm/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
- package/esm/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
- package/esm/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
- package/esm/vs/editor/contrib/hover/browser/hoverCopyButton.js +2 -2
- package/esm/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +7 -7
- package/esm/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
- package/esm/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
- package/esm/vs/editor/contrib/indentation/browser/indentation.js +20 -20
- package/esm/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +21 -21
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +13 -13
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
- package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +4 -4
- package/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/model/renameSymbolProcessor.js +2 -2
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +6 -6
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +13 -9
- 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 +17 -8
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +20 -20
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/utils.js +2 -2
- package/esm/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
- package/esm/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- package/esm/vs/editor/contrib/linesOperations/browser/linesOperations.js +31 -31
- package/esm/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
- package/esm/vs/editor/contrib/links/browser/links.js +10 -10
- package/esm/vs/editor/contrib/message/browser/messageController.js +1 -1
- package/esm/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
- package/esm/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/esm/vs/editor/contrib/parameterHints/browser/parameterHintsModel.js +1 -1
- package/esm/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
- package/esm/vs/editor/contrib/peekView/browser/peekView.js +19 -18
- package/esm/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/esm/vs/editor/contrib/quickAccess/browser/editorNavigationQuickAccess.js +1 -1
- package/esm/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +12 -12
- package/esm/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
- package/esm/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
- package/esm/vs/editor/contrib/rename/browser/rename.js +11 -11
- package/esm/vs/editor/contrib/rename/browser/renameWidget.js +9 -9
- package/esm/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
- package/esm/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
- package/esm/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
- 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/suggest.js +9 -9
- package/esm/vs/editor/contrib/suggest/browser/suggestController.js +11 -11
- package/esm/vs/editor/contrib/suggest/browser/suggestWidget.js +22 -17
- package/esm/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +4 -2
- package/esm/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
- package/esm/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
- package/esm/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
- package/esm/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/esm/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/esm/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
- package/esm/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
- package/esm/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/esm/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
- package/esm/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
- package/esm/vs/editor/contrib/wordOperations/browser/wordOperations.js +3 -3
- 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 +2 -2
- package/esm/vs/nls/lang/de.js +2 -2
- package/esm/vs/nls/lang/es.js +2 -2
- package/esm/vs/nls/lang/fr.js +2 -2
- package/esm/vs/nls/lang/it.js +2 -2
- package/esm/vs/nls/lang/ja.js +2 -2
- package/esm/vs/nls/lang/ko.js +2 -2
- package/esm/vs/nls/lang/pl.js +2 -2
- package/esm/vs/nls/lang/pt-br.js +2 -2
- package/esm/vs/nls/lang/ru.js +2 -2
- package/esm/vs/nls/lang/tr.js +2 -2
- package/esm/vs/nls/lang/zh-cn.js +2 -2
- package/esm/vs/nls/lang/zh-tw.js +2 -2
- package/esm/vs/platform/accessibility/browser/accessibilityService.js +3 -3
- package/esm/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
- package/esm/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/esm/vs/platform/actionWidget/browser/actionList.js +15 -4
- package/esm/vs/platform/actionWidget/browser/actionWidget.js +7 -7
- package/esm/vs/platform/actions/browser/menuEntryActionViewItem.css +9 -0
- package/esm/vs/platform/actions/browser/menuEntryActionViewItem.js +3 -3
- package/esm/vs/platform/actions/browser/toolbar.js +2 -2
- package/esm/vs/platform/actions/common/actions.js +2 -0
- package/esm/vs/platform/actions/common/menuService.js +2 -2
- package/esm/vs/platform/configuration/common/configurationRegistry.js +10 -10
- package/esm/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/esm/vs/platform/contextkey/common/contextkey.js +9 -9
- package/esm/vs/platform/contextkey/common/contextkeys.js +9 -9
- package/esm/vs/platform/contextkey/common/scanner.js +5 -5
- package/esm/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/esm/vs/platform/hover/browser/hoverWidget.js +1 -1
- package/esm/vs/platform/hover/browser/updatableHoverWidget.js +1 -1
- package/esm/vs/platform/keybinding/common/abstractKeybindingService.js +5 -5
- package/esm/vs/platform/list/browser/listService.js +27 -27
- package/esm/vs/platform/markers/common/markerService.js +2 -2
- package/esm/vs/platform/markers/common/markers.js +6 -6
- package/esm/vs/platform/quickinput/browser/commandsQuickAccess.js +8 -8
- package/esm/vs/platform/quickinput/browser/helpQuickAccess.js +1 -1
- package/esm/vs/platform/quickinput/browser/quickInput.js +10 -10
- package/esm/vs/platform/quickinput/browser/quickInputActions.js +5 -5
- package/esm/vs/platform/quickinput/browser/quickInputController.js +6 -6
- package/esm/vs/platform/quickinput/browser/quickInputList.js +5 -5
- package/esm/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/esm/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
- package/esm/vs/platform/quickinput/browser/tree/quickInputTreeController.js +1 -1
- package/esm/vs/platform/quickinput/browser/tree/quickTree.js +1 -1
- package/esm/vs/platform/theme/common/colorUtils.js +2 -2
- package/esm/vs/platform/theme/common/colors/baseColors.js +18 -18
- package/esm/vs/platform/theme/common/colors/chartsColors.js +8 -8
- package/esm/vs/platform/theme/common/colors/editorColors.js +95 -95
- package/esm/vs/platform/theme/common/colors/inputColors.js +48 -48
- package/esm/vs/platform/theme/common/colors/listColors.js +36 -36
- package/esm/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/esm/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/esm/vs/platform/theme/common/colors/miscColors.js +16 -16
- package/esm/vs/platform/theme/common/colors/quickpickColors.js +9 -9
- package/esm/vs/platform/theme/common/colors/searchColors.js +3 -3
- package/esm/vs/platform/theme/common/iconRegistry.js +6 -6
- package/esm/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/esm/vs/platform/userInteraction/browser/userInteractionService.js +9 -0
- package/esm/vs/platform/userInteraction/browser/userInteractionServiceImpl.js +66 -0
- package/esm/vs/platform/workspace/common/workspace.js +1 -1
- package/min/vs/basic-languages/monaco.contribution.js +1 -1
- package/min/vs/{cssMode-DPmVCccH.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-DDS5rjWz.js → editor-BduHCmR_.js} +107 -107
- package/min/vs/editor.js +1 -1
- package/min/vs/{freemarker2-C2j2xU-L.js → freemarker2-DggjejVk.js} +1 -1
- package/min/vs/{handlebars-jQJ8Fkcq.js → handlebars-U8hV9xwK.js} +1 -1
- package/min/vs/{html-Cfi8Nt8M.js → html-Bw3G5TBw.js} +1 -1
- package/min/vs/{htmlMode-DiWCqKWZ.js → htmlMode-B4WtNgZX.js} +1 -1
- package/min/vs/{index-o7gx3_Zu.js → index-B1xVWKeh.js} +1 -1
- package/min/vs/index.js +1 -1
- package/min/vs/{javascript-v57OSt6_.js → javascript-s1jZ6M-L.js} +1 -1
- package/min/vs/{jsonMode-C60fn5HR.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-BOANfFZ4.js → liquid-BH39By04.js} +1 -1
- package/min/vs/{lspLanguageFeatures-CluPdd1M.js → lspLanguageFeatures-Bp-D7wPl.js} +1 -1
- package/min/vs/{mdx-CvivRN97.js → mdx-BJ9zg9bg.js} +1 -1
- package/min/vs/{monaco.contribution-BYXaxW1C.js → monaco.contribution-CKQHENf3.js} +1 -1
- package/min/vs/{monaco.contribution-DbVNF4IT.js → monaco.contribution-CqpoUT2N.js} +1 -1
- package/min/vs/{monaco.contribution-BGMeQIlS.js → monaco.contribution-Dm8G9ztm.js} +1 -1
- package/min/vs/{monaco.contribution-Bqav3taf.js → monaco.contribution-DtdXfI7c.js} +1 -1
- package/min/vs/nls/lang/cs.js +2 -2
- package/min/vs/nls/lang/de.js +2 -2
- package/min/vs/nls/lang/es.js +2 -2
- package/min/vs/nls/lang/fr.js +2 -2
- package/min/vs/nls/lang/it.js +2 -2
- package/min/vs/nls/lang/ja.js +2 -2
- package/min/vs/nls/lang/ko.js +2 -2
- package/min/vs/nls/lang/pl.js +2 -2
- package/min/vs/nls/lang/pt-br.js +2 -2
- package/min/vs/nls/lang/ru.js +2 -2
- package/min/vs/nls/lang/tr.js +2 -2
- package/min/vs/nls/lang/zh-cn.js +2 -2
- package/min/vs/nls/lang/zh-tw.js +2 -2
- package/min/vs/{python-D_gKClQx.js → python-Do0yfd3M.js} +1 -1
- package/min/vs/{razor-B0N99sgs.js → razor-CLpg5HqA.js} +1 -1
- package/min/vs/toggleHighContrast-Fn6BxHzx.js +61 -0
- package/min/vs/{tsMode-G-cd3uvR.js → tsMode-BvOkIQV0.js} +1 -1
- package/min/vs/{typescript-C5StrEkV.js → typescript-Cu5mLnsm.js} +1 -1
- package/min/vs/{workers-XTPV8kWM.js → workers-BIU7K8Hn.js} +1 -1
- package/min/vs/{xml-BlEUhCKl.js → xml-6xPIuonq.js} +1 -1
- package/min/vs/{yaml-tjlTKhWD.js → yaml-CVNt35SY.js} +1 -1
- package/package.json +3 -3
- package/min/vs/toggleHighContrast-ynXCcyTC.js +0 -61
|
@@ -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-BW_9N2G0", ["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);
|
|
@@ -8855,17 +8856,17 @@ define("vs/editor-BW_9N2G0", ["require", "exports", "./editorWorkerHost-DEXzajWn
|
|
|
8855
8856
|
function hintDidYouMean(...meant) {
|
|
8856
8857
|
switch (meant.length) {
|
|
8857
8858
|
case 1:
|
|
8858
|
-
return editorWorkerHost.localize(
|
|
8859
|
+
return editorWorkerHost.localize(1715, "Did you mean {0}?", meant[0]);
|
|
8859
8860
|
case 2:
|
|
8860
|
-
return editorWorkerHost.localize(
|
|
8861
|
+
return editorWorkerHost.localize(1716, "Did you mean {0} or {1}?", meant[0], meant[1]);
|
|
8861
8862
|
case 3:
|
|
8862
|
-
return editorWorkerHost.localize(
|
|
8863
|
+
return editorWorkerHost.localize(1717, "Did you mean {0}, {1} or {2}?", meant[0], meant[1], meant[2]);
|
|
8863
8864
|
default:
|
|
8864
8865
|
return void 0;
|
|
8865
8866
|
}
|
|
8866
8867
|
}
|
|
8867
|
-
const hintDidYouForgetToOpenOrCloseQuote = editorWorkerHost.localize(
|
|
8868
|
-
const hintDidYouForgetToEscapeSlash = editorWorkerHost.localize(
|
|
8868
|
+
const hintDidYouForgetToOpenOrCloseQuote = editorWorkerHost.localize(1718, "Did you forget to open or close the quote?");
|
|
8869
|
+
const hintDidYouForgetToEscapeSlash = editorWorkerHost.localize(1719, "Did you forget to escape the '/' (slash) character? Put two backslashes before it to escape, e.g., '\\\\/'.");
|
|
8869
8870
|
const _Scanner = class _Scanner {
|
|
8870
8871
|
constructor() {
|
|
8871
8872
|
this._input = "";
|
|
@@ -9189,14 +9190,14 @@ define("vs/editor-BW_9N2G0", ["require", "exports", "./editorWorkerHost-DEXzajWn
|
|
|
9189
9190
|
const defaultConfig = {
|
|
9190
9191
|
regexParsingWithErrorRecovery: true
|
|
9191
9192
|
};
|
|
9192
|
-
const errorEmptyString = editorWorkerHost.localize(
|
|
9193
|
-
const hintEmptyString = editorWorkerHost.localize(
|
|
9194
|
-
const errorNoInAfterNot = editorWorkerHost.localize(
|
|
9195
|
-
const errorClosingParenthesis = editorWorkerHost.localize(
|
|
9196
|
-
const errorUnexpectedToken = editorWorkerHost.localize(
|
|
9197
|
-
const hintUnexpectedToken = editorWorkerHost.localize(
|
|
9198
|
-
const errorUnexpectedEOF = editorWorkerHost.localize(
|
|
9199
|
-
const hintUnexpectedEOF = editorWorkerHost.localize(
|
|
9193
|
+
const errorEmptyString = editorWorkerHost.localize(1697, "Empty context key expression");
|
|
9194
|
+
const hintEmptyString = editorWorkerHost.localize(1698, "Did you forget to write an expression? You can also put 'false' or 'true' to always evaluate to false or true, respectively.");
|
|
9195
|
+
const errorNoInAfterNot = editorWorkerHost.localize(1699, "'in' after 'not'.");
|
|
9196
|
+
const errorClosingParenthesis = editorWorkerHost.localize(1700, "closing parenthesis ')'");
|
|
9197
|
+
const errorUnexpectedToken = editorWorkerHost.localize(1701, "Unexpected token");
|
|
9198
|
+
const hintUnexpectedToken = editorWorkerHost.localize(1702, "Did you forget to put && or || before the token?");
|
|
9199
|
+
const errorUnexpectedEOF = editorWorkerHost.localize(1703, "Unexpected end of expression");
|
|
9200
|
+
const hintUnexpectedEOF = editorWorkerHost.localize(1704, "Did you forget to put a context key?");
|
|
9200
9201
|
let Parser$1 = (_a2 = class {
|
|
9201
9202
|
constructor(_config = defaultConfig) {
|
|
9202
9203
|
this._config = _config;
|
|
@@ -9521,7 +9522,7 @@ define("vs/editor-BW_9N2G0", ["require", "exports", "./editorWorkerHost-DEXzajWn
|
|
|
9521
9522
|
throw this._errExpectedButGot(message, this._peek());
|
|
9522
9523
|
}
|
|
9523
9524
|
_errExpectedButGot(expected, got, additionalInfo) {
|
|
9524
|
-
const message = editorWorkerHost.localize(
|
|
9525
|
+
const message = editorWorkerHost.localize(1705, "Expected: {0}\nReceived: '{1}'.", expected, Scanner.getLexeme(got));
|
|
9525
9526
|
const offset = got.offset;
|
|
9526
9527
|
const lexeme = Scanner.getLexeme(got);
|
|
9527
9528
|
this._parsingErrors.push({ message, offset, lexeme, additionalInfo });
|
|
@@ -10816,6 +10817,7 @@ define("vs/editor-BW_9N2G0", ["require", "exports", "./editorWorkerHost-DEXzajWn
|
|
|
10816
10817
|
_MenuId.EditorContextPeek = new _MenuId("EditorContextPeek");
|
|
10817
10818
|
_MenuId.EditorContextShare = new _MenuId("EditorContextShare");
|
|
10818
10819
|
_MenuId.EditorTitle = new _MenuId("EditorTitle");
|
|
10820
|
+
_MenuId.ModalEditorTitle = new _MenuId("ModalEditorTitle");
|
|
10819
10821
|
_MenuId.CompactWindowEditorTitle = new _MenuId("CompactWindowEditorTitle");
|
|
10820
10822
|
_MenuId.EditorTitleRun = new _MenuId("EditorTitleRun");
|
|
10821
10823
|
_MenuId.EditorTitleContext = new _MenuId("EditorTitleContext");
|
|
@@ -11000,6 +11002,7 @@ define("vs/editor-BW_9N2G0", ["require", "exports", "./editorWorkerHost-DEXzajWn
|
|
|
11000
11002
|
_MenuId.ChatEditingCodeBlockContext = new _MenuId("ChatEditingCodeBlockContext");
|
|
11001
11003
|
_MenuId.ChatTitleBarMenu = new _MenuId("ChatTitleBarMenu");
|
|
11002
11004
|
_MenuId.ChatAttachmentsContext = new _MenuId("ChatAttachmentsContext");
|
|
11005
|
+
_MenuId.ChatTipContext = new _MenuId("ChatTipContext");
|
|
11003
11006
|
_MenuId.ChatToolOutputResourceToolbar = new _MenuId("ChatToolOutputResourceToolbar");
|
|
11004
11007
|
_MenuId.ChatTextEditorMenu = new _MenuId("ChatTextEditorMenu");
|
|
11005
11008
|
_MenuId.ChatToolOutputResourceContext = new _MenuId("ChatToolOutputResourceContext");
|
|
@@ -13239,7 +13242,7 @@ define("vs/editor-BW_9N2G0", ["require", "exports", "./editorWorkerHost-DEXzajWn
|
|
|
13239
13242
|
this.configurationDefaultsOverrides = /* @__PURE__ */ new Map();
|
|
13240
13243
|
this.defaultLanguageConfigurationOverridesNode = {
|
|
13241
13244
|
id: "defaultOverrides",
|
|
13242
|
-
title: editorWorkerHost.localize(
|
|
13245
|
+
title: editorWorkerHost.localize(1686, "Default Language Configuration Overrides"),
|
|
13243
13246
|
properties: {}
|
|
13244
13247
|
};
|
|
13245
13248
|
this.configurationContributors = [this.defaultLanguageConfigurationOverridesNode];
|
|
@@ -13316,7 +13319,7 @@ define("vs/editor-BW_9N2G0", ["require", "exports", "./editorWorkerHost-DEXzajWn
|
|
|
13316
13319
|
},
|
|
13317
13320
|
type: "object",
|
|
13318
13321
|
default: newDefaultOverride.value,
|
|
13319
|
-
description: editorWorkerHost.localize(
|
|
13322
|
+
description: editorWorkerHost.localize(1687, "Configure settings to be overridden for {0}.", getLanguageTagSettingPlainKey(key)),
|
|
13320
13323
|
$ref: resourceLanguageSettingsSchemaId,
|
|
13321
13324
|
defaultDefaultValue: newDefaultOverride.value,
|
|
13322
13325
|
source,
|
|
@@ -13498,8 +13501,8 @@ define("vs/editor-BW_9N2G0", ["require", "exports", "./editorWorkerHost-DEXzajWn
|
|
|
13498
13501
|
const overrideIdentifierProperty = `[${overrideIdentifier}]`;
|
|
13499
13502
|
const resourceLanguagePropertiesSchema = {
|
|
13500
13503
|
type: "object",
|
|
13501
|
-
description: editorWorkerHost.localize(
|
|
13502
|
-
errorMessage: editorWorkerHost.localize(
|
|
13504
|
+
description: editorWorkerHost.localize(1688, "Configure editor settings to be overridden for a language."),
|
|
13505
|
+
errorMessage: editorWorkerHost.localize(1689, "This setting does not support per-language configuration."),
|
|
13503
13506
|
$ref: resourceLanguageSettingsSchemaId
|
|
13504
13507
|
};
|
|
13505
13508
|
this.updatePropertyDefaultValue(overrideIdentifierProperty, resourceLanguagePropertiesSchema);
|
|
@@ -13507,8 +13510,8 @@ define("vs/editor-BW_9N2G0", ["require", "exports", "./editorWorkerHost-DEXzajWn
|
|
|
13507
13510
|
}
|
|
13508
13511
|
registerOverridePropertyPatternKey() {
|
|
13509
13512
|
({
|
|
13510
|
-
description: editorWorkerHost.localize(
|
|
13511
|
-
errorMessage: editorWorkerHost.localize(
|
|
13513
|
+
description: editorWorkerHost.localize(1690, "Configure editor settings to be overridden for a language."),
|
|
13514
|
+
errorMessage: editorWorkerHost.localize(1691, "This setting does not support per-language configuration.")
|
|
13512
13515
|
});
|
|
13513
13516
|
this._onDidSchemaChange.fire();
|
|
13514
13517
|
}
|
|
@@ -13571,16 +13574,16 @@ define("vs/editor-BW_9N2G0", ["require", "exports", "./editorWorkerHost-DEXzajWn
|
|
|
13571
13574
|
Registry.add(Extensions$6.Configuration, configurationRegistry$2);
|
|
13572
13575
|
function validateProperty(property, schema, extensionId) {
|
|
13573
13576
|
if (!property.trim()) {
|
|
13574
|
-
return editorWorkerHost.localize(
|
|
13577
|
+
return editorWorkerHost.localize(1692, "Cannot register an empty property");
|
|
13575
13578
|
}
|
|
13576
13579
|
if (OVERRIDE_PROPERTY_REGEX.test(property)) {
|
|
13577
|
-
return editorWorkerHost.localize(
|
|
13580
|
+
return editorWorkerHost.localize(1693, "Cannot register '{0}'. This matches property pattern '\\\\[.*\\\\]$' for describing language specific editor settings. Use 'configurationDefaults' contribution.", property);
|
|
13578
13581
|
}
|
|
13579
13582
|
if (configurationRegistry$2.getConfigurationProperties()[property] !== void 0 && (!extensionId || !EXTENSION_UNIFICATION_EXTENSION_IDS.has(extensionId.toLowerCase()))) {
|
|
13580
|
-
return editorWorkerHost.localize(
|
|
13583
|
+
return editorWorkerHost.localize(1694, "Cannot register '{0}'. This property is already registered.", property);
|
|
13581
13584
|
}
|
|
13582
13585
|
if (schema.policy?.name && configurationRegistry$2.getPolicyConfigurations().get(schema.policy?.name) !== void 0) {
|
|
13583
|
-
return editorWorkerHost.localize(
|
|
13586
|
+
return editorWorkerHost.localize(1695, "Cannot register '{0}'. The associated policy {1} is already registered with {2}.", property, schema.policy?.name, configurationRegistry$2.getPolicyConfigurations().get(schema.policy?.name));
|
|
13584
13587
|
}
|
|
13585
13588
|
return null;
|
|
13586
13589
|
}
|
|
@@ -18049,13 +18052,13 @@ define("vs/editor-BW_9N2G0", ["require", "exports", "./editorWorkerHost-DEXzajWn
|
|
|
18049
18052
|
}
|
|
18050
18053
|
if (needsTransparency) {
|
|
18051
18054
|
propertySchema.pattern = "^#(?:(?<rgba>[0-9a-fA-f]{3}[0-9a-eA-E])|(?:[0-9a-fA-F]{6}(?:(?![fF]{2})(?:[0-9a-fA-F]{2}))))?$";
|
|
18052
|
-
propertySchema.patternErrorMessage = editorWorkerHost.localize(
|
|
18055
|
+
propertySchema.patternErrorMessage = editorWorkerHost.localize(2049, "This color must be transparent or it will obscure content");
|
|
18053
18056
|
}
|
|
18054
18057
|
this.colorSchema.properties[id] = {
|
|
18055
18058
|
description,
|
|
18056
18059
|
oneOf: [
|
|
18057
18060
|
propertySchema,
|
|
18058
|
-
{ type: "string", const: DEFAULT_COLOR_CONFIG_VALUE, description: editorWorkerHost.localize(
|
|
18061
|
+
{ type: "string", const: DEFAULT_COLOR_CONFIG_VALUE, description: editorWorkerHost.localize(2050, "Use the default color.") }
|
|
18059
18062
|
]
|
|
18060
18063
|
};
|
|
18061
18064
|
this.colorReferenceSchema.enum.push(id);
|
|
@@ -18181,265 +18184,265 @@ define("vs/editor-BW_9N2G0", ["require", "exports", "./editorWorkerHost-DEXzajWn
|
|
|
18181
18184
|
delayer$1.schedule();
|
|
18182
18185
|
}
|
|
18183
18186
|
});
|
|
18184
|
-
const foreground = registerColor("foreground", { dark: "#CCCCCC", light: "#616161", hcDark: "#FFFFFF", hcLight: "#292929" }, editorWorkerHost.localize(
|
|
18185
|
-
registerColor("disabledForeground", { dark: "#CCCCCC80", light: "#61616180", hcDark: "#A5A5A5", hcLight: "#7F7F7F" }, editorWorkerHost.localize(
|
|
18186
|
-
registerColor("errorForeground", { dark: "#F48771", light: "#A1260D", hcDark: "#F48771", hcLight: "#B5200D" }, editorWorkerHost.localize(
|
|
18187
|
-
const descriptionForeground = registerColor("descriptionForeground", { light: "#717171", dark: transparent(foreground, 0.7), hcDark: transparent(foreground, 0.7), hcLight: transparent(foreground, 0.7) }, editorWorkerHost.localize(
|
|
18188
|
-
const iconForeground = registerColor("icon.foreground", { dark: "#C5C5C5", light: "#424242", hcDark: "#FFFFFF", hcLight: "#292929" }, editorWorkerHost.localize(
|
|
18189
|
-
const focusBorder = registerColor("focusBorder", { dark: "#007FD4", light: "#0090F1", hcDark: "#F38518", hcLight: "#006BBD" }, editorWorkerHost.localize(
|
|
18190
|
-
const contrastBorder = registerColor("contrastBorder", { light: null, dark: null, hcDark: "#6FC3DF", hcLight: "#0F4A85" }, editorWorkerHost.localize(
|
|
18191
|
-
const activeContrastBorder = registerColor("contrastActiveBorder", { light: null, dark: null, hcDark: focusBorder, hcLight: focusBorder }, editorWorkerHost.localize(
|
|
18192
|
-
registerColor("selection.background", null, editorWorkerHost.localize(
|
|
18193
|
-
const textLinkForeground = registerColor("textLink.foreground", { light: "#006AB1", dark: "#3794FF", hcDark: "#21A6FF", hcLight: "#0F4A85" }, editorWorkerHost.localize(
|
|
18194
|
-
registerColor("textLink.activeForeground", { light: "#006AB1", dark: "#3794FF", hcDark: "#21A6FF", hcLight: "#0F4A85" }, editorWorkerHost.localize(
|
|
18195
|
-
registerColor("textSeparator.foreground", { light: "#0000002e", dark: "#ffffff2e", hcDark: editorWorkerHost.Color.black, hcLight: "#292929" }, editorWorkerHost.localize(
|
|
18196
|
-
registerColor("textPreformat.foreground", { light: "#A31515", dark: "#D7BA7D", hcDark: "#FFFFFF", hcLight: "#FFFFFF" }, editorWorkerHost.localize(
|
|
18197
|
-
registerColor("textPreformat.background", { light: "#0000001A", dark: "#FFFFFF1A", hcDark: null, hcLight: "#09345f" }, editorWorkerHost.localize(
|
|
18198
|
-
registerColor("textPreformat.border", { light: null, dark: null, hcDark: contrastBorder, hcLight: null }, editorWorkerHost.localize(
|
|
18199
|
-
registerColor("textBlockQuote.background", { light: "#f2f2f2", dark: "#222222", hcDark: null, hcLight: "#F2F2F2" }, editorWorkerHost.localize(
|
|
18200
|
-
registerColor("textBlockQuote.border", { light: "#007acc80", dark: "#007acc80", hcDark: editorWorkerHost.Color.white, hcLight: "#292929" }, editorWorkerHost.localize(
|
|
18201
|
-
registerColor("textCodeBlock.background", { light: "#dcdcdc66", dark: "#0a0a0a66", hcDark: editorWorkerHost.Color.black, hcLight: "#F2F2F2" }, editorWorkerHost.localize(
|
|
18202
|
-
registerColor("sash.hoverBorder", focusBorder, editorWorkerHost.localize(
|
|
18203
|
-
const badgeBackground = registerColor("badge.background", { dark: "#4D4D4D", light: "#C4C4C4", hcDark: editorWorkerHost.Color.black, hcLight: "#0F4A85" }, editorWorkerHost.localize(
|
|
18204
|
-
const badgeForeground = registerColor("badge.foreground", { dark: editorWorkerHost.Color.white, light: "#333", hcDark: editorWorkerHost.Color.white, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(
|
|
18205
|
-
registerColor("activityWarningBadge.foreground", { dark: editorWorkerHost.Color.white, light: editorWorkerHost.Color.white, hcDark: editorWorkerHost.Color.white, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(
|
|
18206
|
-
registerColor("activityWarningBadge.background", { dark: "#B27C00", light: "#B27C00", hcDark: null, hcLight: "#B27C00" }, editorWorkerHost.localize(
|
|
18207
|
-
registerColor("activityErrorBadge.foreground", { dark: editorWorkerHost.Color.black.lighten(0.2), light: editorWorkerHost.Color.white, hcDark: null, hcLight: editorWorkerHost.Color.black.lighten(0.2) }, editorWorkerHost.localize(
|
|
18208
|
-
registerColor("activityErrorBadge.background", { dark: "#F14C4C", light: "#E51400", hcDark: null, hcLight: "#F14C4C" }, editorWorkerHost.localize(
|
|
18209
|
-
const scrollbarShadow = registerColor("scrollbar.shadow", { dark: "#000000", light: "#DDDDDD", hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18210
|
-
const scrollbarSliderBackground = registerColor("scrollbarSlider.background", { dark: editorWorkerHost.Color.fromHex("#797979").transparent(0.4), light: editorWorkerHost.Color.fromHex("#646464").transparent(0.4), hcDark: transparent(contrastBorder, 0.6), hcLight: transparent(contrastBorder, 0.4) }, editorWorkerHost.localize(
|
|
18211
|
-
const scrollbarSliderHoverBackground = registerColor("scrollbarSlider.hoverBackground", { dark: editorWorkerHost.Color.fromHex("#646464").transparent(0.7), light: editorWorkerHost.Color.fromHex("#646464").transparent(0.7), hcDark: transparent(contrastBorder, 0.8), hcLight: transparent(contrastBorder, 0.8) }, editorWorkerHost.localize(
|
|
18212
|
-
const scrollbarSliderActiveBackground = registerColor("scrollbarSlider.activeBackground", { dark: editorWorkerHost.Color.fromHex("#BFBFBF").transparent(0.4), light: editorWorkerHost.Color.fromHex("#000000").transparent(0.6), hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18213
|
-
registerColor("scrollbar.background", null, editorWorkerHost.localize(
|
|
18214
|
-
const progressBarBackground = registerColor("progressBar.background", { dark: editorWorkerHost.Color.fromHex("#0E70C0"), light: editorWorkerHost.Color.fromHex("#0E70C0"), hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18215
|
-
registerColor("chart.line", { dark: "#236B8E", light: "#236B8E", hcDark: "#236B8E", hcLight: "#236B8E" }, editorWorkerHost.localize(
|
|
18216
|
-
registerColor("chart.axis", { dark: editorWorkerHost.Color.fromHex("#BFBFBF").transparent(0.4), light: editorWorkerHost.Color.fromHex("#000000").transparent(0.6), hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18217
|
-
registerColor("chart.guide", { dark: editorWorkerHost.Color.fromHex("#BFBFBF").transparent(0.2), light: editorWorkerHost.Color.fromHex("#000000").transparent(0.2), hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18218
|
-
const editorBackground = registerColor("editor.background", { light: "#ffffff", dark: "#1E1E1E", hcDark: editorWorkerHost.Color.black, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(
|
|
18219
|
-
const editorForeground = registerColor("editor.foreground", { light: "#333333", dark: "#BBBBBB", hcDark: editorWorkerHost.Color.white, hcLight: foreground }, editorWorkerHost.localize(
|
|
18220
|
-
registerColor("editorStickyScroll.background", editorBackground, editorWorkerHost.localize(
|
|
18221
|
-
registerColor("editorStickyScrollGutter.background", editorBackground, editorWorkerHost.localize(
|
|
18222
|
-
registerColor("editorStickyScrollHover.background", { dark: "#2A2D2E", light: "#F0F0F0", hcDark: null, hcLight: editorWorkerHost.Color.fromHex("#0F4A85").transparent(0.1) }, editorWorkerHost.localize(
|
|
18223
|
-
registerColor("editorStickyScroll.border", { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18224
|
-
registerColor("editorStickyScroll.shadow", scrollbarShadow, editorWorkerHost.localize(
|
|
18225
|
-
const editorWidgetBackground = registerColor("editorWidget.background", { dark: "#252526", light: "#F3F3F3", hcDark: "#0C141F", hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(
|
|
18226
|
-
const editorWidgetForeground = registerColor("editorWidget.foreground", foreground, editorWorkerHost.localize(
|
|
18227
|
-
const editorWidgetBorder = registerColor("editorWidget.border", { dark: "#454545", light: "#C8C8C8", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18228
|
-
registerColor("editorWidget.resizeBorder", null, editorWorkerHost.localize(
|
|
18229
|
-
registerColor("editorError.background", null, editorWorkerHost.localize(
|
|
18230
|
-
const editorErrorForeground = registerColor("editorError.foreground", { dark: "#F14C4C", light: "#E51400", hcDark: "#F48771", hcLight: "#B5200D" }, editorWorkerHost.localize(
|
|
18231
|
-
const editorErrorBorder = registerColor("editorError.border", { dark: null, light: null, hcDark: editorWorkerHost.Color.fromHex("#E47777").transparent(0.8), hcLight: "#B5200D" }, editorWorkerHost.localize(
|
|
18232
|
-
const editorWarningBackground = registerColor("editorWarning.background", null, editorWorkerHost.localize(
|
|
18233
|
-
const editorWarningForeground = registerColor("editorWarning.foreground", { dark: "#CCA700", light: "#BF8803", hcDark: "#FFD370", hcLight: "#895503" }, editorWorkerHost.localize(
|
|
18234
|
-
const editorWarningBorder = registerColor("editorWarning.border", { dark: null, light: null, hcDark: editorWorkerHost.Color.fromHex("#FFCC00").transparent(0.8), hcLight: editorWorkerHost.Color.fromHex("#FFCC00").transparent(0.8) }, editorWorkerHost.localize(
|
|
18235
|
-
registerColor("editorInfo.background", null, editorWorkerHost.localize(
|
|
18236
|
-
const editorInfoForeground = registerColor("editorInfo.foreground", { dark: "#59a4f9", light: "#0063d3", hcDark: "#59a4f9", hcLight: "#0063d3" }, editorWorkerHost.localize(
|
|
18237
|
-
const editorInfoBorder = registerColor("editorInfo.border", { dark: null, light: null, hcDark: editorWorkerHost.Color.fromHex("#59a4f9").transparent(0.8), hcLight: "#292929" }, editorWorkerHost.localize(
|
|
18238
|
-
const editorHintForeground = registerColor("editorHint.foreground", { dark: editorWorkerHost.Color.fromHex("#eeeeee").transparent(0.7), light: "#6c6c6c", hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18239
|
-
registerColor("editorHint.border", { dark: null, light: null, hcDark: editorWorkerHost.Color.fromHex("#eeeeee").transparent(0.8), hcLight: "#292929" }, editorWorkerHost.localize(
|
|
18240
|
-
const editorActiveLinkForeground = registerColor("editorLink.activeForeground", { dark: "#4E94CE", light: editorWorkerHost.Color.blue, hcDark: editorWorkerHost.Color.cyan, hcLight: "#292929" }, editorWorkerHost.localize(
|
|
18241
|
-
const editorSelectionBackground = registerColor("editor.selectionBackground", { light: "#ADD6FF", dark: "#264F78", hcDark: "#f3f518", hcLight: "#0F4A85" }, editorWorkerHost.localize(
|
|
18242
|
-
const editorSelectionForeground = registerColor("editor.selectionForeground", { light: null, dark: null, hcDark: "#000000", hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(
|
|
18243
|
-
const editorInactiveSelection = registerColor("editor.inactiveSelectionBackground", { light: transparent(editorSelectionBackground, 0.5), dark: transparent(editorSelectionBackground, 0.5), hcDark: transparent(editorSelectionBackground, 0.7), hcLight: transparent(editorSelectionBackground, 0.5) }, editorWorkerHost.localize(
|
|
18244
|
-
const editorSelectionHighlight = registerColor("editor.selectionHighlightBackground", { light: lessProminent(editorSelectionBackground, editorBackground, 0.3, 0.6), dark: lessProminent(editorSelectionBackground, editorBackground, 0.3, 0.6), hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18245
|
-
registerColor("editor.selectionHighlightBorder", { light: null, dark: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, editorWorkerHost.localize(
|
|
18246
|
-
registerColor("editor.compositionBorder", { light: "#000000", dark: "#ffffff", hcLight: "#000000", hcDark: "#ffffff" }, editorWorkerHost.localize(
|
|
18247
|
-
registerColor("editor.findMatchBackground", { light: "#A8AC94", dark: "#515C6A", hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18248
|
-
const editorFindMatchForeground = registerColor("editor.findMatchForeground", null, editorWorkerHost.localize(
|
|
18249
|
-
const editorFindMatchHighlight = registerColor("editor.findMatchHighlightBackground", { light: "#EA5C0055", dark: "#EA5C0055", hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18250
|
-
const editorFindMatchHighlightForeground = registerColor("editor.findMatchHighlightForeground", null, editorWorkerHost.localize(
|
|
18251
|
-
registerColor("editor.findRangeHighlightBackground", { dark: "#3a3d4166", light: "#b4b4b44d", hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18252
|
-
registerColor("editor.findMatchBorder", { light: null, dark: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, editorWorkerHost.localize(
|
|
18253
|
-
const editorFindMatchHighlightBorder = registerColor("editor.findMatchHighlightBorder", { light: null, dark: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, editorWorkerHost.localize(
|
|
18254
|
-
const editorFindRangeHighlightBorder = registerColor("editor.findRangeHighlightBorder", { dark: null, light: null, hcDark: transparent(activeContrastBorder, 0.4), hcLight: transparent(activeContrastBorder, 0.4) }, editorWorkerHost.localize(
|
|
18255
|
-
registerColor("editor.hoverHighlightBackground", { light: "#ADD6FF26", dark: "#264f7840", hcDark: "#ADD6FF26", hcLight: null }, editorWorkerHost.localize(
|
|
18256
|
-
const editorHoverBackground = registerColor("editorHoverWidget.background", editorWidgetBackground, editorWorkerHost.localize(
|
|
18257
|
-
const editorHoverForeground = registerColor("editorHoverWidget.foreground", editorWidgetForeground, editorWorkerHost.localize(
|
|
18258
|
-
const editorHoverBorder = registerColor("editorHoverWidget.border", editorWidgetBorder, editorWorkerHost.localize(
|
|
18259
|
-
registerColor("editorHoverWidget.statusBarBackground", { dark: lighten(editorHoverBackground, 0.2), light: darken(editorHoverBackground, 0.05), hcDark: editorWidgetBackground, hcLight: editorWidgetBackground }, editorWorkerHost.localize(
|
|
18260
|
-
const editorInlayHintForeground = registerColor("editorInlayHint.foreground", { dark: "#969696", light: "#969696", hcDark: editorWorkerHost.Color.white, hcLight: editorWorkerHost.Color.black }, editorWorkerHost.localize(
|
|
18261
|
-
const editorInlayHintBackground = registerColor("editorInlayHint.background", { dark: transparent(badgeBackground, 0.1), light: transparent(badgeBackground, 0.1), hcDark: transparent(editorWorkerHost.Color.white, 0.1), hcLight: transparent(badgeBackground, 0.1) }, editorWorkerHost.localize(
|
|
18262
|
-
const editorInlayHintTypeForeground = registerColor("editorInlayHint.typeForeground", editorInlayHintForeground, editorWorkerHost.localize(
|
|
18263
|
-
const editorInlayHintTypeBackground = registerColor("editorInlayHint.typeBackground", editorInlayHintBackground, editorWorkerHost.localize(
|
|
18264
|
-
const editorInlayHintParameterForeground = registerColor("editorInlayHint.parameterForeground", editorInlayHintForeground, editorWorkerHost.localize(
|
|
18265
|
-
const editorInlayHintParameterBackground = registerColor("editorInlayHint.parameterBackground", editorInlayHintBackground, editorWorkerHost.localize(
|
|
18266
|
-
const editorLightBulbForeground = registerColor("editorLightBulb.foreground", { dark: "#FFCC00", light: "#DDB100", hcDark: "#FFCC00", hcLight: "#007ACC" }, editorWorkerHost.localize(
|
|
18267
|
-
registerColor("editorLightBulbAutoFix.foreground", { dark: "#75BEFF", light: "#007ACC", hcDark: "#75BEFF", hcLight: "#007ACC" }, editorWorkerHost.localize(
|
|
18268
|
-
registerColor("editorLightBulbAi.foreground", editorLightBulbForeground, editorWorkerHost.localize(
|
|
18269
|
-
registerColor("editor.snippetTabstopHighlightBackground", { dark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(124, 124, 124, 0.3)), light: new editorWorkerHost.Color(new editorWorkerHost.RGBA(10, 50, 100, 0.2)), hcDark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(124, 124, 124, 0.3)), hcLight: new editorWorkerHost.Color(new editorWorkerHost.RGBA(10, 50, 100, 0.2)) }, editorWorkerHost.localize(
|
|
18270
|
-
registerColor("editor.snippetTabstopHighlightBorder", null, editorWorkerHost.localize(
|
|
18271
|
-
registerColor("editor.snippetFinalTabstopHighlightBackground", null, editorWorkerHost.localize(
|
|
18272
|
-
registerColor("editor.snippetFinalTabstopHighlightBorder", { dark: "#525252", light: new editorWorkerHost.Color(new editorWorkerHost.RGBA(10, 50, 100, 0.5)), hcDark: "#525252", hcLight: "#292929" }, editorWorkerHost.localize(
|
|
18187
|
+
const foreground = registerColor("foreground", { dark: "#CCCCCC", light: "#616161", hcDark: "#FFFFFF", hcLight: "#292929" }, editorWorkerHost.localize(1798, "Overall foreground color. This color is only used if not overridden by a component."));
|
|
18188
|
+
registerColor("disabledForeground", { dark: "#CCCCCC80", light: "#61616180", hcDark: "#A5A5A5", hcLight: "#7F7F7F" }, editorWorkerHost.localize(1799, "Overall foreground for disabled elements. This color is only used if not overridden by a component."));
|
|
18189
|
+
registerColor("errorForeground", { dark: "#F48771", light: "#A1260D", hcDark: "#F48771", hcLight: "#B5200D" }, editorWorkerHost.localize(1800, "Overall foreground color for error messages. This color is only used if not overridden by a component."));
|
|
18190
|
+
const descriptionForeground = registerColor("descriptionForeground", { light: "#717171", dark: transparent(foreground, 0.7), hcDark: transparent(foreground, 0.7), hcLight: transparent(foreground, 0.7) }, editorWorkerHost.localize(1801, "Foreground color for description text providing additional information, for example for a label."));
|
|
18191
|
+
const iconForeground = registerColor("icon.foreground", { dark: "#C5C5C5", light: "#424242", hcDark: "#FFFFFF", hcLight: "#292929" }, editorWorkerHost.localize(1802, "The default color for icons in the workbench."));
|
|
18192
|
+
const focusBorder = registerColor("focusBorder", { dark: "#007FD4", light: "#0090F1", hcDark: "#F38518", hcLight: "#006BBD" }, editorWorkerHost.localize(1803, "Overall border color for focused elements. This color is only used if not overridden by a component."));
|
|
18193
|
+
const contrastBorder = registerColor("contrastBorder", { light: null, dark: null, hcDark: "#6FC3DF", hcLight: "#0F4A85" }, editorWorkerHost.localize(1804, "An extra border around elements to separate them from others for greater contrast."));
|
|
18194
|
+
const activeContrastBorder = registerColor("contrastActiveBorder", { light: null, dark: null, hcDark: focusBorder, hcLight: focusBorder }, editorWorkerHost.localize(1805, "An extra border around active elements to separate them from others for greater contrast."));
|
|
18195
|
+
registerColor("selection.background", null, editorWorkerHost.localize(1806, "The background color of text selections in the workbench (e.g. for input fields or text areas). Note that this does not apply to selections within the editor."));
|
|
18196
|
+
const textLinkForeground = registerColor("textLink.foreground", { light: "#006AB1", dark: "#3794FF", hcDark: "#21A6FF", hcLight: "#0F4A85" }, editorWorkerHost.localize(1807, "Foreground color for links in text."));
|
|
18197
|
+
registerColor("textLink.activeForeground", { light: "#006AB1", dark: "#3794FF", hcDark: "#21A6FF", hcLight: "#0F4A85" }, editorWorkerHost.localize(1808, "Foreground color for links in text when clicked on and on mouse hover."));
|
|
18198
|
+
registerColor("textSeparator.foreground", { light: "#0000002e", dark: "#ffffff2e", hcDark: editorWorkerHost.Color.black, hcLight: "#292929" }, editorWorkerHost.localize(1809, "Color for text separators."));
|
|
18199
|
+
registerColor("textPreformat.foreground", { light: "#A31515", dark: "#D7BA7D", hcDark: "#FFFFFF", hcLight: "#FFFFFF" }, editorWorkerHost.localize(1810, "Foreground color for preformatted text segments."));
|
|
18200
|
+
registerColor("textPreformat.background", { light: "#0000001A", dark: "#FFFFFF1A", hcDark: null, hcLight: "#09345f" }, editorWorkerHost.localize(1811, "Background color for preformatted text segments."));
|
|
18201
|
+
registerColor("textPreformat.border", { light: null, dark: null, hcDark: contrastBorder, hcLight: null }, editorWorkerHost.localize(1812, "Border color for preformatted text segments."));
|
|
18202
|
+
registerColor("textBlockQuote.background", { light: "#f2f2f2", dark: "#222222", hcDark: null, hcLight: "#F2F2F2" }, editorWorkerHost.localize(1813, "Background color for block quotes in text."));
|
|
18203
|
+
registerColor("textBlockQuote.border", { light: "#007acc80", dark: "#007acc80", hcDark: editorWorkerHost.Color.white, hcLight: "#292929" }, editorWorkerHost.localize(1814, "Border color for block quotes in text."));
|
|
18204
|
+
registerColor("textCodeBlock.background", { light: "#dcdcdc66", dark: "#0a0a0a66", hcDark: editorWorkerHost.Color.black, hcLight: "#F2F2F2" }, editorWorkerHost.localize(1815, "Background color for code blocks in text."));
|
|
18205
|
+
registerColor("sash.hoverBorder", focusBorder, editorWorkerHost.localize(2021, "Border color of active sashes."));
|
|
18206
|
+
const badgeBackground = registerColor("badge.background", { dark: "#4D4D4D", light: "#C4C4C4", hcDark: editorWorkerHost.Color.black, hcLight: "#0F4A85" }, editorWorkerHost.localize(2022, "Badge background color. Badges are small information labels, e.g. for search results count."));
|
|
18207
|
+
const badgeForeground = registerColor("badge.foreground", { dark: editorWorkerHost.Color.white, light: "#333", hcDark: editorWorkerHost.Color.white, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(2023, "Badge foreground color. Badges are small information labels, e.g. for search results count."));
|
|
18208
|
+
registerColor("activityWarningBadge.foreground", { dark: editorWorkerHost.Color.white, light: editorWorkerHost.Color.white, hcDark: editorWorkerHost.Color.white, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(2024, "Foreground color of the warning activity badge"));
|
|
18209
|
+
registerColor("activityWarningBadge.background", { dark: "#B27C00", light: "#B27C00", hcDark: null, hcLight: "#B27C00" }, editorWorkerHost.localize(2025, "Background color of the warning activity badge"));
|
|
18210
|
+
registerColor("activityErrorBadge.foreground", { dark: editorWorkerHost.Color.black.lighten(0.2), light: editorWorkerHost.Color.white, hcDark: null, hcLight: editorWorkerHost.Color.black.lighten(0.2) }, editorWorkerHost.localize(2026, "Foreground color of the error activity badge"));
|
|
18211
|
+
registerColor("activityErrorBadge.background", { dark: "#F14C4C", light: "#E51400", hcDark: null, hcLight: "#F14C4C" }, editorWorkerHost.localize(2027, "Background color of the error activity badge"));
|
|
18212
|
+
const scrollbarShadow = registerColor("scrollbar.shadow", { dark: "#000000", light: "#DDDDDD", hcDark: null, hcLight: null }, editorWorkerHost.localize(2028, "Scrollbar shadow to indicate that the view is scrolled."));
|
|
18213
|
+
const scrollbarSliderBackground = registerColor("scrollbarSlider.background", { dark: editorWorkerHost.Color.fromHex("#797979").transparent(0.4), light: editorWorkerHost.Color.fromHex("#646464").transparent(0.4), hcDark: transparent(contrastBorder, 0.6), hcLight: transparent(contrastBorder, 0.4) }, editorWorkerHost.localize(2029, "Scrollbar slider background color."));
|
|
18214
|
+
const scrollbarSliderHoverBackground = registerColor("scrollbarSlider.hoverBackground", { dark: editorWorkerHost.Color.fromHex("#646464").transparent(0.7), light: editorWorkerHost.Color.fromHex("#646464").transparent(0.7), hcDark: transparent(contrastBorder, 0.8), hcLight: transparent(contrastBorder, 0.8) }, editorWorkerHost.localize(2030, "Scrollbar slider background color when hovering."));
|
|
18215
|
+
const scrollbarSliderActiveBackground = registerColor("scrollbarSlider.activeBackground", { dark: editorWorkerHost.Color.fromHex("#BFBFBF").transparent(0.4), light: editorWorkerHost.Color.fromHex("#000000").transparent(0.6), hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(2031, "Scrollbar slider background color when clicked on."));
|
|
18216
|
+
registerColor("scrollbar.background", null, editorWorkerHost.localize(2032, "Scrollbar track background color."));
|
|
18217
|
+
const progressBarBackground = registerColor("progressBar.background", { dark: editorWorkerHost.Color.fromHex("#0E70C0"), light: editorWorkerHost.Color.fromHex("#0E70C0"), hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(2033, "Background color of the progress bar that can show for long running operations."));
|
|
18218
|
+
registerColor("chart.line", { dark: "#236B8E", light: "#236B8E", hcDark: "#236B8E", hcLight: "#236B8E" }, editorWorkerHost.localize(2034, "Line color for the chart."));
|
|
18219
|
+
registerColor("chart.axis", { dark: editorWorkerHost.Color.fromHex("#BFBFBF").transparent(0.4), light: editorWorkerHost.Color.fromHex("#000000").transparent(0.6), hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(2035, "Axis color for the chart."));
|
|
18220
|
+
registerColor("chart.guide", { dark: editorWorkerHost.Color.fromHex("#BFBFBF").transparent(0.2), light: editorWorkerHost.Color.fromHex("#000000").transparent(0.2), hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(2036, "Guide line for the chart."));
|
|
18221
|
+
const editorBackground = registerColor("editor.background", { light: "#ffffff", dark: "#1E1E1E", hcDark: editorWorkerHost.Color.black, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(1824, "Editor background color."));
|
|
18222
|
+
const editorForeground = registerColor("editor.foreground", { light: "#333333", dark: "#BBBBBB", hcDark: editorWorkerHost.Color.white, hcLight: foreground }, editorWorkerHost.localize(1825, "Editor default foreground color."));
|
|
18223
|
+
registerColor("editorStickyScroll.background", editorBackground, editorWorkerHost.localize(1826, "Background color of sticky scroll in the editor"));
|
|
18224
|
+
registerColor("editorStickyScrollGutter.background", editorBackground, editorWorkerHost.localize(1827, "Background color of the gutter part of sticky scroll in the editor"));
|
|
18225
|
+
registerColor("editorStickyScrollHover.background", { dark: "#2A2D2E", light: "#F0F0F0", hcDark: null, hcLight: editorWorkerHost.Color.fromHex("#0F4A85").transparent(0.1) }, editorWorkerHost.localize(1828, "Background color of sticky scroll on hover in the editor"));
|
|
18226
|
+
registerColor("editorStickyScroll.border", { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(1829, "Border color of sticky scroll in the editor"));
|
|
18227
|
+
registerColor("editorStickyScroll.shadow", scrollbarShadow, editorWorkerHost.localize(1830, " Shadow color of sticky scroll in the editor"));
|
|
18228
|
+
const editorWidgetBackground = registerColor("editorWidget.background", { dark: "#252526", light: "#F3F3F3", hcDark: "#0C141F", hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(1831, "Background color of editor widgets, such as find/replace."));
|
|
18229
|
+
const editorWidgetForeground = registerColor("editorWidget.foreground", foreground, editorWorkerHost.localize(1832, "Foreground color of editor widgets, such as find/replace."));
|
|
18230
|
+
const editorWidgetBorder = registerColor("editorWidget.border", { dark: "#454545", light: "#C8C8C8", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(1833, "Border color of editor widgets. The color is only used if the widget chooses to have a border and if the color is not overridden by a widget."));
|
|
18231
|
+
registerColor("editorWidget.resizeBorder", null, editorWorkerHost.localize(1834, "Border color of the resize bar of editor widgets. The color is only used if the widget chooses to have a resize border and if the color is not overridden by a widget."));
|
|
18232
|
+
registerColor("editorError.background", null, editorWorkerHost.localize(1835, "Background color of error text in the editor. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18233
|
+
const editorErrorForeground = registerColor("editorError.foreground", { dark: "#F14C4C", light: "#E51400", hcDark: "#F48771", hcLight: "#B5200D" }, editorWorkerHost.localize(1836, "Foreground color of error squigglies in the editor."));
|
|
18234
|
+
const editorErrorBorder = registerColor("editorError.border", { dark: null, light: null, hcDark: editorWorkerHost.Color.fromHex("#E47777").transparent(0.8), hcLight: "#B5200D" }, editorWorkerHost.localize(1837, "If set, color of double underlines for errors in the editor."));
|
|
18235
|
+
const editorWarningBackground = registerColor("editorWarning.background", null, editorWorkerHost.localize(1838, "Background color of warning text in the editor. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18236
|
+
const editorWarningForeground = registerColor("editorWarning.foreground", { dark: "#CCA700", light: "#BF8803", hcDark: "#FFD370", hcLight: "#895503" }, editorWorkerHost.localize(1839, "Foreground color of warning squigglies in the editor."));
|
|
18237
|
+
const editorWarningBorder = registerColor("editorWarning.border", { dark: null, light: null, hcDark: editorWorkerHost.Color.fromHex("#FFCC00").transparent(0.8), hcLight: editorWorkerHost.Color.fromHex("#FFCC00").transparent(0.8) }, editorWorkerHost.localize(1840, "If set, color of double underlines for warnings in the editor."));
|
|
18238
|
+
registerColor("editorInfo.background", null, editorWorkerHost.localize(1841, "Background color of info text in the editor. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18239
|
+
const editorInfoForeground = registerColor("editorInfo.foreground", { dark: "#59a4f9", light: "#0063d3", hcDark: "#59a4f9", hcLight: "#0063d3" }, editorWorkerHost.localize(1842, "Foreground color of info squigglies in the editor."));
|
|
18240
|
+
const editorInfoBorder = registerColor("editorInfo.border", { dark: null, light: null, hcDark: editorWorkerHost.Color.fromHex("#59a4f9").transparent(0.8), hcLight: "#292929" }, editorWorkerHost.localize(1843, "If set, color of double underlines for infos in the editor."));
|
|
18241
|
+
const editorHintForeground = registerColor("editorHint.foreground", { dark: editorWorkerHost.Color.fromHex("#eeeeee").transparent(0.7), light: "#6c6c6c", hcDark: null, hcLight: null }, editorWorkerHost.localize(1844, "Foreground color of hint squigglies in the editor."));
|
|
18242
|
+
registerColor("editorHint.border", { dark: null, light: null, hcDark: editorWorkerHost.Color.fromHex("#eeeeee").transparent(0.8), hcLight: "#292929" }, editorWorkerHost.localize(1845, "If set, color of double underlines for hints in the editor."));
|
|
18243
|
+
const editorActiveLinkForeground = registerColor("editorLink.activeForeground", { dark: "#4E94CE", light: editorWorkerHost.Color.blue, hcDark: editorWorkerHost.Color.cyan, hcLight: "#292929" }, editorWorkerHost.localize(1846, "Color of active links."));
|
|
18244
|
+
const editorSelectionBackground = registerColor("editor.selectionBackground", { light: "#ADD6FF", dark: "#264F78", hcDark: "#f3f518", hcLight: "#0F4A85" }, editorWorkerHost.localize(1847, "Color of the editor selection."));
|
|
18245
|
+
const editorSelectionForeground = registerColor("editor.selectionForeground", { light: null, dark: null, hcDark: "#000000", hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(1848, "Color of the selected text for high contrast."));
|
|
18246
|
+
const editorInactiveSelection = registerColor("editor.inactiveSelectionBackground", { light: transparent(editorSelectionBackground, 0.5), dark: transparent(editorSelectionBackground, 0.5), hcDark: transparent(editorSelectionBackground, 0.7), hcLight: transparent(editorSelectionBackground, 0.5) }, editorWorkerHost.localize(1849, "Color of the selection in an inactive editor. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18247
|
+
const editorSelectionHighlight = registerColor("editor.selectionHighlightBackground", { light: lessProminent(editorSelectionBackground, editorBackground, 0.3, 0.6), dark: lessProminent(editorSelectionBackground, editorBackground, 0.3, 0.6), hcDark: null, hcLight: null }, editorWorkerHost.localize(1850, "Color for regions with the same content as the selection. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18248
|
+
registerColor("editor.selectionHighlightBorder", { light: null, dark: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, editorWorkerHost.localize(1851, "Border color for regions with the same content as the selection."));
|
|
18249
|
+
registerColor("editor.compositionBorder", { light: "#000000", dark: "#ffffff", hcLight: "#000000", hcDark: "#ffffff" }, editorWorkerHost.localize(1852, "The border color for an IME composition."));
|
|
18250
|
+
registerColor("editor.findMatchBackground", { light: "#A8AC94", dark: "#515C6A", hcDark: null, hcLight: null }, editorWorkerHost.localize(1853, "Color of the current search match."));
|
|
18251
|
+
const editorFindMatchForeground = registerColor("editor.findMatchForeground", null, editorWorkerHost.localize(1854, "Text color of the current search match."));
|
|
18252
|
+
const editorFindMatchHighlight = registerColor("editor.findMatchHighlightBackground", { light: "#EA5C0055", dark: "#EA5C0055", hcDark: null, hcLight: null }, editorWorkerHost.localize(1855, "Color of the other search matches. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18253
|
+
const editorFindMatchHighlightForeground = registerColor("editor.findMatchHighlightForeground", null, editorWorkerHost.localize(1856, "Foreground color of the other search matches."), true);
|
|
18254
|
+
registerColor("editor.findRangeHighlightBackground", { dark: "#3a3d4166", light: "#b4b4b44d", hcDark: null, hcLight: null }, editorWorkerHost.localize(1857, "Color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18255
|
+
registerColor("editor.findMatchBorder", { light: null, dark: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, editorWorkerHost.localize(1858, "Border color of the current search match."));
|
|
18256
|
+
const editorFindMatchHighlightBorder = registerColor("editor.findMatchHighlightBorder", { light: null, dark: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, editorWorkerHost.localize(1859, "Border color of the other search matches."));
|
|
18257
|
+
const editorFindRangeHighlightBorder = registerColor("editor.findRangeHighlightBorder", { dark: null, light: null, hcDark: transparent(activeContrastBorder, 0.4), hcLight: transparent(activeContrastBorder, 0.4) }, editorWorkerHost.localize(1860, "Border color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18258
|
+
registerColor("editor.hoverHighlightBackground", { light: "#ADD6FF26", dark: "#264f7840", hcDark: "#ADD6FF26", hcLight: null }, editorWorkerHost.localize(1861, "Highlight below the word for which a hover is shown. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18259
|
+
const editorHoverBackground = registerColor("editorHoverWidget.background", editorWidgetBackground, editorWorkerHost.localize(1862, "Background color of the editor hover."));
|
|
18260
|
+
const editorHoverForeground = registerColor("editorHoverWidget.foreground", editorWidgetForeground, editorWorkerHost.localize(1863, "Foreground color of the editor hover."));
|
|
18261
|
+
const editorHoverBorder = registerColor("editorHoverWidget.border", editorWidgetBorder, editorWorkerHost.localize(1864, "Border color of the editor hover."));
|
|
18262
|
+
registerColor("editorHoverWidget.statusBarBackground", { dark: lighten(editorHoverBackground, 0.2), light: darken(editorHoverBackground, 0.05), hcDark: editorWidgetBackground, hcLight: editorWidgetBackground }, editorWorkerHost.localize(1865, "Background color of the editor hover status bar."));
|
|
18263
|
+
const editorInlayHintForeground = registerColor("editorInlayHint.foreground", { dark: "#969696", light: "#969696", hcDark: editorWorkerHost.Color.white, hcLight: editorWorkerHost.Color.black }, editorWorkerHost.localize(1866, "Foreground color of inline hints"));
|
|
18264
|
+
const editorInlayHintBackground = registerColor("editorInlayHint.background", { dark: transparent(badgeBackground, 0.1), light: transparent(badgeBackground, 0.1), hcDark: transparent(editorWorkerHost.Color.white, 0.1), hcLight: transparent(badgeBackground, 0.1) }, editorWorkerHost.localize(1867, "Background color of inline hints"));
|
|
18265
|
+
const editorInlayHintTypeForeground = registerColor("editorInlayHint.typeForeground", editorInlayHintForeground, editorWorkerHost.localize(1868, "Foreground color of inline hints for types"));
|
|
18266
|
+
const editorInlayHintTypeBackground = registerColor("editorInlayHint.typeBackground", editorInlayHintBackground, editorWorkerHost.localize(1869, "Background color of inline hints for types"));
|
|
18267
|
+
const editorInlayHintParameterForeground = registerColor("editorInlayHint.parameterForeground", editorInlayHintForeground, editorWorkerHost.localize(1870, "Foreground color of inline hints for parameters"));
|
|
18268
|
+
const editorInlayHintParameterBackground = registerColor("editorInlayHint.parameterBackground", editorInlayHintBackground, editorWorkerHost.localize(1871, "Background color of inline hints for parameters"));
|
|
18269
|
+
const editorLightBulbForeground = registerColor("editorLightBulb.foreground", { dark: "#FFCC00", light: "#DDB100", hcDark: "#FFCC00", hcLight: "#007ACC" }, editorWorkerHost.localize(1872, "The color used for the lightbulb actions icon."));
|
|
18270
|
+
registerColor("editorLightBulbAutoFix.foreground", { dark: "#75BEFF", light: "#007ACC", hcDark: "#75BEFF", hcLight: "#007ACC" }, editorWorkerHost.localize(1873, "The color used for the lightbulb auto fix actions icon."));
|
|
18271
|
+
registerColor("editorLightBulbAi.foreground", editorLightBulbForeground, editorWorkerHost.localize(1874, "The color used for the lightbulb AI icon."));
|
|
18272
|
+
registerColor("editor.snippetTabstopHighlightBackground", { dark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(124, 124, 124, 0.3)), light: new editorWorkerHost.Color(new editorWorkerHost.RGBA(10, 50, 100, 0.2)), hcDark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(124, 124, 124, 0.3)), hcLight: new editorWorkerHost.Color(new editorWorkerHost.RGBA(10, 50, 100, 0.2)) }, editorWorkerHost.localize(1875, "Highlight background color of a snippet tabstop."));
|
|
18273
|
+
registerColor("editor.snippetTabstopHighlightBorder", null, editorWorkerHost.localize(1876, "Highlight border color of a snippet tabstop."));
|
|
18274
|
+
registerColor("editor.snippetFinalTabstopHighlightBackground", null, editorWorkerHost.localize(1877, "Highlight background color of the final tabstop of a snippet."));
|
|
18275
|
+
registerColor("editor.snippetFinalTabstopHighlightBorder", { dark: "#525252", light: new editorWorkerHost.Color(new editorWorkerHost.RGBA(10, 50, 100, 0.5)), hcDark: "#525252", hcLight: "#292929" }, editorWorkerHost.localize(1878, "Highlight border color of the final tabstop of a snippet."));
|
|
18273
18276
|
const defaultInsertColor = new editorWorkerHost.Color(new editorWorkerHost.RGBA(155, 185, 85, 0.2));
|
|
18274
18277
|
const defaultRemoveColor = new editorWorkerHost.Color(new editorWorkerHost.RGBA(255, 0, 0, 0.2));
|
|
18275
|
-
const diffInserted = registerColor("diffEditor.insertedTextBackground", { dark: "#9ccc2c33", light: "#9ccc2c40", hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18276
|
-
const diffRemoved = registerColor("diffEditor.removedTextBackground", { dark: "#ff000033", light: "#ff000033", hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18277
|
-
const diffInsertedLine = registerColor("diffEditor.insertedLineBackground", { dark: defaultInsertColor, light: defaultInsertColor, hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18278
|
-
registerColor("diffEditor.removedLineBackground", { dark: defaultRemoveColor, light: defaultRemoveColor, hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18279
|
-
registerColor("diffEditorGutter.insertedLineBackground", null, editorWorkerHost.localize(
|
|
18280
|
-
registerColor("diffEditorGutter.removedLineBackground", null, editorWorkerHost.localize(
|
|
18281
|
-
const diffOverviewRulerInserted = registerColor("diffEditorOverview.insertedForeground", null, editorWorkerHost.localize(
|
|
18282
|
-
const diffOverviewRulerRemoved = registerColor("diffEditorOverview.removedForeground", null, editorWorkerHost.localize(
|
|
18283
|
-
registerColor("diffEditor.insertedTextBorder", { dark: null, light: null, hcDark: "#33ff2eff", hcLight: "#374E06" }, editorWorkerHost.localize(
|
|
18284
|
-
registerColor("diffEditor.removedTextBorder", { dark: null, light: null, hcDark: "#FF008F", hcLight: "#AD0707" }, editorWorkerHost.localize(
|
|
18285
|
-
registerColor("diffEditor.border", { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18286
|
-
registerColor("diffEditor.diagonalFill", { dark: "#cccccc33", light: "#22222233", hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18287
|
-
registerColor("diffEditor.unchangedRegionBackground", "sideBar.background", editorWorkerHost.localize(
|
|
18288
|
-
registerColor("diffEditor.unchangedRegionForeground", "foreground", editorWorkerHost.localize(
|
|
18289
|
-
registerColor("diffEditor.unchangedCodeBackground", { dark: "#74747429", light: "#b8b8b829", hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18290
|
-
const widgetShadow = registerColor("widget.shadow", { dark: transparent(editorWorkerHost.Color.black, 0.36), light: transparent(editorWorkerHost.Color.black, 0.16), hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18291
|
-
const widgetBorder = registerColor("widget.border", { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18292
|
-
const toolbarHoverBackground = registerColor("toolbar.hoverBackground", { dark: "#5a5d5e50", light: "#b8b8b850", hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18293
|
-
registerColor("toolbar.hoverOutline", { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, editorWorkerHost.localize(
|
|
18294
|
-
registerColor("toolbar.activeBackground", { dark: lighten(toolbarHoverBackground, 0.1), light: darken(toolbarHoverBackground, 0.1), hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18295
|
-
const breadcrumbsForeground = registerColor("breadcrumb.foreground", transparent(foreground, 0.8), editorWorkerHost.localize(
|
|
18296
|
-
const breadcrumbsBackground = registerColor("breadcrumb.background", editorBackground, editorWorkerHost.localize(
|
|
18297
|
-
const breadcrumbsFocusForeground = registerColor("breadcrumb.focusForeground", { light: darken(foreground, 0.2), dark: lighten(foreground, 0.1), hcDark: lighten(foreground, 0.1), hcLight: lighten(foreground, 0.1) }, editorWorkerHost.localize(
|
|
18298
|
-
const breadcrumbsActiveSelectionForeground = registerColor("breadcrumb.activeSelectionForeground", { light: darken(foreground, 0.2), dark: lighten(foreground, 0.1), hcDark: lighten(foreground, 0.1), hcLight: lighten(foreground, 0.1) }, editorWorkerHost.localize(
|
|
18299
|
-
registerColor("breadcrumbPicker.background", editorWidgetBackground, editorWorkerHost.localize(
|
|
18278
|
+
const diffInserted = registerColor("diffEditor.insertedTextBackground", { dark: "#9ccc2c33", light: "#9ccc2c40", hcDark: null, hcLight: null }, editorWorkerHost.localize(1879, "Background color for text that got inserted. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18279
|
+
const diffRemoved = registerColor("diffEditor.removedTextBackground", { dark: "#ff000033", light: "#ff000033", hcDark: null, hcLight: null }, editorWorkerHost.localize(1880, "Background color for text that got removed. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18280
|
+
const diffInsertedLine = registerColor("diffEditor.insertedLineBackground", { dark: defaultInsertColor, light: defaultInsertColor, hcDark: null, hcLight: null }, editorWorkerHost.localize(1881, "Background color for lines that got inserted. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18281
|
+
registerColor("diffEditor.removedLineBackground", { dark: defaultRemoveColor, light: defaultRemoveColor, hcDark: null, hcLight: null }, editorWorkerHost.localize(1882, "Background color for lines that got removed. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18282
|
+
registerColor("diffEditorGutter.insertedLineBackground", null, editorWorkerHost.localize(1883, "Background color for the margin where lines got inserted."));
|
|
18283
|
+
registerColor("diffEditorGutter.removedLineBackground", null, editorWorkerHost.localize(1884, "Background color for the margin where lines got removed."));
|
|
18284
|
+
const diffOverviewRulerInserted = registerColor("diffEditorOverview.insertedForeground", null, editorWorkerHost.localize(1885, "Diff overview ruler foreground for inserted content."));
|
|
18285
|
+
const diffOverviewRulerRemoved = registerColor("diffEditorOverview.removedForeground", null, editorWorkerHost.localize(1886, "Diff overview ruler foreground for removed content."));
|
|
18286
|
+
registerColor("diffEditor.insertedTextBorder", { dark: null, light: null, hcDark: "#33ff2eff", hcLight: "#374E06" }, editorWorkerHost.localize(1887, "Outline color for the text that got inserted."));
|
|
18287
|
+
registerColor("diffEditor.removedTextBorder", { dark: null, light: null, hcDark: "#FF008F", hcLight: "#AD0707" }, editorWorkerHost.localize(1888, "Outline color for text that got removed."));
|
|
18288
|
+
registerColor("diffEditor.border", { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(1889, "Border color between the two text editors."));
|
|
18289
|
+
registerColor("diffEditor.diagonalFill", { dark: "#cccccc33", light: "#22222233", hcDark: null, hcLight: null }, editorWorkerHost.localize(1890, "Color of the diff editor's diagonal fill. The diagonal fill is used in side-by-side diff views."));
|
|
18290
|
+
registerColor("diffEditor.unchangedRegionBackground", "sideBar.background", editorWorkerHost.localize(1891, "The background color of unchanged blocks in the diff editor."));
|
|
18291
|
+
registerColor("diffEditor.unchangedRegionForeground", "foreground", editorWorkerHost.localize(1892, "The foreground color of unchanged blocks in the diff editor."));
|
|
18292
|
+
registerColor("diffEditor.unchangedCodeBackground", { dark: "#74747429", light: "#b8b8b829", hcDark: null, hcLight: null }, editorWorkerHost.localize(1893, "The background color of unchanged code in the diff editor."));
|
|
18293
|
+
const widgetShadow = registerColor("widget.shadow", { dark: transparent(editorWorkerHost.Color.black, 0.36), light: transparent(editorWorkerHost.Color.black, 0.16), hcDark: null, hcLight: null }, editorWorkerHost.localize(1894, "Shadow color of widgets such as find/replace inside the editor."));
|
|
18294
|
+
const widgetBorder = registerColor("widget.border", { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(1895, "Border color of widgets such as find/replace inside the editor."));
|
|
18295
|
+
const toolbarHoverBackground = registerColor("toolbar.hoverBackground", { dark: "#5a5d5e50", light: "#b8b8b850", hcDark: null, hcLight: null }, editorWorkerHost.localize(1896, "Toolbar background when hovering over actions using the mouse"));
|
|
18296
|
+
registerColor("toolbar.hoverOutline", { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, editorWorkerHost.localize(1897, "Toolbar outline when hovering over actions using the mouse"));
|
|
18297
|
+
registerColor("toolbar.activeBackground", { dark: lighten(toolbarHoverBackground, 0.1), light: darken(toolbarHoverBackground, 0.1), hcDark: null, hcLight: null }, editorWorkerHost.localize(1898, "Toolbar background when holding the mouse over actions"));
|
|
18298
|
+
const breadcrumbsForeground = registerColor("breadcrumb.foreground", transparent(foreground, 0.8), editorWorkerHost.localize(1899, "Color of focused breadcrumb items."));
|
|
18299
|
+
const breadcrumbsBackground = registerColor("breadcrumb.background", editorBackground, editorWorkerHost.localize(1900, "Background color of breadcrumb items."));
|
|
18300
|
+
const breadcrumbsFocusForeground = registerColor("breadcrumb.focusForeground", { light: darken(foreground, 0.2), dark: lighten(foreground, 0.1), hcDark: lighten(foreground, 0.1), hcLight: lighten(foreground, 0.1) }, editorWorkerHost.localize(1901, "Color of focused breadcrumb items."));
|
|
18301
|
+
const breadcrumbsActiveSelectionForeground = registerColor("breadcrumb.activeSelectionForeground", { light: darken(foreground, 0.2), dark: lighten(foreground, 0.1), hcDark: lighten(foreground, 0.1), hcLight: lighten(foreground, 0.1) }, editorWorkerHost.localize(1902, "Color of selected breadcrumb items."));
|
|
18302
|
+
registerColor("breadcrumbPicker.background", editorWidgetBackground, editorWorkerHost.localize(1903, "Background color of breadcrumb item picker."));
|
|
18300
18303
|
const headerTransparency = 0.5;
|
|
18301
18304
|
const currentBaseColor = editorWorkerHost.Color.fromHex("#40C8AE").transparent(headerTransparency);
|
|
18302
18305
|
const incomingBaseColor = editorWorkerHost.Color.fromHex("#40A6FF").transparent(headerTransparency);
|
|
18303
18306
|
const commonBaseColor = editorWorkerHost.Color.fromHex("#606060").transparent(0.4);
|
|
18304
18307
|
const contentTransparency = 0.4;
|
|
18305
18308
|
const rulerTransparency = 1;
|
|
18306
|
-
const mergeCurrentHeaderBackground = registerColor("merge.currentHeaderBackground", { dark: currentBaseColor, light: currentBaseColor, hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18307
|
-
registerColor("merge.currentContentBackground", transparent(mergeCurrentHeaderBackground, contentTransparency), editorWorkerHost.localize(
|
|
18308
|
-
const mergeIncomingHeaderBackground = registerColor("merge.incomingHeaderBackground", { dark: incomingBaseColor, light: incomingBaseColor, hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18309
|
-
registerColor("merge.incomingContentBackground", transparent(mergeIncomingHeaderBackground, contentTransparency), editorWorkerHost.localize(
|
|
18310
|
-
const mergeCommonHeaderBackground = registerColor("merge.commonHeaderBackground", { dark: commonBaseColor, light: commonBaseColor, hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18311
|
-
registerColor("merge.commonContentBackground", transparent(mergeCommonHeaderBackground, contentTransparency), editorWorkerHost.localize(
|
|
18312
|
-
const mergeBorder = registerColor("merge.border", { dark: null, light: null, hcDark: "#C3DF6F", hcLight: "#007ACC" }, editorWorkerHost.localize(
|
|
18313
|
-
registerColor("editorOverviewRuler.currentContentForeground", { dark: transparent(mergeCurrentHeaderBackground, rulerTransparency), light: transparent(mergeCurrentHeaderBackground, rulerTransparency), hcDark: mergeBorder, hcLight: mergeBorder }, editorWorkerHost.localize(
|
|
18314
|
-
registerColor("editorOverviewRuler.incomingContentForeground", { dark: transparent(mergeIncomingHeaderBackground, rulerTransparency), light: transparent(mergeIncomingHeaderBackground, rulerTransparency), hcDark: mergeBorder, hcLight: mergeBorder }, editorWorkerHost.localize(
|
|
18315
|
-
registerColor("editorOverviewRuler.commonContentForeground", { dark: transparent(mergeCommonHeaderBackground, rulerTransparency), light: transparent(mergeCommonHeaderBackground, rulerTransparency), hcDark: mergeBorder, hcLight: mergeBorder }, editorWorkerHost.localize(
|
|
18316
|
-
const overviewRulerFindMatchForeground = registerColor("editorOverviewRuler.findMatchForeground", { dark: "#d186167e", light: "#d186167e", hcDark: "#AB5A00", hcLight: "#AB5A00" }, editorWorkerHost.localize(
|
|
18317
|
-
const overviewRulerSelectionHighlightForeground = registerColor("editorOverviewRuler.selectionHighlightForeground", "#A0A0A0CC", editorWorkerHost.localize(
|
|
18318
|
-
const problemsErrorIconForeground = registerColor("problemsErrorIcon.foreground", editorErrorForeground, editorWorkerHost.localize(
|
|
18319
|
-
const problemsWarningIconForeground = registerColor("problemsWarningIcon.foreground", editorWarningForeground, editorWorkerHost.localize(
|
|
18320
|
-
const problemsInfoIconForeground = registerColor("problemsInfoIcon.foreground", editorInfoForeground, editorWorkerHost.localize(
|
|
18321
|
-
const minimapFindMatch = registerColor("minimap.findMatchHighlight", editorFindMatchHighlight, editorWorkerHost.localize(
|
|
18322
|
-
const minimapSelectionOccurrenceHighlight = registerColor("minimap.selectionOccurrenceHighlight", editorSelectionHighlight, editorWorkerHost.localize(
|
|
18323
|
-
const minimapSelection = registerColor("minimap.selectionHighlight", editorSelectionBackground, editorWorkerHost.localize(
|
|
18324
|
-
const minimapInfo = registerColor("minimap.infoHighlight", { dark: editorInfoForeground, light: editorInfoForeground, hcDark: editorInfoBorder, hcLight: editorInfoBorder }, editorWorkerHost.localize(
|
|
18325
|
-
const minimapWarning = registerColor("minimap.warningHighlight", { dark: editorWarningForeground, light: editorWarningForeground, hcDark: editorWarningBorder, hcLight: editorWarningBorder }, editorWorkerHost.localize(
|
|
18326
|
-
const minimapError = registerColor("minimap.errorHighlight", { dark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(255, 18, 18, 0.7)), light: new editorWorkerHost.Color(new editorWorkerHost.RGBA(255, 18, 18, 0.7)), hcDark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(255, 50, 50, 1)), hcLight: "#B5200D" }, editorWorkerHost.localize(
|
|
18327
|
-
const minimapBackground = registerColor("minimap.background", null, editorWorkerHost.localize(
|
|
18328
|
-
const minimapForegroundOpacity = registerColor("minimap.foregroundOpacity", editorWorkerHost.Color.fromHex("#000f"), editorWorkerHost.localize(
|
|
18329
|
-
registerColor("minimapSlider.background", transparent(scrollbarSliderBackground, 0.5), editorWorkerHost.localize(
|
|
18330
|
-
registerColor("minimapSlider.hoverBackground", transparent(scrollbarSliderHoverBackground, 0.5), editorWorkerHost.localize(
|
|
18331
|
-
registerColor("minimapSlider.activeBackground", transparent(scrollbarSliderActiveBackground, 0.5), editorWorkerHost.localize(
|
|
18332
|
-
registerColor("charts.foreground", foreground, editorWorkerHost.localize(
|
|
18333
|
-
registerColor("charts.lines", transparent(foreground, 0.5), editorWorkerHost.localize(
|
|
18334
|
-
registerColor("charts.red", editorErrorForeground, editorWorkerHost.localize(
|
|
18335
|
-
registerColor("charts.blue", editorInfoForeground, editorWorkerHost.localize(
|
|
18336
|
-
registerColor("charts.yellow", editorWarningForeground, editorWorkerHost.localize(
|
|
18337
|
-
registerColor("charts.orange", minimapFindMatch, editorWorkerHost.localize(
|
|
18338
|
-
registerColor("charts.green", { dark: "#89D185", light: "#388A34", hcDark: "#89D185", hcLight: "#374e06" }, editorWorkerHost.localize(
|
|
18339
|
-
registerColor("charts.purple", { dark: "#B180D7", light: "#652D90", hcDark: "#B180D7", hcLight: "#652D90" }, editorWorkerHost.localize(
|
|
18340
|
-
const listFocusBackground = registerColor("list.focusBackground", null, editorWorkerHost.localize(
|
|
18341
|
-
const listFocusForeground = registerColor("list.focusForeground", null, editorWorkerHost.localize(
|
|
18342
|
-
const listFocusOutline = registerColor("list.focusOutline", { dark: focusBorder, light: focusBorder, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, editorWorkerHost.localize(
|
|
18343
|
-
const listFocusAndSelectionOutline = registerColor("list.focusAndSelectionOutline", null, editorWorkerHost.localize(
|
|
18344
|
-
const listActiveSelectionBackground = registerColor("list.activeSelectionBackground", { dark: "#04395E", light: "#0060C0", hcDark: null, hcLight: editorWorkerHost.Color.fromHex("#0F4A85").transparent(0.1) }, editorWorkerHost.localize(
|
|
18345
|
-
const listActiveSelectionForeground = registerColor("list.activeSelectionForeground", { dark: editorWorkerHost.Color.white, light: editorWorkerHost.Color.white, hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18346
|
-
const listActiveSelectionIconForeground = registerColor("list.activeSelectionIconForeground", null, editorWorkerHost.localize(
|
|
18347
|
-
const listInactiveSelectionBackground = registerColor("list.inactiveSelectionBackground", { dark: "#37373D", light: "#E4E6F1", hcDark: null, hcLight: editorWorkerHost.Color.fromHex("#0F4A85").transparent(0.1) }, editorWorkerHost.localize(
|
|
18348
|
-
const listInactiveSelectionForeground = registerColor("list.inactiveSelectionForeground", null, editorWorkerHost.localize(
|
|
18349
|
-
const listInactiveSelectionIconForeground = registerColor("list.inactiveSelectionIconForeground", null, editorWorkerHost.localize(
|
|
18350
|
-
const listInactiveFocusBackground = registerColor("list.inactiveFocusBackground", null, editorWorkerHost.localize(
|
|
18351
|
-
const listInactiveFocusOutline = registerColor("list.inactiveFocusOutline", null, editorWorkerHost.localize(
|
|
18352
|
-
const listHoverBackground = registerColor("list.hoverBackground", { dark: "#2A2D2E", light: "#F0F0F0", hcDark: editorWorkerHost.Color.white.transparent(0.1), hcLight: editorWorkerHost.Color.fromHex("#0F4A85").transparent(0.1) }, editorWorkerHost.localize(
|
|
18353
|
-
const listHoverForeground = registerColor("list.hoverForeground", null, editorWorkerHost.localize(
|
|
18354
|
-
const listDropOverBackground = registerColor("list.dropBackground", { dark: "#062F4A", light: "#D6EBFF", hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18355
|
-
const listDropBetweenBackground = registerColor("list.dropBetweenBackground", { dark: iconForeground, light: iconForeground, hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18356
|
-
const listHighlightForeground = registerColor("list.highlightForeground", { dark: "#2AAAFF", light: "#0066BF", hcDark: focusBorder, hcLight: focusBorder }, editorWorkerHost.localize(
|
|
18357
|
-
const listFocusHighlightForeground = registerColor("list.focusHighlightForeground", { dark: listHighlightForeground, light: ifDefinedThenElse(listActiveSelectionBackground, listHighlightForeground, "#BBE7FF"), hcDark: listHighlightForeground, hcLight: listHighlightForeground }, editorWorkerHost.localize(
|
|
18358
|
-
registerColor("list.invalidItemForeground", { dark: "#B89500", light: "#B89500", hcDark: "#B89500", hcLight: "#B5200D" }, editorWorkerHost.localize(
|
|
18359
|
-
registerColor("list.errorForeground", { dark: "#F88070", light: "#B01011", hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18360
|
-
registerColor("list.warningForeground", { dark: "#CCA700", light: "#855F00", hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18361
|
-
const listFilterWidgetBackground = registerColor("listFilterWidget.background", { light: darken(editorWidgetBackground, 0), dark: lighten(editorWidgetBackground, 0), hcDark: editorWidgetBackground, hcLight: editorWidgetBackground }, editorWorkerHost.localize(
|
|
18362
|
-
const listFilterWidgetOutline = registerColor("listFilterWidget.outline", { dark: editorWorkerHost.Color.transparent, light: editorWorkerHost.Color.transparent, hcDark: "#f38518", hcLight: "#007ACC" }, editorWorkerHost.localize(
|
|
18363
|
-
const listFilterWidgetNoMatchesOutline = registerColor("listFilterWidget.noMatchesOutline", { dark: "#BE1100", light: "#BE1100", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18364
|
-
const listFilterWidgetShadow = registerColor("listFilterWidget.shadow", widgetShadow, editorWorkerHost.localize(
|
|
18365
|
-
registerColor("list.filterMatchBackground", { dark: editorFindMatchHighlight, light: editorFindMatchHighlight, hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18366
|
-
registerColor("list.filterMatchBorder", { dark: editorFindMatchHighlightBorder, light: editorFindMatchHighlightBorder, hcDark: contrastBorder, hcLight: activeContrastBorder }, editorWorkerHost.localize(
|
|
18367
|
-
registerColor("list.deemphasizedForeground", { dark: "#8C8C8C", light: "#8E8E90", hcDark: "#A7A8A9", hcLight: "#666666" }, editorWorkerHost.localize(
|
|
18368
|
-
const treeIndentGuidesStroke = registerColor("tree.indentGuidesStroke", { dark: "#585858", light: "#a9a9a9", hcDark: "#a9a9a9", hcLight: "#a5a5a5" }, editorWorkerHost.localize(
|
|
18369
|
-
const treeInactiveIndentGuidesStroke = registerColor("tree.inactiveIndentGuidesStroke", transparent(treeIndentGuidesStroke, 0.4), editorWorkerHost.localize(
|
|
18370
|
-
const tableColumnsBorder = registerColor("tree.tableColumnsBorder", { dark: "#CCCCCC20", light: "#61616120", hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18371
|
-
const tableOddRowsBackgroundColor = registerColor("tree.tableOddRowsBackground", { dark: transparent(foreground, 0.04), light: transparent(foreground, 0.04), hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18372
|
-
registerColor("editorActionList.background", editorWidgetBackground, editorWorkerHost.localize(
|
|
18373
|
-
const editorActionListForeground = registerColor("editorActionList.foreground", editorWidgetForeground, editorWorkerHost.localize(
|
|
18374
|
-
registerColor("editorActionList.focusForeground", listActiveSelectionForeground, editorWorkerHost.localize(
|
|
18375
|
-
registerColor("editorActionList.focusBackground", listActiveSelectionBackground, editorWorkerHost.localize(
|
|
18376
|
-
const inputBackground = registerColor("input.background", { dark: "#3C3C3C", light: editorWorkerHost.Color.white, hcDark: editorWorkerHost.Color.black, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(
|
|
18377
|
-
const inputForeground = registerColor("input.foreground", foreground, editorWorkerHost.localize(
|
|
18378
|
-
const inputBorder = registerColor("input.border", { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18379
|
-
const inputActiveOptionBorder = registerColor("inputOption.activeBorder", { dark: "#007ACC", light: "#007ACC", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18380
|
-
const inputActiveOptionHoverBackground = registerColor("inputOption.hoverBackground", { dark: "#5a5d5e80", light: "#b8b8b850", hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18381
|
-
const inputActiveOptionBackground = registerColor("inputOption.activeBackground", { dark: transparent(focusBorder, 0.4), light: transparent(focusBorder, 0.2), hcDark: editorWorkerHost.Color.transparent, hcLight: editorWorkerHost.Color.transparent }, editorWorkerHost.localize(
|
|
18382
|
-
const inputActiveOptionForeground = registerColor("inputOption.activeForeground", { dark: editorWorkerHost.Color.white, light: editorWorkerHost.Color.black, hcDark: foreground, hcLight: foreground }, editorWorkerHost.localize(
|
|
18383
|
-
registerColor("input.placeholderForeground", { light: transparent(foreground, 0.5), dark: transparent(foreground, 0.5), hcDark: transparent(foreground, 0.7), hcLight: transparent(foreground, 0.7) }, editorWorkerHost.localize(
|
|
18384
|
-
const inputValidationInfoBackground = registerColor("inputValidation.infoBackground", { dark: "#063B49", light: "#D6ECF2", hcDark: editorWorkerHost.Color.black, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(
|
|
18385
|
-
const inputValidationInfoForeground = registerColor("inputValidation.infoForeground", { dark: null, light: null, hcDark: null, hcLight: foreground }, editorWorkerHost.localize(
|
|
18386
|
-
const inputValidationInfoBorder = registerColor("inputValidation.infoBorder", { dark: "#007acc", light: "#007acc", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18387
|
-
const inputValidationWarningBackground = registerColor("inputValidation.warningBackground", { dark: "#352A05", light: "#F6F5D2", hcDark: editorWorkerHost.Color.black, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(
|
|
18388
|
-
const inputValidationWarningForeground = registerColor("inputValidation.warningForeground", { dark: null, light: null, hcDark: null, hcLight: foreground }, editorWorkerHost.localize(
|
|
18389
|
-
const inputValidationWarningBorder = registerColor("inputValidation.warningBorder", { dark: "#B89500", light: "#B89500", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18390
|
-
const inputValidationErrorBackground = registerColor("inputValidation.errorBackground", { dark: "#5A1D1D", light: "#F2DEDE", hcDark: editorWorkerHost.Color.black, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(
|
|
18391
|
-
const inputValidationErrorForeground = registerColor("inputValidation.errorForeground", { dark: null, light: null, hcDark: null, hcLight: foreground }, editorWorkerHost.localize(
|
|
18392
|
-
const inputValidationErrorBorder = registerColor("inputValidation.errorBorder", { dark: "#BE1100", light: "#BE1100", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18393
|
-
const selectBackground = registerColor("dropdown.background", { dark: "#3C3C3C", light: editorWorkerHost.Color.white, hcDark: editorWorkerHost.Color.black, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(
|
|
18394
|
-
const selectListBackground = registerColor("dropdown.listBackground", { dark: null, light: null, hcDark: editorWorkerHost.Color.black, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(
|
|
18395
|
-
const selectForeground = registerColor("dropdown.foreground", { dark: "#F0F0F0", light: foreground, hcDark: editorWorkerHost.Color.white, hcLight: foreground }, editorWorkerHost.localize(
|
|
18396
|
-
const selectBorder = registerColor("dropdown.border", { dark: selectBackground, light: "#CECECE", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18397
|
-
const buttonForeground = registerColor("button.foreground", editorWorkerHost.Color.white, editorWorkerHost.localize(
|
|
18398
|
-
const buttonSeparator = registerColor("button.separator", transparent(buttonForeground, 0.4), editorWorkerHost.localize(
|
|
18399
|
-
const buttonBackground = registerColor("button.background", { dark: "#0E639C", light: "#007ACC", hcDark: editorWorkerHost.Color.black, hcLight: "#0F4A85" }, editorWorkerHost.localize(
|
|
18400
|
-
const buttonHoverBackground = registerColor("button.hoverBackground", { dark: lighten(buttonBackground, 0.2), light: darken(buttonBackground, 0.2), hcDark: buttonBackground, hcLight: buttonBackground }, editorWorkerHost.localize(
|
|
18401
|
-
const buttonBorder = registerColor("button.border", contrastBorder, editorWorkerHost.localize(
|
|
18402
|
-
const buttonSecondaryForeground = registerColor("button.secondaryForeground", { dark: foreground, light: foreground, hcDark: editorWorkerHost.Color.white, hcLight: foreground }, editorWorkerHost.localize(
|
|
18403
|
-
const buttonSecondaryBackground = registerColor("button.secondaryBackground", { dark: listHoverBackground, light: listHoverBackground, hcDark: null, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(
|
|
18404
|
-
registerColor("button.secondaryBorder", contrastBorder, editorWorkerHost.localize(
|
|
18405
|
-
const buttonSecondaryHoverBackground = registerColor("button.secondaryHoverBackground", { dark: lighten(listHoverBackground, 0.2), light: lighten(listHoverBackground, 0.2), hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18406
|
-
const radioActiveForeground = registerColor("radio.activeForeground", inputActiveOptionForeground, editorWorkerHost.localize(
|
|
18407
|
-
const radioActiveBackground = registerColor("radio.activeBackground", inputActiveOptionBackground, editorWorkerHost.localize(
|
|
18408
|
-
const radioActiveBorder = registerColor("radio.activeBorder", inputActiveOptionBorder, editorWorkerHost.localize(
|
|
18409
|
-
const radioInactiveForeground = registerColor("radio.inactiveForeground", null, editorWorkerHost.localize(
|
|
18410
|
-
const radioInactiveBackground = registerColor("radio.inactiveBackground", null, editorWorkerHost.localize(
|
|
18411
|
-
const radioInactiveBorder = registerColor("radio.inactiveBorder", { light: transparent(radioActiveForeground, 0.2), dark: transparent(radioActiveForeground, 0.2), hcDark: transparent(radioActiveForeground, 0.4), hcLight: transparent(radioActiveForeground, 0.2) }, editorWorkerHost.localize(
|
|
18412
|
-
const radioInactiveHoverBackground = registerColor("radio.inactiveHoverBackground", inputActiveOptionHoverBackground, editorWorkerHost.localize(
|
|
18413
|
-
const checkboxBackground = registerColor("checkbox.background", selectBackground, editorWorkerHost.localize(
|
|
18414
|
-
registerColor("checkbox.selectBackground", editorWidgetBackground, editorWorkerHost.localize(
|
|
18415
|
-
const checkboxForeground = registerColor("checkbox.foreground", selectForeground, editorWorkerHost.localize(
|
|
18416
|
-
const checkboxBorder = registerColor("checkbox.border", selectBorder, editorWorkerHost.localize(
|
|
18417
|
-
registerColor("checkbox.selectBorder", iconForeground, editorWorkerHost.localize(
|
|
18418
|
-
const checkboxDisabledBackground = registerColor("checkbox.disabled.background", { op: 7, color: checkboxBackground, with: checkboxForeground, ratio: 0.33 }, editorWorkerHost.localize(
|
|
18419
|
-
const checkboxDisabledForeground = registerColor("checkbox.disabled.foreground", { op: 7, color: checkboxForeground, with: checkboxBackground, ratio: 0.33 }, editorWorkerHost.localize(
|
|
18420
|
-
const keybindingLabelBackground = registerColor("keybindingLabel.background", { dark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(128, 128, 128, 0.17)), light: new editorWorkerHost.Color(new editorWorkerHost.RGBA(221, 221, 221, 0.4)), hcDark: editorWorkerHost.Color.transparent, hcLight: editorWorkerHost.Color.transparent }, editorWorkerHost.localize(
|
|
18421
|
-
const keybindingLabelForeground = registerColor("keybindingLabel.foreground", { dark: editorWorkerHost.Color.fromHex("#CCCCCC"), light: editorWorkerHost.Color.fromHex("#555555"), hcDark: editorWorkerHost.Color.white, hcLight: foreground }, editorWorkerHost.localize(
|
|
18422
|
-
const keybindingLabelBorder = registerColor("keybindingLabel.border", { dark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(51, 51, 51, 0.6)), light: new editorWorkerHost.Color(new editorWorkerHost.RGBA(204, 204, 204, 0.4)), hcDark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(111, 195, 223)), hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18423
|
-
const keybindingLabelBottomBorder = registerColor("keybindingLabel.bottomBorder", { dark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(68, 68, 68, 0.6)), light: new editorWorkerHost.Color(new editorWorkerHost.RGBA(187, 187, 187, 0.4)), hcDark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(111, 195, 223)), hcLight: foreground }, editorWorkerHost.localize(
|
|
18424
|
-
const menuBorder = registerColor("menu.border", { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18425
|
-
const menuForeground = registerColor("menu.foreground", selectForeground, editorWorkerHost.localize(
|
|
18426
|
-
const menuBackground = registerColor("menu.background", selectBackground, editorWorkerHost.localize(
|
|
18427
|
-
const menuSelectionForeground = registerColor("menu.selectionForeground", listActiveSelectionForeground, editorWorkerHost.localize(
|
|
18428
|
-
const menuSelectionBackground = registerColor("menu.selectionBackground", listActiveSelectionBackground, editorWorkerHost.localize(
|
|
18429
|
-
const menuSelectionBorder = registerColor("menu.selectionBorder", { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, editorWorkerHost.localize(
|
|
18430
|
-
const menuSeparatorBackground = registerColor("menu.separatorBackground", { dark: "#606060", light: "#D4D4D4", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18431
|
-
const quickInputBackground = registerColor("quickInput.background", editorWidgetBackground, editorWorkerHost.localize(
|
|
18432
|
-
const quickInputForeground = registerColor("quickInput.foreground", editorWidgetForeground, editorWorkerHost.localize(
|
|
18433
|
-
const quickInputTitleBackground = registerColor("quickInputTitle.background", { dark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(255, 255, 255, 0.105)), light: new editorWorkerHost.Color(new editorWorkerHost.RGBA(0, 0, 0, 0.06)), hcDark: "#000000", hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(
|
|
18434
|
-
const pickerGroupForeground = registerColor("pickerGroup.foreground", { dark: "#3794FF", light: "#0066BF", hcDark: editorWorkerHost.Color.white, hcLight: "#0F4A85" }, editorWorkerHost.localize(
|
|
18435
|
-
const pickerGroupBorder = registerColor("pickerGroup.border", { dark: "#3F3F46", light: "#CCCEDB", hcDark: editorWorkerHost.Color.white, hcLight: "#0F4A85" }, editorWorkerHost.localize(
|
|
18436
|
-
const _deprecatedQuickInputListFocusBackground = registerColor("quickInput.list.focusBackground", null, "", void 0, editorWorkerHost.localize(
|
|
18437
|
-
const quickInputListFocusForeground = registerColor("quickInputList.focusForeground", listActiveSelectionForeground, editorWorkerHost.localize(
|
|
18438
|
-
const quickInputListFocusIconForeground = registerColor("quickInputList.focusIconForeground", listActiveSelectionIconForeground, editorWorkerHost.localize(
|
|
18439
|
-
const quickInputListFocusBackground = registerColor("quickInputList.focusBackground", { dark: oneOf(_deprecatedQuickInputListFocusBackground, listActiveSelectionBackground), light: oneOf(_deprecatedQuickInputListFocusBackground, listActiveSelectionBackground), hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18440
|
-
registerColor("search.resultsInfoForeground", { light: foreground, dark: transparent(foreground, 0.65), hcDark: foreground, hcLight: foreground }, editorWorkerHost.localize(
|
|
18441
|
-
registerColor("searchEditor.findMatchBackground", { light: transparent(editorFindMatchHighlight, 0.66), dark: transparent(editorFindMatchHighlight, 0.66), hcDark: editorFindMatchHighlight, hcLight: editorFindMatchHighlight }, editorWorkerHost.localize(
|
|
18442
|
-
registerColor("searchEditor.findMatchBorder", { light: transparent(editorFindMatchHighlightBorder, 0.66), dark: transparent(editorFindMatchHighlightBorder, 0.66), hcDark: editorFindMatchHighlightBorder, hcLight: editorFindMatchHighlightBorder }, editorWorkerHost.localize(
|
|
18309
|
+
const mergeCurrentHeaderBackground = registerColor("merge.currentHeaderBackground", { dark: currentBaseColor, light: currentBaseColor, hcDark: null, hcLight: null }, editorWorkerHost.localize(1904, "Current header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18310
|
+
registerColor("merge.currentContentBackground", transparent(mergeCurrentHeaderBackground, contentTransparency), editorWorkerHost.localize(1905, "Current content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18311
|
+
const mergeIncomingHeaderBackground = registerColor("merge.incomingHeaderBackground", { dark: incomingBaseColor, light: incomingBaseColor, hcDark: null, hcLight: null }, editorWorkerHost.localize(1906, "Incoming header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18312
|
+
registerColor("merge.incomingContentBackground", transparent(mergeIncomingHeaderBackground, contentTransparency), editorWorkerHost.localize(1907, "Incoming content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18313
|
+
const mergeCommonHeaderBackground = registerColor("merge.commonHeaderBackground", { dark: commonBaseColor, light: commonBaseColor, hcDark: null, hcLight: null }, editorWorkerHost.localize(1908, "Common ancestor header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18314
|
+
registerColor("merge.commonContentBackground", transparent(mergeCommonHeaderBackground, contentTransparency), editorWorkerHost.localize(1909, "Common ancestor content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18315
|
+
const mergeBorder = registerColor("merge.border", { dark: null, light: null, hcDark: "#C3DF6F", hcLight: "#007ACC" }, editorWorkerHost.localize(1910, "Border color on headers and the splitter in inline merge-conflicts."));
|
|
18316
|
+
registerColor("editorOverviewRuler.currentContentForeground", { dark: transparent(mergeCurrentHeaderBackground, rulerTransparency), light: transparent(mergeCurrentHeaderBackground, rulerTransparency), hcDark: mergeBorder, hcLight: mergeBorder }, editorWorkerHost.localize(1911, "Current overview ruler foreground for inline merge-conflicts."));
|
|
18317
|
+
registerColor("editorOverviewRuler.incomingContentForeground", { dark: transparent(mergeIncomingHeaderBackground, rulerTransparency), light: transparent(mergeIncomingHeaderBackground, rulerTransparency), hcDark: mergeBorder, hcLight: mergeBorder }, editorWorkerHost.localize(1912, "Incoming overview ruler foreground for inline merge-conflicts."));
|
|
18318
|
+
registerColor("editorOverviewRuler.commonContentForeground", { dark: transparent(mergeCommonHeaderBackground, rulerTransparency), light: transparent(mergeCommonHeaderBackground, rulerTransparency), hcDark: mergeBorder, hcLight: mergeBorder }, editorWorkerHost.localize(1913, "Common ancestor overview ruler foreground for inline merge-conflicts."));
|
|
18319
|
+
const overviewRulerFindMatchForeground = registerColor("editorOverviewRuler.findMatchForeground", { dark: "#d186167e", light: "#d186167e", hcDark: "#AB5A00", hcLight: "#AB5A00" }, editorWorkerHost.localize(1914, "Overview ruler marker color for find matches. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18320
|
+
const overviewRulerSelectionHighlightForeground = registerColor("editorOverviewRuler.selectionHighlightForeground", "#A0A0A0CC", editorWorkerHost.localize(1915, "Overview ruler marker color for selection highlights. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18321
|
+
const problemsErrorIconForeground = registerColor("problemsErrorIcon.foreground", editorErrorForeground, editorWorkerHost.localize(1916, "The color used for the problems error icon."));
|
|
18322
|
+
const problemsWarningIconForeground = registerColor("problemsWarningIcon.foreground", editorWarningForeground, editorWorkerHost.localize(1917, "The color used for the problems warning icon."));
|
|
18323
|
+
const problemsInfoIconForeground = registerColor("problemsInfoIcon.foreground", editorInfoForeground, editorWorkerHost.localize(1918, "The color used for the problems info icon."));
|
|
18324
|
+
const minimapFindMatch = registerColor("minimap.findMatchHighlight", editorFindMatchHighlight, editorWorkerHost.localize(2010, "Minimap marker color for find matches."), true);
|
|
18325
|
+
const minimapSelectionOccurrenceHighlight = registerColor("minimap.selectionOccurrenceHighlight", editorSelectionHighlight, editorWorkerHost.localize(2011, "Minimap marker color for repeating editor selections."), true);
|
|
18326
|
+
const minimapSelection = registerColor("minimap.selectionHighlight", editorSelectionBackground, editorWorkerHost.localize(2012, "Minimap marker color for the editor selection."), true);
|
|
18327
|
+
const minimapInfo = registerColor("minimap.infoHighlight", { dark: editorInfoForeground, light: editorInfoForeground, hcDark: editorInfoBorder, hcLight: editorInfoBorder }, editorWorkerHost.localize(2013, "Minimap marker color for infos."));
|
|
18328
|
+
const minimapWarning = registerColor("minimap.warningHighlight", { dark: editorWarningForeground, light: editorWarningForeground, hcDark: editorWarningBorder, hcLight: editorWarningBorder }, editorWorkerHost.localize(2014, "Minimap marker color for warnings."));
|
|
18329
|
+
const minimapError = registerColor("minimap.errorHighlight", { dark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(255, 18, 18, 0.7)), light: new editorWorkerHost.Color(new editorWorkerHost.RGBA(255, 18, 18, 0.7)), hcDark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(255, 50, 50, 1)), hcLight: "#B5200D" }, editorWorkerHost.localize(2015, "Minimap marker color for errors."));
|
|
18330
|
+
const minimapBackground = registerColor("minimap.background", null, editorWorkerHost.localize(2016, "Minimap background color."));
|
|
18331
|
+
const minimapForegroundOpacity = registerColor("minimap.foregroundOpacity", editorWorkerHost.Color.fromHex("#000f"), editorWorkerHost.localize(2017, 'Opacity of foreground elements rendered in the minimap. For example, "#000000c0" will render the elements with 75% opacity.'));
|
|
18332
|
+
registerColor("minimapSlider.background", transparent(scrollbarSliderBackground, 0.5), editorWorkerHost.localize(2018, "Minimap slider background color."));
|
|
18333
|
+
registerColor("minimapSlider.hoverBackground", transparent(scrollbarSliderHoverBackground, 0.5), editorWorkerHost.localize(2019, "Minimap slider background color when hovering."));
|
|
18334
|
+
registerColor("minimapSlider.activeBackground", transparent(scrollbarSliderActiveBackground, 0.5), editorWorkerHost.localize(2020, "Minimap slider background color when clicked on."));
|
|
18335
|
+
registerColor("charts.foreground", foreground, editorWorkerHost.localize(1816, "The foreground color used in charts."));
|
|
18336
|
+
registerColor("charts.lines", transparent(foreground, 0.5), editorWorkerHost.localize(1817, "The color used for horizontal lines in charts."));
|
|
18337
|
+
registerColor("charts.red", editorErrorForeground, editorWorkerHost.localize(1818, "The red color used in chart visualizations."));
|
|
18338
|
+
registerColor("charts.blue", editorInfoForeground, editorWorkerHost.localize(1819, "The blue color used in chart visualizations."));
|
|
18339
|
+
registerColor("charts.yellow", editorWarningForeground, editorWorkerHost.localize(1820, "The yellow color used in chart visualizations."));
|
|
18340
|
+
registerColor("charts.orange", minimapFindMatch, editorWorkerHost.localize(1821, "The orange color used in chart visualizations."));
|
|
18341
|
+
registerColor("charts.green", { dark: "#89D185", light: "#388A34", hcDark: "#89D185", hcLight: "#374e06" }, editorWorkerHost.localize(1822, "The green color used in chart visualizations."));
|
|
18342
|
+
registerColor("charts.purple", { dark: "#B180D7", light: "#652D90", hcDark: "#B180D7", hcLight: "#652D90" }, editorWorkerHost.localize(1823, "The purple color used in chart visualizations."));
|
|
18343
|
+
const listFocusBackground = registerColor("list.focusBackground", null, editorWorkerHost.localize(1967, "List/Tree background color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not."));
|
|
18344
|
+
const listFocusForeground = registerColor("list.focusForeground", null, editorWorkerHost.localize(1968, "List/Tree foreground color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not."));
|
|
18345
|
+
const listFocusOutline = registerColor("list.focusOutline", { dark: focusBorder, light: focusBorder, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, editorWorkerHost.localize(1969, "List/Tree outline color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not."));
|
|
18346
|
+
const listFocusAndSelectionOutline = registerColor("list.focusAndSelectionOutline", null, editorWorkerHost.localize(1970, "List/Tree outline color for the focused item when the list/tree is active and selected. An active list/tree has keyboard focus, an inactive does not."));
|
|
18347
|
+
const listActiveSelectionBackground = registerColor("list.activeSelectionBackground", { dark: "#04395E", light: "#0060C0", hcDark: null, hcLight: editorWorkerHost.Color.fromHex("#0F4A85").transparent(0.1) }, editorWorkerHost.localize(1971, "List/Tree background color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not."));
|
|
18348
|
+
const listActiveSelectionForeground = registerColor("list.activeSelectionForeground", { dark: editorWorkerHost.Color.white, light: editorWorkerHost.Color.white, hcDark: null, hcLight: null }, editorWorkerHost.localize(1972, "List/Tree foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not."));
|
|
18349
|
+
const listActiveSelectionIconForeground = registerColor("list.activeSelectionIconForeground", null, editorWorkerHost.localize(1973, "List/Tree icon foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not."));
|
|
18350
|
+
const listInactiveSelectionBackground = registerColor("list.inactiveSelectionBackground", { dark: "#37373D", light: "#E4E6F1", hcDark: null, hcLight: editorWorkerHost.Color.fromHex("#0F4A85").transparent(0.1) }, editorWorkerHost.localize(1974, "List/Tree background color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not."));
|
|
18351
|
+
const listInactiveSelectionForeground = registerColor("list.inactiveSelectionForeground", null, editorWorkerHost.localize(1975, "List/Tree foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not."));
|
|
18352
|
+
const listInactiveSelectionIconForeground = registerColor("list.inactiveSelectionIconForeground", null, editorWorkerHost.localize(1976, "List/Tree icon foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not."));
|
|
18353
|
+
const listInactiveFocusBackground = registerColor("list.inactiveFocusBackground", null, editorWorkerHost.localize(1977, "List/Tree background color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not."));
|
|
18354
|
+
const listInactiveFocusOutline = registerColor("list.inactiveFocusOutline", null, editorWorkerHost.localize(1978, "List/Tree outline color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not."));
|
|
18355
|
+
const listHoverBackground = registerColor("list.hoverBackground", { dark: "#2A2D2E", light: "#F0F0F0", hcDark: editorWorkerHost.Color.white.transparent(0.1), hcLight: editorWorkerHost.Color.fromHex("#0F4A85").transparent(0.1) }, editorWorkerHost.localize(1979, "List/Tree background when hovering over items using the mouse."));
|
|
18356
|
+
const listHoverForeground = registerColor("list.hoverForeground", null, editorWorkerHost.localize(1980, "List/Tree foreground when hovering over items using the mouse."));
|
|
18357
|
+
const listDropOverBackground = registerColor("list.dropBackground", { dark: "#062F4A", light: "#D6EBFF", hcDark: null, hcLight: null }, editorWorkerHost.localize(1981, "List/Tree drag and drop background when moving items over other items when using the mouse."));
|
|
18358
|
+
const listDropBetweenBackground = registerColor("list.dropBetweenBackground", { dark: iconForeground, light: iconForeground, hcDark: null, hcLight: null }, editorWorkerHost.localize(1982, "List/Tree drag and drop border color when moving items between items when using the mouse."));
|
|
18359
|
+
const listHighlightForeground = registerColor("list.highlightForeground", { dark: "#2AAAFF", light: "#0066BF", hcDark: focusBorder, hcLight: focusBorder }, editorWorkerHost.localize(1983, "List/Tree foreground color of the match highlights when searching inside the list/tree."));
|
|
18360
|
+
const listFocusHighlightForeground = registerColor("list.focusHighlightForeground", { dark: listHighlightForeground, light: ifDefinedThenElse(listActiveSelectionBackground, listHighlightForeground, "#BBE7FF"), hcDark: listHighlightForeground, hcLight: listHighlightForeground }, editorWorkerHost.localize(1984, "List/Tree foreground color of the match highlights on actively focused items when searching inside the list/tree."));
|
|
18361
|
+
registerColor("list.invalidItemForeground", { dark: "#B89500", light: "#B89500", hcDark: "#B89500", hcLight: "#B5200D" }, editorWorkerHost.localize(1985, "List/Tree foreground color for invalid items, for example an unresolved root in explorer."));
|
|
18362
|
+
registerColor("list.errorForeground", { dark: "#F88070", light: "#B01011", hcDark: null, hcLight: null }, editorWorkerHost.localize(1986, "Foreground color of list items containing errors."));
|
|
18363
|
+
registerColor("list.warningForeground", { dark: "#CCA700", light: "#855F00", hcDark: null, hcLight: null }, editorWorkerHost.localize(1987, "Foreground color of list items containing warnings."));
|
|
18364
|
+
const listFilterWidgetBackground = registerColor("listFilterWidget.background", { light: darken(editorWidgetBackground, 0), dark: lighten(editorWidgetBackground, 0), hcDark: editorWidgetBackground, hcLight: editorWidgetBackground }, editorWorkerHost.localize(1988, "Background color of the type filter widget in lists and trees."));
|
|
18365
|
+
const listFilterWidgetOutline = registerColor("listFilterWidget.outline", { dark: editorWorkerHost.Color.transparent, light: editorWorkerHost.Color.transparent, hcDark: "#f38518", hcLight: "#007ACC" }, editorWorkerHost.localize(1989, "Outline color of the type filter widget in lists and trees."));
|
|
18366
|
+
const listFilterWidgetNoMatchesOutline = registerColor("listFilterWidget.noMatchesOutline", { dark: "#BE1100", light: "#BE1100", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(1990, "Outline color of the type filter widget in lists and trees, when there are no matches."));
|
|
18367
|
+
const listFilterWidgetShadow = registerColor("listFilterWidget.shadow", widgetShadow, editorWorkerHost.localize(1991, "Shadow color of the type filter widget in lists and trees."));
|
|
18368
|
+
registerColor("list.filterMatchBackground", { dark: editorFindMatchHighlight, light: editorFindMatchHighlight, hcDark: null, hcLight: null }, editorWorkerHost.localize(1992, "Background color of the filtered match."));
|
|
18369
|
+
registerColor("list.filterMatchBorder", { dark: editorFindMatchHighlightBorder, light: editorFindMatchHighlightBorder, hcDark: contrastBorder, hcLight: activeContrastBorder }, editorWorkerHost.localize(1993, "Border color of the filtered match."));
|
|
18370
|
+
registerColor("list.deemphasizedForeground", { dark: "#8C8C8C", light: "#8E8E90", hcDark: "#A7A8A9", hcLight: "#666666" }, editorWorkerHost.localize(1994, "List/Tree foreground color for items that are deemphasized."));
|
|
18371
|
+
const treeIndentGuidesStroke = registerColor("tree.indentGuidesStroke", { dark: "#585858", light: "#a9a9a9", hcDark: "#a9a9a9", hcLight: "#a5a5a5" }, editorWorkerHost.localize(1995, "Tree stroke color for the indentation guides."));
|
|
18372
|
+
const treeInactiveIndentGuidesStroke = registerColor("tree.inactiveIndentGuidesStroke", transparent(treeIndentGuidesStroke, 0.4), editorWorkerHost.localize(1996, "Tree stroke color for the indentation guides that are not active."));
|
|
18373
|
+
const tableColumnsBorder = registerColor("tree.tableColumnsBorder", { dark: "#CCCCCC20", light: "#61616120", hcDark: null, hcLight: null }, editorWorkerHost.localize(1997, "Table border color between columns."));
|
|
18374
|
+
const tableOddRowsBackgroundColor = registerColor("tree.tableOddRowsBackground", { dark: transparent(foreground, 0.04), light: transparent(foreground, 0.04), hcDark: null, hcLight: null }, editorWorkerHost.localize(1998, "Background color for odd table rows."));
|
|
18375
|
+
registerColor("editorActionList.background", editorWidgetBackground, editorWorkerHost.localize(1999, "Action List background color."));
|
|
18376
|
+
const editorActionListForeground = registerColor("editorActionList.foreground", editorWidgetForeground, editorWorkerHost.localize(2e3, "Action List foreground color."));
|
|
18377
|
+
registerColor("editorActionList.focusForeground", listActiveSelectionForeground, editorWorkerHost.localize(2001, "Action List foreground color for the focused item."));
|
|
18378
|
+
registerColor("editorActionList.focusBackground", listActiveSelectionBackground, editorWorkerHost.localize(2002, "Action List background color for the focused item."));
|
|
18379
|
+
const inputBackground = registerColor("input.background", { dark: "#3C3C3C", light: editorWorkerHost.Color.white, hcDark: editorWorkerHost.Color.black, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(1919, "Input box background."));
|
|
18380
|
+
const inputForeground = registerColor("input.foreground", foreground, editorWorkerHost.localize(1920, "Input box foreground."));
|
|
18381
|
+
const inputBorder = registerColor("input.border", { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(1921, "Input box border."));
|
|
18382
|
+
const inputActiveOptionBorder = registerColor("inputOption.activeBorder", { dark: "#007ACC", light: "#007ACC", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(1922, "Border color of activated options in input fields."));
|
|
18383
|
+
const inputActiveOptionHoverBackground = registerColor("inputOption.hoverBackground", { dark: "#5a5d5e80", light: "#b8b8b850", hcDark: null, hcLight: null }, editorWorkerHost.localize(1923, "Background color of activated options in input fields."));
|
|
18384
|
+
const inputActiveOptionBackground = registerColor("inputOption.activeBackground", { dark: transparent(focusBorder, 0.4), light: transparent(focusBorder, 0.2), hcDark: editorWorkerHost.Color.transparent, hcLight: editorWorkerHost.Color.transparent }, editorWorkerHost.localize(1924, "Background hover color of options in input fields."));
|
|
18385
|
+
const inputActiveOptionForeground = registerColor("inputOption.activeForeground", { dark: editorWorkerHost.Color.white, light: editorWorkerHost.Color.black, hcDark: foreground, hcLight: foreground }, editorWorkerHost.localize(1925, "Foreground color of activated options in input fields."));
|
|
18386
|
+
registerColor("input.placeholderForeground", { light: transparent(foreground, 0.5), dark: transparent(foreground, 0.5), hcDark: transparent(foreground, 0.7), hcLight: transparent(foreground, 0.7) }, editorWorkerHost.localize(1926, "Input box foreground color for placeholder text."));
|
|
18387
|
+
const inputValidationInfoBackground = registerColor("inputValidation.infoBackground", { dark: "#063B49", light: "#D6ECF2", hcDark: editorWorkerHost.Color.black, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(1927, "Input validation background color for information severity."));
|
|
18388
|
+
const inputValidationInfoForeground = registerColor("inputValidation.infoForeground", { dark: null, light: null, hcDark: null, hcLight: foreground }, editorWorkerHost.localize(1928, "Input validation foreground color for information severity."));
|
|
18389
|
+
const inputValidationInfoBorder = registerColor("inputValidation.infoBorder", { dark: "#007acc", light: "#007acc", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(1929, "Input validation border color for information severity."));
|
|
18390
|
+
const inputValidationWarningBackground = registerColor("inputValidation.warningBackground", { dark: "#352A05", light: "#F6F5D2", hcDark: editorWorkerHost.Color.black, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(1930, "Input validation background color for warning severity."));
|
|
18391
|
+
const inputValidationWarningForeground = registerColor("inputValidation.warningForeground", { dark: null, light: null, hcDark: null, hcLight: foreground }, editorWorkerHost.localize(1931, "Input validation foreground color for warning severity."));
|
|
18392
|
+
const inputValidationWarningBorder = registerColor("inputValidation.warningBorder", { dark: "#B89500", light: "#B89500", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(1932, "Input validation border color for warning severity."));
|
|
18393
|
+
const inputValidationErrorBackground = registerColor("inputValidation.errorBackground", { dark: "#5A1D1D", light: "#F2DEDE", hcDark: editorWorkerHost.Color.black, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(1933, "Input validation background color for error severity."));
|
|
18394
|
+
const inputValidationErrorForeground = registerColor("inputValidation.errorForeground", { dark: null, light: null, hcDark: null, hcLight: foreground }, editorWorkerHost.localize(1934, "Input validation foreground color for error severity."));
|
|
18395
|
+
const inputValidationErrorBorder = registerColor("inputValidation.errorBorder", { dark: "#BE1100", light: "#BE1100", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(1935, "Input validation border color for error severity."));
|
|
18396
|
+
const selectBackground = registerColor("dropdown.background", { dark: "#3C3C3C", light: editorWorkerHost.Color.white, hcDark: editorWorkerHost.Color.black, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(1936, "Dropdown background."));
|
|
18397
|
+
const selectListBackground = registerColor("dropdown.listBackground", { dark: null, light: null, hcDark: editorWorkerHost.Color.black, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(1937, "Dropdown list background."));
|
|
18398
|
+
const selectForeground = registerColor("dropdown.foreground", { dark: "#F0F0F0", light: foreground, hcDark: editorWorkerHost.Color.white, hcLight: foreground }, editorWorkerHost.localize(1938, "Dropdown foreground."));
|
|
18399
|
+
const selectBorder = registerColor("dropdown.border", { dark: selectBackground, light: "#CECECE", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(1939, "Dropdown border."));
|
|
18400
|
+
const buttonForeground = registerColor("button.foreground", editorWorkerHost.Color.white, editorWorkerHost.localize(1940, "Button foreground color."));
|
|
18401
|
+
const buttonSeparator = registerColor("button.separator", transparent(buttonForeground, 0.4), editorWorkerHost.localize(1941, "Button separator color."));
|
|
18402
|
+
const buttonBackground = registerColor("button.background", { dark: "#0E639C", light: "#007ACC", hcDark: editorWorkerHost.Color.black, hcLight: "#0F4A85" }, editorWorkerHost.localize(1942, "Button background color."));
|
|
18403
|
+
const buttonHoverBackground = registerColor("button.hoverBackground", { dark: lighten(buttonBackground, 0.2), light: darken(buttonBackground, 0.2), hcDark: buttonBackground, hcLight: buttonBackground }, editorWorkerHost.localize(1943, "Button background color when hovering."));
|
|
18404
|
+
const buttonBorder = registerColor("button.border", contrastBorder, editorWorkerHost.localize(1944, "Button border color."));
|
|
18405
|
+
const buttonSecondaryForeground = registerColor("button.secondaryForeground", { dark: foreground, light: foreground, hcDark: editorWorkerHost.Color.white, hcLight: foreground }, editorWorkerHost.localize(1945, "Secondary button foreground color."));
|
|
18406
|
+
const buttonSecondaryBackground = registerColor("button.secondaryBackground", { dark: listHoverBackground, light: listHoverBackground, hcDark: null, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(1946, "Secondary button background color."));
|
|
18407
|
+
registerColor("button.secondaryBorder", contrastBorder, editorWorkerHost.localize(1947, "Secondary button border color."));
|
|
18408
|
+
const buttonSecondaryHoverBackground = registerColor("button.secondaryHoverBackground", { dark: lighten(listHoverBackground, 0.2), light: lighten(listHoverBackground, 0.2), hcDark: null, hcLight: null }, editorWorkerHost.localize(1948, "Secondary button background color when hovering."));
|
|
18409
|
+
const radioActiveForeground = registerColor("radio.activeForeground", inputActiveOptionForeground, editorWorkerHost.localize(1949, "Foreground color of active radio option."));
|
|
18410
|
+
const radioActiveBackground = registerColor("radio.activeBackground", inputActiveOptionBackground, editorWorkerHost.localize(1950, "Background color of active radio option."));
|
|
18411
|
+
const radioActiveBorder = registerColor("radio.activeBorder", inputActiveOptionBorder, editorWorkerHost.localize(1951, "Border color of the active radio option."));
|
|
18412
|
+
const radioInactiveForeground = registerColor("radio.inactiveForeground", null, editorWorkerHost.localize(1952, "Foreground color of inactive radio option."));
|
|
18413
|
+
const radioInactiveBackground = registerColor("radio.inactiveBackground", null, editorWorkerHost.localize(1953, "Background color of inactive radio option."));
|
|
18414
|
+
const radioInactiveBorder = registerColor("radio.inactiveBorder", { light: transparent(radioActiveForeground, 0.2), dark: transparent(radioActiveForeground, 0.2), hcDark: transparent(radioActiveForeground, 0.4), hcLight: transparent(radioActiveForeground, 0.2) }, editorWorkerHost.localize(1954, "Border color of the inactive radio option."));
|
|
18415
|
+
const radioInactiveHoverBackground = registerColor("radio.inactiveHoverBackground", inputActiveOptionHoverBackground, editorWorkerHost.localize(1955, "Background color of inactive active radio option when hovering."));
|
|
18416
|
+
const checkboxBackground = registerColor("checkbox.background", selectBackground, editorWorkerHost.localize(1956, "Background color of checkbox widget."));
|
|
18417
|
+
registerColor("checkbox.selectBackground", editorWidgetBackground, editorWorkerHost.localize(1957, "Background color of checkbox widget when the element it's in is selected."));
|
|
18418
|
+
const checkboxForeground = registerColor("checkbox.foreground", selectForeground, editorWorkerHost.localize(1958, "Foreground color of checkbox widget."));
|
|
18419
|
+
const checkboxBorder = registerColor("checkbox.border", selectBorder, editorWorkerHost.localize(1959, "Border color of checkbox widget."));
|
|
18420
|
+
registerColor("checkbox.selectBorder", iconForeground, editorWorkerHost.localize(1960, "Border color of checkbox widget when the element it's in is selected."));
|
|
18421
|
+
const checkboxDisabledBackground = registerColor("checkbox.disabled.background", { op: 7, color: checkboxBackground, with: checkboxForeground, ratio: 0.33 }, editorWorkerHost.localize(1961, "Background of a disabled checkbox."));
|
|
18422
|
+
const checkboxDisabledForeground = registerColor("checkbox.disabled.foreground", { op: 7, color: checkboxForeground, with: checkboxBackground, ratio: 0.33 }, editorWorkerHost.localize(1962, "Foreground of a disabled checkbox."));
|
|
18423
|
+
const keybindingLabelBackground = registerColor("keybindingLabel.background", { dark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(128, 128, 128, 0.17)), light: new editorWorkerHost.Color(new editorWorkerHost.RGBA(221, 221, 221, 0.4)), hcDark: editorWorkerHost.Color.transparent, hcLight: editorWorkerHost.Color.transparent }, editorWorkerHost.localize(1963, "Keybinding label background color. The keybinding label is used to represent a keyboard shortcut."));
|
|
18424
|
+
const keybindingLabelForeground = registerColor("keybindingLabel.foreground", { dark: editorWorkerHost.Color.fromHex("#CCCCCC"), light: editorWorkerHost.Color.fromHex("#555555"), hcDark: editorWorkerHost.Color.white, hcLight: foreground }, editorWorkerHost.localize(1964, "Keybinding label foreground color. The keybinding label is used to represent a keyboard shortcut."));
|
|
18425
|
+
const keybindingLabelBorder = registerColor("keybindingLabel.border", { dark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(51, 51, 51, 0.6)), light: new editorWorkerHost.Color(new editorWorkerHost.RGBA(204, 204, 204, 0.4)), hcDark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(111, 195, 223)), hcLight: contrastBorder }, editorWorkerHost.localize(1965, "Keybinding label border color. The keybinding label is used to represent a keyboard shortcut."));
|
|
18426
|
+
const keybindingLabelBottomBorder = registerColor("keybindingLabel.bottomBorder", { dark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(68, 68, 68, 0.6)), light: new editorWorkerHost.Color(new editorWorkerHost.RGBA(187, 187, 187, 0.4)), hcDark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(111, 195, 223)), hcLight: foreground }, editorWorkerHost.localize(1966, "Keybinding label border bottom color. The keybinding label is used to represent a keyboard shortcut."));
|
|
18427
|
+
const menuBorder = registerColor("menu.border", { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(2003, "Border color of menus."));
|
|
18428
|
+
const menuForeground = registerColor("menu.foreground", selectForeground, editorWorkerHost.localize(2004, "Foreground color of menu items."));
|
|
18429
|
+
const menuBackground = registerColor("menu.background", selectBackground, editorWorkerHost.localize(2005, "Background color of menu items."));
|
|
18430
|
+
const menuSelectionForeground = registerColor("menu.selectionForeground", listActiveSelectionForeground, editorWorkerHost.localize(2006, "Foreground color of the selected menu item in menus."));
|
|
18431
|
+
const menuSelectionBackground = registerColor("menu.selectionBackground", listActiveSelectionBackground, editorWorkerHost.localize(2007, "Background color of the selected menu item in menus."));
|
|
18432
|
+
const menuSelectionBorder = registerColor("menu.selectionBorder", { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, editorWorkerHost.localize(2008, "Border color of the selected menu item in menus."));
|
|
18433
|
+
const menuSeparatorBackground = registerColor("menu.separatorBackground", { dark: "#606060", light: "#D4D4D4", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(2009, "Color of a separator menu item in menus."));
|
|
18434
|
+
const quickInputBackground = registerColor("quickInput.background", editorWidgetBackground, editorWorkerHost.localize(2037, "Quick picker background color. The quick picker widget is the container for pickers like the command palette."));
|
|
18435
|
+
const quickInputForeground = registerColor("quickInput.foreground", editorWidgetForeground, editorWorkerHost.localize(2038, "Quick picker foreground color. The quick picker widget is the container for pickers like the command palette."));
|
|
18436
|
+
const quickInputTitleBackground = registerColor("quickInputTitle.background", { dark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(255, 255, 255, 0.105)), light: new editorWorkerHost.Color(new editorWorkerHost.RGBA(0, 0, 0, 0.06)), hcDark: "#000000", hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(2039, "Quick picker title background color. The quick picker widget is the container for pickers like the command palette."));
|
|
18437
|
+
const pickerGroupForeground = registerColor("pickerGroup.foreground", { dark: "#3794FF", light: "#0066BF", hcDark: editorWorkerHost.Color.white, hcLight: "#0F4A85" }, editorWorkerHost.localize(2040, "Quick picker color for grouping labels."));
|
|
18438
|
+
const pickerGroupBorder = registerColor("pickerGroup.border", { dark: "#3F3F46", light: "#CCCEDB", hcDark: editorWorkerHost.Color.white, hcLight: "#0F4A85" }, editorWorkerHost.localize(2041, "Quick picker color for grouping borders."));
|
|
18439
|
+
const _deprecatedQuickInputListFocusBackground = registerColor("quickInput.list.focusBackground", null, "", void 0, editorWorkerHost.localize(2042, "Please use quickInputList.focusBackground instead"));
|
|
18440
|
+
const quickInputListFocusForeground = registerColor("quickInputList.focusForeground", listActiveSelectionForeground, editorWorkerHost.localize(2043, "Quick picker foreground color for the focused item."));
|
|
18441
|
+
const quickInputListFocusIconForeground = registerColor("quickInputList.focusIconForeground", listActiveSelectionIconForeground, editorWorkerHost.localize(2044, "Quick picker icon foreground color for the focused item."));
|
|
18442
|
+
const quickInputListFocusBackground = registerColor("quickInputList.focusBackground", { dark: oneOf(_deprecatedQuickInputListFocusBackground, listActiveSelectionBackground), light: oneOf(_deprecatedQuickInputListFocusBackground, listActiveSelectionBackground), hcDark: null, hcLight: null }, editorWorkerHost.localize(2045, "Quick picker background color for the focused item."));
|
|
18443
|
+
registerColor("search.resultsInfoForeground", { light: foreground, dark: transparent(foreground, 0.65), hcDark: foreground, hcLight: foreground }, editorWorkerHost.localize(2046, "Color of the text in the search viewlet's completion message."));
|
|
18444
|
+
registerColor("searchEditor.findMatchBackground", { light: transparent(editorFindMatchHighlight, 0.66), dark: transparent(editorFindMatchHighlight, 0.66), hcDark: editorFindMatchHighlight, hcLight: editorFindMatchHighlight }, editorWorkerHost.localize(2047, "Color of the Search Editor query matches."));
|
|
18445
|
+
registerColor("searchEditor.findMatchBorder", { light: transparent(editorFindMatchHighlightBorder, 0.66), dark: transparent(editorFindMatchHighlightBorder, 0.66), hcDark: editorFindMatchHighlightBorder, hcLight: editorFindMatchHighlightBorder }, editorWorkerHost.localize(2048, "Border color of the Search Editor query matches."));
|
|
18443
18446
|
class PageCoordinates {
|
|
18444
18447
|
constructor(x, y) {
|
|
18445
18448
|
this.x = x;
|
|
@@ -23900,7 +23903,7 @@ define("vs/editor-BW_9N2G0", ["require", "exports", "./editorWorkerHost-DEXzajWn
|
|
|
23900
23903
|
}
|
|
23901
23904
|
this._register(editorWorkerHost.Event.runAndSubscribe(this._accessibilityService.onDidChangeScreenReaderOptimized, () => {
|
|
23902
23905
|
if (this._accessibilityService.isScreenReaderOptimized() && !this._asyncFocusGainWriteScreenReaderContent.value) {
|
|
23903
|
-
this._asyncFocusGainWriteScreenReaderContent.value =
|
|
23906
|
+
this._asyncFocusGainWriteScreenReaderContent.value = new editorWorkerHost.RunOnceScheduler(() => this.writeNativeTextAreaContent("asyncFocusGain"), 0);
|
|
23904
23907
|
} else {
|
|
23905
23908
|
this._asyncFocusGainWriteScreenReaderContent.clear();
|
|
23906
23909
|
}
|
|
@@ -34995,7 +34998,7 @@ define("vs/editor-BW_9N2G0", ["require", "exports", "./editorWorkerHost-DEXzajWn
|
|
|
34995
34998
|
}
|
|
34996
34999
|
constructor() {
|
|
34997
35000
|
super();
|
|
34998
|
-
this._onDidChange = new editorWorkerHost.Emitter();
|
|
35001
|
+
this._onDidChange = this._register(new editorWorkerHost.Emitter());
|
|
34999
35002
|
this.onDidChange = this._onDidChange.event;
|
|
35000
35003
|
this._updateColorMap();
|
|
35001
35004
|
this._register(editorWorkerHost.TokenizationRegistry.onDidChange((e) => {
|
|
@@ -45330,6 +45333,7 @@ struct VSOutput {
|
|
|
45330
45333
|
};
|
|
45331
45334
|
_GpuMarkOverlay.CLASS_NAME = "gpu-mark";
|
|
45332
45335
|
let GpuMarkOverlay = _GpuMarkOverlay;
|
|
45336
|
+
const IUserInteractionService = createDecorator("userInteractionService");
|
|
45333
45337
|
var __decorate$X = function(decorators, target, key, desc) {
|
|
45334
45338
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
45335
45339
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -45342,9 +45346,10 @@ struct VSOutput {
|
|
|
45342
45346
|
};
|
|
45343
45347
|
};
|
|
45344
45348
|
let View$1 = class View extends ViewEventHandler {
|
|
45345
|
-
constructor(editorContainer, ownerID, commandDelegate, configuration, colorTheme, model, userInputEvents, overflowWidgetsDomNode, _instantiationService) {
|
|
45349
|
+
constructor(editorContainer, ownerID, commandDelegate, configuration, colorTheme, model, userInputEvents, overflowWidgetsDomNode, _instantiationService, _userInteractionService) {
|
|
45346
45350
|
super();
|
|
45347
45351
|
this._instantiationService = _instantiationService;
|
|
45352
|
+
this._userInteractionService = _userInteractionService;
|
|
45348
45353
|
this._editContextClipboardListeners = new editorWorkerHost.DisposableStore();
|
|
45349
45354
|
this._onWillCopy = this._register(new editorWorkerHost.Emitter());
|
|
45350
45355
|
this.onWillCopy = this._onWillCopy.event;
|
|
@@ -45354,7 +45359,7 @@ struct VSOutput {
|
|
|
45354
45359
|
this.onWillPaste = this._onWillPaste.event;
|
|
45355
45360
|
this._shouldRecomputeGlyphMarginLanes = false;
|
|
45356
45361
|
this._ownerID = ownerID;
|
|
45357
|
-
this._widgetFocusTracker = this._register(new CodeEditorWidgetFocusTracker(editorContainer, overflowWidgetsDomNode));
|
|
45362
|
+
this._widgetFocusTracker = this._register(new CodeEditorWidgetFocusTracker(editorContainer, overflowWidgetsDomNode, this._userInteractionService));
|
|
45358
45363
|
this._register(this._widgetFocusTracker.onChange(() => {
|
|
45359
45364
|
this._context.viewModel.setHasWidgetFocus(this._widgetFocusTracker.hasFocus());
|
|
45360
45365
|
}));
|
|
@@ -45915,7 +45920,8 @@ struct VSOutput {
|
|
|
45915
45920
|
}
|
|
45916
45921
|
};
|
|
45917
45922
|
View$1 = __decorate$X([
|
|
45918
|
-
__param$S(8, IInstantiationService)
|
|
45923
|
+
__param$S(8, IInstantiationService),
|
|
45924
|
+
__param$S(9, IUserInteractionService)
|
|
45919
45925
|
], View$1);
|
|
45920
45926
|
function safeInvokeNoArg(func) {
|
|
45921
45927
|
try {
|
|
@@ -45999,13 +46005,13 @@ struct VSOutput {
|
|
|
45999
46005
|
_EditorRenderingCoordinator.INSTANCE = new _EditorRenderingCoordinator();
|
|
46000
46006
|
let EditorRenderingCoordinator = _EditorRenderingCoordinator;
|
|
46001
46007
|
class CodeEditorWidgetFocusTracker extends editorWorkerHost.Disposable {
|
|
46002
|
-
constructor(domElement, overflowWidgetsDomNode) {
|
|
46008
|
+
constructor(domElement, overflowWidgetsDomNode, userInteractionService) {
|
|
46003
46009
|
super();
|
|
46004
46010
|
this._onChange = this._register(new editorWorkerHost.Emitter());
|
|
46005
46011
|
this.onChange = this._onChange.event;
|
|
46006
46012
|
this._hadFocus = void 0;
|
|
46007
46013
|
this._hasDomElementFocus = false;
|
|
46008
|
-
this._domFocusTracker = this._register(
|
|
46014
|
+
this._domFocusTracker = this._register(userInteractionService.createDomFocusTracker(domElement));
|
|
46009
46015
|
this._overflowWidgetsDomNodeHasFocus = false;
|
|
46010
46016
|
this._register(this._domFocusTracker.onDidFocus(() => {
|
|
46011
46017
|
this._hasDomElementFocus = true;
|
|
@@ -46016,7 +46022,7 @@ struct VSOutput {
|
|
|
46016
46022
|
this._update();
|
|
46017
46023
|
}));
|
|
46018
46024
|
if (overflowWidgetsDomNode) {
|
|
46019
|
-
this._overflowWidgetsDomNode = this._register(
|
|
46025
|
+
this._overflowWidgetsDomNode = this._register(userInteractionService.createDomFocusTracker(overflowWidgetsDomNode));
|
|
46020
46026
|
this._register(this._overflowWidgetsDomNode.onDidFocus(() => {
|
|
46021
46027
|
this._overflowWidgetsDomNodeHasFocus = true;
|
|
46022
46028
|
this._update();
|
|
@@ -48658,7 +48664,7 @@ struct VSOutput {
|
|
|
48658
48664
|
super();
|
|
48659
48665
|
this.textModel = textModel;
|
|
48660
48666
|
this.getLanguageConfiguration = getLanguageConfiguration;
|
|
48661
|
-
this.didChangeEmitter = new editorWorkerHost.Emitter();
|
|
48667
|
+
this.didChangeEmitter = this._register(new editorWorkerHost.Emitter());
|
|
48662
48668
|
this.denseKeyProvider = new DenseKeyProvider();
|
|
48663
48669
|
this.brackets = new LanguageAgnosticBracketTokens(this.denseKeyProvider, this.getLanguageConfiguration);
|
|
48664
48670
|
this.onDidChange = this.didChangeEmitter.event;
|
|
@@ -48967,7 +48973,7 @@ struct VSOutput {
|
|
|
48967
48973
|
this.textModel = textModel;
|
|
48968
48974
|
this.languageConfigurationService = languageConfigurationService;
|
|
48969
48975
|
this.bracketPairsTree = this._register(new editorWorkerHost.MutableDisposable());
|
|
48970
|
-
this.onDidChangeEmitter = new editorWorkerHost.Emitter();
|
|
48976
|
+
this.onDidChangeEmitter = this._register(new editorWorkerHost.Emitter());
|
|
48971
48977
|
this.onDidChange = this.onDidChangeEmitter.event;
|
|
48972
48978
|
this.bracketsRequested = false;
|
|
48973
48979
|
}
|
|
@@ -49603,7 +49609,7 @@ struct VSOutput {
|
|
|
49603
49609
|
super();
|
|
49604
49610
|
this.textModel = textModel;
|
|
49605
49611
|
this.colorProvider = new ColorProvider();
|
|
49606
|
-
this.onDidChangeEmitter = new editorWorkerHost.Emitter();
|
|
49612
|
+
this.onDidChangeEmitter = this._register(new editorWorkerHost.Emitter());
|
|
49607
49613
|
this.onDidChange = this.onDidChangeEmitter.event;
|
|
49608
49614
|
this.colorizationOptions = textModel.getOptions().bracketPairColorizationOptions;
|
|
49609
49615
|
this._register(textModel.bracketPairs.onDidChange((e) => {
|
|
@@ -53628,6 +53634,9 @@ struct VSOutput {
|
|
|
53628
53634
|
this._onDidChangeVisibleRanges.fire({ view, state: void 0 });
|
|
53629
53635
|
this._viewsChanged.trigger(void 0);
|
|
53630
53636
|
}
|
|
53637
|
+
dispose() {
|
|
53638
|
+
this._onDidChangeVisibleRanges.dispose();
|
|
53639
|
+
}
|
|
53631
53640
|
}
|
|
53632
53641
|
class AttachedViewState {
|
|
53633
53642
|
constructor(visibleLineRanges, stabilized) {
|
|
@@ -54173,9 +54182,9 @@ struct VSOutput {
|
|
|
54173
54182
|
super();
|
|
54174
54183
|
this.textModel = textModel;
|
|
54175
54184
|
this.tokenizationTextModelPart = tokenizationTextModelPart;
|
|
54176
|
-
this._onDidChangeLineHeight = new editorWorkerHost.Emitter();
|
|
54185
|
+
this._onDidChangeLineHeight = this._register(new editorWorkerHost.Emitter());
|
|
54177
54186
|
this.onDidChangeLineHeight = this._onDidChangeLineHeight.event;
|
|
54178
|
-
this._onDidChangeFont = new editorWorkerHost.Emitter();
|
|
54187
|
+
this._onDidChangeFont = this._register(new editorWorkerHost.Emitter());
|
|
54179
54188
|
this.onDidChangeFont = this._onDidChangeFont.event;
|
|
54180
54189
|
this._fontAnnotatedString = new AnnotatedString();
|
|
54181
54190
|
this._register(this.tokenizationTextModelPart.onDidChangeFontTokens((fontChanges) => {
|
|
@@ -57402,10 +57411,7 @@ struct VSOutput {
|
|
|
57402
57411
|
return this._onDidChangeFont.event;
|
|
57403
57412
|
}
|
|
57404
57413
|
onDidChangeContent(listener) {
|
|
57405
|
-
return this._eventEmitter.
|
|
57406
|
-
}
|
|
57407
|
-
onDidChangeContentOrInjectedText(listener) {
|
|
57408
|
-
return editorWorkerHost.combinedDisposable(this._eventEmitter.fastEvent((e) => listener(e)), this._onDidChangeInjectedText.event((e) => listener(e)));
|
|
57414
|
+
return this._eventEmitter.event((e) => listener(e.contentChangedEvent));
|
|
57409
57415
|
}
|
|
57410
57416
|
_isDisposing() {
|
|
57411
57417
|
return this.__isDisposing;
|
|
@@ -57431,13 +57437,13 @@ struct VSOutput {
|
|
|
57431
57437
|
this.onDidChangeDecorations = this._onDidChangeDecorations.event;
|
|
57432
57438
|
this._onDidChangeOptions = this._register(new editorWorkerHost.Emitter());
|
|
57433
57439
|
this._onDidChangeAttached = this._register(new editorWorkerHost.Emitter());
|
|
57434
|
-
this._onDidChangeInjectedText = this._register(new editorWorkerHost.Emitter());
|
|
57435
57440
|
this._onDidChangeLineHeight = this._register(new editorWorkerHost.Emitter());
|
|
57436
57441
|
this._onDidChangeFont = this._register(new editorWorkerHost.Emitter());
|
|
57437
57442
|
this._eventEmitter = this._register(new DidChangeContentEmitter());
|
|
57438
57443
|
this._languageSelectionListener = this._register(new editorWorkerHost.MutableDisposable());
|
|
57439
57444
|
this._deltaDecorationCallCnt = 0;
|
|
57440
|
-
this._attachedViews = new AttachedViews();
|
|
57445
|
+
this._attachedViews = this._register(new AttachedViews());
|
|
57446
|
+
this._viewModels = /* @__PURE__ */ new Set();
|
|
57441
57447
|
MODEL_ID$1++;
|
|
57442
57448
|
this.id = "$model" + MODEL_ID$1;
|
|
57443
57449
|
this.isForSimpleWidget = creationOptions.isForSimpleWidget;
|
|
@@ -57528,18 +57534,29 @@ struct VSOutput {
|
|
|
57528
57534
|
throw new editorWorkerHost.BugIndicatingError("Model is disposed!");
|
|
57529
57535
|
}
|
|
57530
57536
|
}
|
|
57537
|
+
registerViewModel(viewModel) {
|
|
57538
|
+
this._viewModels.add(viewModel);
|
|
57539
|
+
}
|
|
57540
|
+
unregisterViewModel(viewModel) {
|
|
57541
|
+
this._viewModels.delete(viewModel);
|
|
57542
|
+
}
|
|
57531
57543
|
getTextBuffer() {
|
|
57532
57544
|
this._assertNotDisposed();
|
|
57533
57545
|
return this._buffer;
|
|
57534
57546
|
}
|
|
57535
|
-
_emitContentChangedEvent(rawChange, change) {
|
|
57547
|
+
_emitContentChangedEvent(rawChange, change, resultingSelection = null) {
|
|
57536
57548
|
if (this.__isDisposing) {
|
|
57537
57549
|
return;
|
|
57538
57550
|
}
|
|
57539
57551
|
this._tokenizationTextModelPart.handleDidChangeContent(change);
|
|
57540
57552
|
this._bracketPairs.handleDidChangeContent(change);
|
|
57541
57553
|
this._fontTokenDecorationsProvider.handleDidChangeContent(change);
|
|
57542
|
-
|
|
57554
|
+
const contentChangeEvent = new InternalModelContentChangeEvent(rawChange, change);
|
|
57555
|
+
if (resultingSelection) {
|
|
57556
|
+
contentChangeEvent.rawContentChangedEvent.resultingSelection = resultingSelection;
|
|
57557
|
+
}
|
|
57558
|
+
this._onDidChangeContentOrInjectedText(contentChangeEvent);
|
|
57559
|
+
this._eventEmitter.fire(contentChangeEvent);
|
|
57543
57560
|
}
|
|
57544
57561
|
setValue(value, reason = EditSources.setValue()) {
|
|
57545
57562
|
this._assertNotDisposed();
|
|
@@ -58316,7 +58333,8 @@ struct VSOutput {
|
|
|
58316
58333
|
this._eventEmitter.beginDeferredEmit();
|
|
58317
58334
|
this._isUndoing = isUndoing;
|
|
58318
58335
|
this._isRedoing = isRedoing;
|
|
58319
|
-
this.
|
|
58336
|
+
const operations = this._validateEditOperations(edits);
|
|
58337
|
+
this._doApplyEdits(operations, false, EditSources.applyEdits(), resultingSelection);
|
|
58320
58338
|
this.setEOL(eol);
|
|
58321
58339
|
this._overwriteAlternativeVersionId(resultingAlternativeVersionId);
|
|
58322
58340
|
} finally {
|
|
@@ -58337,7 +58355,7 @@ struct VSOutput {
|
|
|
58337
58355
|
this._onDidChangeDecorations.endDeferredEmit();
|
|
58338
58356
|
}
|
|
58339
58357
|
}
|
|
58340
|
-
_doApplyEdits(rawOperations, computeUndoEdits, reason) {
|
|
58358
|
+
_doApplyEdits(rawOperations, computeUndoEdits, reason, resultingSelection = null) {
|
|
58341
58359
|
const oldLineCount = this._buffer.getLineCount();
|
|
58342
58360
|
const result = this._buffer.applyEdits(rawOperations, this._options.trimAutoWhitespace, computeUndoEdits);
|
|
58343
58361
|
const newLineCount = this._buffer.getLineCount();
|
|
@@ -58405,7 +58423,7 @@ struct VSOutput {
|
|
|
58405
58423
|
isFlush: false,
|
|
58406
58424
|
detailedReasons: [reason],
|
|
58407
58425
|
detailedReasonsChangeLengths: [contentChanges.length]
|
|
58408
|
-
});
|
|
58426
|
+
}, resultingSelection);
|
|
58409
58427
|
}
|
|
58410
58428
|
return result.reverseEdits === null ? void 0 : result.reverseEdits;
|
|
58411
58429
|
}
|
|
@@ -58427,7 +58445,7 @@ struct VSOutput {
|
|
|
58427
58445
|
if (affectedInjectedTextLines && affectedInjectedTextLines.size > 0) {
|
|
58428
58446
|
const affectedLines = Array.from(affectedInjectedTextLines);
|
|
58429
58447
|
const lineChangeEvents = affectedLines.map((lineNumber) => new ModelRawLineChanged(lineNumber, this.getLineContent(lineNumber), this._getInjectedTextInLine(lineNumber)));
|
|
58430
|
-
this.
|
|
58448
|
+
this._onDidChangeContentOrInjectedText(new ModelInjectedTextChangedEvent(lineChangeEvents));
|
|
58431
58449
|
}
|
|
58432
58450
|
this._fireOnDidChangeLineHeight(affectedLineHeights);
|
|
58433
58451
|
this._fireOnDidChangeFont(affectedFontLines);
|
|
@@ -58446,6 +58464,14 @@ struct VSOutput {
|
|
|
58446
58464
|
this._onDidChangeFont.fire(new ModelFontChangedEvent$1(fontChangeEvent));
|
|
58447
58465
|
}
|
|
58448
58466
|
}
|
|
58467
|
+
_onDidChangeContentOrInjectedText(e) {
|
|
58468
|
+
for (const viewModel of this._viewModels) {
|
|
58469
|
+
viewModel.onDidChangeContentOrInjectedText(e);
|
|
58470
|
+
}
|
|
58471
|
+
for (const viewModel of this._viewModels) {
|
|
58472
|
+
viewModel.emitContentChangeEvent(e);
|
|
58473
|
+
}
|
|
58474
|
+
}
|
|
58449
58475
|
changeDecorations(callback, ownerId2 = 0) {
|
|
58450
58476
|
this._assertNotDisposed();
|
|
58451
58477
|
try {
|
|
@@ -59232,10 +59258,8 @@ struct VSOutput {
|
|
|
59232
59258
|
class DidChangeContentEmitter extends editorWorkerHost.Disposable {
|
|
59233
59259
|
constructor() {
|
|
59234
59260
|
super();
|
|
59235
|
-
this.
|
|
59236
|
-
this.
|
|
59237
|
-
this._slowEmitter = this._register(new editorWorkerHost.Emitter());
|
|
59238
|
-
this.slowEvent = this._slowEmitter.event;
|
|
59261
|
+
this._emitter = this._register(new editorWorkerHost.Emitter());
|
|
59262
|
+
this.event = this._emitter.event;
|
|
59239
59263
|
this._deferredCnt = 0;
|
|
59240
59264
|
this._deferredEvent = null;
|
|
59241
59265
|
}
|
|
@@ -59249,8 +59273,7 @@ struct VSOutput {
|
|
|
59249
59273
|
this._deferredEvent.rawContentChangedEvent.resultingSelection = resultingSelection;
|
|
59250
59274
|
const e = this._deferredEvent;
|
|
59251
59275
|
this._deferredEvent = null;
|
|
59252
|
-
this.
|
|
59253
|
-
this._slowEmitter.fire(e);
|
|
59276
|
+
this._emitter.fire(e);
|
|
59254
59277
|
}
|
|
59255
59278
|
}
|
|
59256
59279
|
}
|
|
@@ -59263,8 +59286,7 @@ struct VSOutput {
|
|
|
59263
59286
|
}
|
|
59264
59287
|
return;
|
|
59265
59288
|
}
|
|
59266
|
-
this.
|
|
59267
|
-
this._slowEmitter.fire(e);
|
|
59289
|
+
this._emitter.fire(e);
|
|
59268
59290
|
}
|
|
59269
59291
|
}
|
|
59270
59292
|
class MonospaceLineBreaksComputerFactory {
|
|
@@ -64423,6 +64445,7 @@ struct VSOutput {
|
|
|
64423
64445
|
this._eventDispatcher.emitSingleViewEvent(new ViewThemeChangedEvent(theme));
|
|
64424
64446
|
}));
|
|
64425
64447
|
this._updateConfigurationViewLineCountNow();
|
|
64448
|
+
this.model.registerViewModel(this);
|
|
64426
64449
|
}
|
|
64427
64450
|
dispose() {
|
|
64428
64451
|
super.dispose();
|
|
@@ -64430,6 +64453,7 @@ struct VSOutput {
|
|
|
64430
64453
|
this._lines.dispose();
|
|
64431
64454
|
this._viewportStart.dispose();
|
|
64432
64455
|
this._eventDispatcher.dispose();
|
|
64456
|
+
this.model.unregisterViewModel(this);
|
|
64433
64457
|
}
|
|
64434
64458
|
getEditorOption(id) {
|
|
64435
64459
|
return this._configuration.options.get(id);
|
|
@@ -64561,131 +64585,136 @@ struct VSOutput {
|
|
|
64561
64585
|
this._cursor.updateConfiguration(this.cursorConfig);
|
|
64562
64586
|
}
|
|
64563
64587
|
}
|
|
64564
|
-
|
|
64565
|
-
|
|
64566
|
-
|
|
64567
|
-
|
|
64568
|
-
|
|
64569
|
-
|
|
64570
|
-
|
|
64571
|
-
|
|
64572
|
-
|
|
64573
|
-
|
|
64574
|
-
|
|
64575
|
-
|
|
64576
|
-
|
|
64577
|
-
|
|
64578
|
-
|
|
64579
|
-
|
|
64580
|
-
|
|
64581
|
-
|
|
64582
|
-
|
|
64588
|
+
/**
|
|
64589
|
+
* Gets called directly by the text model.
|
|
64590
|
+
*/
|
|
64591
|
+
onDidChangeContentOrInjectedText(e) {
|
|
64592
|
+
try {
|
|
64593
|
+
const eventsCollector = this._eventDispatcher.beginEmitViewEvents();
|
|
64594
|
+
let hadOtherModelChange = false;
|
|
64595
|
+
let hadModelLineChangeThatChangedLineMapping = false;
|
|
64596
|
+
const changes = e instanceof InternalModelContentChangeEvent ? e.rawContentChangedEvent.changes : e.changes;
|
|
64597
|
+
const versionId = e instanceof InternalModelContentChangeEvent ? e.rawContentChangedEvent.versionId : null;
|
|
64598
|
+
const lineBreaksComputer = this._lines.createLineBreaksComputer();
|
|
64599
|
+
for (const change of changes) {
|
|
64600
|
+
switch (change.changeType) {
|
|
64601
|
+
case 4: {
|
|
64602
|
+
for (let lineIdx = 0; lineIdx < change.detail.length; lineIdx++) {
|
|
64603
|
+
const line = change.detail[lineIdx];
|
|
64604
|
+
let injectedText = change.injectedTexts[lineIdx];
|
|
64605
|
+
if (injectedText) {
|
|
64606
|
+
injectedText = injectedText.filter((element) => !element.ownerId || element.ownerId === this._editorId);
|
|
64583
64607
|
}
|
|
64584
|
-
|
|
64608
|
+
lineBreaksComputer.addRequest(line, injectedText, null);
|
|
64585
64609
|
}
|
|
64586
|
-
|
|
64587
|
-
|
|
64588
|
-
|
|
64589
|
-
|
|
64590
|
-
|
|
64591
|
-
|
|
64592
|
-
break;
|
|
64610
|
+
break;
|
|
64611
|
+
}
|
|
64612
|
+
case 2: {
|
|
64613
|
+
let injectedText = null;
|
|
64614
|
+
if (change.injectedText) {
|
|
64615
|
+
injectedText = change.injectedText.filter((element) => !element.ownerId || element.ownerId === this._editorId);
|
|
64593
64616
|
}
|
|
64617
|
+
lineBreaksComputer.addRequest(change.detail, injectedText, null);
|
|
64618
|
+
break;
|
|
64594
64619
|
}
|
|
64595
64620
|
}
|
|
64596
|
-
|
|
64597
|
-
|
|
64598
|
-
|
|
64599
|
-
|
|
64600
|
-
|
|
64601
|
-
|
|
64602
|
-
|
|
64603
|
-
|
|
64604
|
-
|
|
64605
|
-
|
|
64606
|
-
|
|
64621
|
+
}
|
|
64622
|
+
const lineBreaks = lineBreaksComputer.finalize();
|
|
64623
|
+
const lineBreakQueue = new editorWorkerHost.ArrayQueue(lineBreaks);
|
|
64624
|
+
for (const change of changes) {
|
|
64625
|
+
switch (change.changeType) {
|
|
64626
|
+
case 1: {
|
|
64627
|
+
this._lines.onModelFlushed();
|
|
64628
|
+
eventsCollector.emitViewEvent(new ViewFlushedEvent());
|
|
64629
|
+
this._decorations.reset();
|
|
64630
|
+
this.viewLayout.onFlushed(this.getLineCount(), this._getCustomLineHeights());
|
|
64631
|
+
hadOtherModelChange = true;
|
|
64632
|
+
break;
|
|
64633
|
+
}
|
|
64634
|
+
case 3: {
|
|
64635
|
+
const linesDeletedEvent = this._lines.onModelLinesDeleted(versionId, change.fromLineNumber, change.toLineNumber);
|
|
64636
|
+
if (linesDeletedEvent !== null) {
|
|
64637
|
+
eventsCollector.emitViewEvent(linesDeletedEvent);
|
|
64638
|
+
this.viewLayout.onLinesDeleted(linesDeletedEvent.fromLineNumber, linesDeletedEvent.toLineNumber);
|
|
64607
64639
|
}
|
|
64608
|
-
|
|
64609
|
-
|
|
64610
|
-
|
|
64611
|
-
|
|
64612
|
-
|
|
64613
|
-
|
|
64614
|
-
|
|
64615
|
-
|
|
64640
|
+
hadOtherModelChange = true;
|
|
64641
|
+
break;
|
|
64642
|
+
}
|
|
64643
|
+
case 4: {
|
|
64644
|
+
const insertedLineBreaks = lineBreakQueue.takeCount(change.detail.length);
|
|
64645
|
+
const linesInsertedEvent = this._lines.onModelLinesInserted(versionId, change.fromLineNumber, change.toLineNumber, insertedLineBreaks);
|
|
64646
|
+
if (linesInsertedEvent !== null) {
|
|
64647
|
+
eventsCollector.emitViewEvent(linesInsertedEvent);
|
|
64648
|
+
this.viewLayout.onLinesInserted(linesInsertedEvent.fromLineNumber, linesInsertedEvent.toLineNumber);
|
|
64616
64649
|
}
|
|
64617
|
-
|
|
64618
|
-
|
|
64619
|
-
|
|
64620
|
-
|
|
64621
|
-
|
|
64622
|
-
|
|
64623
|
-
|
|
64624
|
-
|
|
64625
|
-
|
|
64650
|
+
hadOtherModelChange = true;
|
|
64651
|
+
break;
|
|
64652
|
+
}
|
|
64653
|
+
case 2: {
|
|
64654
|
+
const changedLineBreakData = lineBreakQueue.dequeue();
|
|
64655
|
+
const [lineMappingChanged, linesChangedEvent, linesInsertedEvent, linesDeletedEvent] = this._lines.onModelLineChanged(versionId, change.lineNumber, changedLineBreakData);
|
|
64656
|
+
hadModelLineChangeThatChangedLineMapping = lineMappingChanged;
|
|
64657
|
+
if (linesChangedEvent) {
|
|
64658
|
+
eventsCollector.emitViewEvent(linesChangedEvent);
|
|
64626
64659
|
}
|
|
64627
|
-
|
|
64628
|
-
|
|
64629
|
-
|
|
64630
|
-
hadModelLineChangeThatChangedLineMapping = lineMappingChanged;
|
|
64631
|
-
if (linesChangedEvent) {
|
|
64632
|
-
eventsCollector.emitViewEvent(linesChangedEvent);
|
|
64633
|
-
}
|
|
64634
|
-
if (linesInsertedEvent) {
|
|
64635
|
-
eventsCollector.emitViewEvent(linesInsertedEvent);
|
|
64636
|
-
this.viewLayout.onLinesInserted(linesInsertedEvent.fromLineNumber, linesInsertedEvent.toLineNumber);
|
|
64637
|
-
}
|
|
64638
|
-
if (linesDeletedEvent) {
|
|
64639
|
-
eventsCollector.emitViewEvent(linesDeletedEvent);
|
|
64640
|
-
this.viewLayout.onLinesDeleted(linesDeletedEvent.fromLineNumber, linesDeletedEvent.toLineNumber);
|
|
64641
|
-
}
|
|
64642
|
-
break;
|
|
64660
|
+
if (linesInsertedEvent) {
|
|
64661
|
+
eventsCollector.emitViewEvent(linesInsertedEvent);
|
|
64662
|
+
this.viewLayout.onLinesInserted(linesInsertedEvent.fromLineNumber, linesInsertedEvent.toLineNumber);
|
|
64643
64663
|
}
|
|
64644
|
-
|
|
64645
|
-
|
|
64664
|
+
if (linesDeletedEvent) {
|
|
64665
|
+
eventsCollector.emitViewEvent(linesDeletedEvent);
|
|
64666
|
+
this.viewLayout.onLinesDeleted(linesDeletedEvent.fromLineNumber, linesDeletedEvent.toLineNumber);
|
|
64646
64667
|
}
|
|
64668
|
+
break;
|
|
64669
|
+
}
|
|
64670
|
+
case 5: {
|
|
64671
|
+
break;
|
|
64647
64672
|
}
|
|
64648
64673
|
}
|
|
64649
|
-
if (versionId !== null) {
|
|
64650
|
-
this._lines.acceptVersionId(versionId);
|
|
64651
|
-
}
|
|
64652
|
-
this.viewLayout.onHeightMaybeChanged();
|
|
64653
|
-
if (!hadOtherModelChange && hadModelLineChangeThatChangedLineMapping) {
|
|
64654
|
-
eventsCollector.emitViewEvent(new ViewLineMappingChangedEvent());
|
|
64655
|
-
eventsCollector.emitViewEvent(new ViewDecorationsChangedEvent(null));
|
|
64656
|
-
this._cursor.onLineMappingChanged(eventsCollector);
|
|
64657
|
-
this._decorations.onLineMappingChanged();
|
|
64658
|
-
}
|
|
64659
|
-
} finally {
|
|
64660
|
-
this._eventDispatcher.endEmitViewEvents();
|
|
64661
64674
|
}
|
|
64662
|
-
|
|
64663
|
-
|
|
64664
|
-
this._configuration.setModelLineCount(this.model.getLineCount());
|
|
64665
|
-
this._updateConfigurationViewLineCountNow();
|
|
64666
|
-
if (!this._hasFocus && this.model.getAttachedEditorCount() >= 2 && viewportStartWasValid) {
|
|
64667
|
-
const modelRange = this.model._getTrackedRange(this._viewportStart.modelTrackedRange);
|
|
64668
|
-
if (modelRange) {
|
|
64669
|
-
const viewPosition = this.coordinatesConverter.convertModelPositionToViewPosition(modelRange.getStartPosition());
|
|
64670
|
-
const viewPositionTop = this.viewLayout.getVerticalOffsetForLineNumber(viewPosition.lineNumber);
|
|
64671
|
-
this.viewLayout.setScrollPosition(
|
|
64672
|
-
{ scrollTop: viewPositionTop + this._viewportStart.startLineDelta },
|
|
64673
|
-
1
|
|
64674
|
-
/* ScrollType.Immediate */
|
|
64675
|
-
);
|
|
64676
|
-
}
|
|
64675
|
+
if (versionId !== null) {
|
|
64676
|
+
this._lines.acceptVersionId(versionId);
|
|
64677
64677
|
}
|
|
64678
|
-
|
|
64679
|
-
|
|
64680
|
-
|
|
64681
|
-
|
|
64682
|
-
|
|
64683
|
-
this.
|
|
64684
|
-
} finally {
|
|
64685
|
-
this._eventDispatcher.endEmitViewEvents();
|
|
64678
|
+
this.viewLayout.onHeightMaybeChanged();
|
|
64679
|
+
if (!hadOtherModelChange && hadModelLineChangeThatChangedLineMapping) {
|
|
64680
|
+
eventsCollector.emitViewEvent(new ViewLineMappingChangedEvent());
|
|
64681
|
+
eventsCollector.emitViewEvent(new ViewDecorationsChangedEvent(null));
|
|
64682
|
+
this._cursor.onLineMappingChanged(eventsCollector);
|
|
64683
|
+
this._decorations.onLineMappingChanged();
|
|
64686
64684
|
}
|
|
64687
|
-
|
|
64688
|
-
|
|
64685
|
+
} finally {
|
|
64686
|
+
this._eventDispatcher.endEmitViewEvents();
|
|
64687
|
+
}
|
|
64688
|
+
const viewportStartWasValid = this._viewportStart.isValid;
|
|
64689
|
+
this._viewportStart.invalidate();
|
|
64690
|
+
this._configuration.setModelLineCount(this.model.getLineCount());
|
|
64691
|
+
this._updateConfigurationViewLineCountNow();
|
|
64692
|
+
if (!this._hasFocus && this.model.getAttachedEditorCount() >= 2 && viewportStartWasValid) {
|
|
64693
|
+
const modelRange = this.model._getTrackedRange(this._viewportStart.modelTrackedRange);
|
|
64694
|
+
if (modelRange) {
|
|
64695
|
+
const viewPosition = this.coordinatesConverter.convertModelPositionToViewPosition(modelRange.getStartPosition());
|
|
64696
|
+
const viewPositionTop = this.viewLayout.getVerticalOffsetForLineNumber(viewPosition.lineNumber);
|
|
64697
|
+
this.viewLayout.setScrollPosition(
|
|
64698
|
+
{ scrollTop: viewPositionTop + this._viewportStart.startLineDelta },
|
|
64699
|
+
1
|
|
64700
|
+
/* ScrollType.Immediate */
|
|
64701
|
+
);
|
|
64702
|
+
}
|
|
64703
|
+
}
|
|
64704
|
+
this._handleVisibleLinesChanged();
|
|
64705
|
+
}
|
|
64706
|
+
/**
|
|
64707
|
+
* Gets called directly by the text model.
|
|
64708
|
+
*/
|
|
64709
|
+
emitContentChangeEvent(e) {
|
|
64710
|
+
this._emitViewEvent((eventsCollector) => {
|
|
64711
|
+
if (e instanceof InternalModelContentChangeEvent) {
|
|
64712
|
+
eventsCollector.emitOutgoingEvent(new ModelContentChangedEvent(e.contentChangedEvent));
|
|
64713
|
+
}
|
|
64714
|
+
this._cursor.onModelContentChanged(eventsCollector, e);
|
|
64715
|
+
});
|
|
64716
|
+
}
|
|
64717
|
+
_registerModelEvents() {
|
|
64689
64718
|
const allowVariableLineHeights = this._configuration.options.get(
|
|
64690
64719
|
5
|
|
64691
64720
|
/* EditorOption.allowVariableLineHeights */
|
|
@@ -65391,14 +65420,17 @@ struct VSOutput {
|
|
|
65391
65420
|
//#endregion
|
|
65392
65421
|
_withViewEventsCollector(callback) {
|
|
65393
65422
|
return this._transactionalTarget.batchChanges(() => {
|
|
65394
|
-
|
|
65395
|
-
const eventsCollector = this._eventDispatcher.beginEmitViewEvents();
|
|
65396
|
-
return callback(eventsCollector);
|
|
65397
|
-
} finally {
|
|
65398
|
-
this._eventDispatcher.endEmitViewEvents();
|
|
65399
|
-
}
|
|
65423
|
+
return this._emitViewEvent(callback);
|
|
65400
65424
|
});
|
|
65401
65425
|
}
|
|
65426
|
+
_emitViewEvent(callback) {
|
|
65427
|
+
try {
|
|
65428
|
+
const eventsCollector = this._eventDispatcher.beginEmitViewEvents();
|
|
65429
|
+
return callback(eventsCollector);
|
|
65430
|
+
} finally {
|
|
65431
|
+
this._eventDispatcher.endEmitViewEvents();
|
|
65432
|
+
}
|
|
65433
|
+
}
|
|
65402
65434
|
batchEvents(callback) {
|
|
65403
65435
|
this._withViewEventsCollector(() => {
|
|
65404
65436
|
callback();
|
|
@@ -65621,7 +65653,7 @@ struct VSOutput {
|
|
|
65621
65653
|
get contextKeyService() {
|
|
65622
65654
|
return this._contextKeyService;
|
|
65623
65655
|
}
|
|
65624
|
-
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) {
|
|
65625
65657
|
super();
|
|
65626
65658
|
this.languageConfigurationService = languageConfigurationService;
|
|
65627
65659
|
this._deliveryQueue = editorWorkerHost.createEventDeliveryQueue();
|
|
@@ -65727,6 +65759,7 @@ struct VSOutput {
|
|
|
65727
65759
|
codeEditorService.willCreateCodeEditor();
|
|
65728
65760
|
const options = { ..._options };
|
|
65729
65761
|
this._domElement = domElement;
|
|
65762
|
+
this._userInteractionService = userInteractionService;
|
|
65730
65763
|
this._overflowWidgetsDomNode = options.overflowWidgetsDomNode;
|
|
65731
65764
|
delete options.overflowWidgetsDomNode;
|
|
65732
65765
|
this._id = ++EDITOR_ID;
|
|
@@ -67049,7 +67082,7 @@ struct VSOutput {
|
|
|
67049
67082
|
viewUserInputEvents.onMouseDrop = (e) => this._onMouseDrop.fire(e);
|
|
67050
67083
|
viewUserInputEvents.onMouseDropCanceled = (e) => this._onMouseDropCanceled.fire(e);
|
|
67051
67084
|
viewUserInputEvents.onMouseWheel = (e) => this._onMouseWheel.fire(e);
|
|
67052
|
-
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);
|
|
67053
67086
|
return [view, true];
|
|
67054
67087
|
}
|
|
67055
67088
|
_postDetachModelCleanup(detachedModel) {
|
|
@@ -67120,7 +67153,8 @@ struct VSOutput {
|
|
|
67120
67153
|
__param$M(8, INotificationService),
|
|
67121
67154
|
__param$M(9, IAccessibilityService),
|
|
67122
67155
|
__param$M(10, ILanguageConfigurationService),
|
|
67123
|
-
__param$M(11, ILanguageFeaturesService)
|
|
67156
|
+
__param$M(11, ILanguageFeaturesService),
|
|
67157
|
+
__param$M(12, IUserInteractionService)
|
|
67124
67158
|
], exports.CodeEditorWidget);
|
|
67125
67159
|
let EDITOR_ID = 0;
|
|
67126
67160
|
let ModelData$1 = class ModelData {
|
|
@@ -67807,10 +67841,10 @@ struct VSOutput {
|
|
|
67807
67841
|
}
|
|
67808
67842
|
const messages = [];
|
|
67809
67843
|
if (externalRemoval.length > 0) {
|
|
67810
|
-
messages.push(editorWorkerHost.localize(
|
|
67844
|
+
messages.push(editorWorkerHost.localize(2057, "The following files have been closed and modified on disk: {0}.", externalRemoval.join(", ")));
|
|
67811
67845
|
}
|
|
67812
67846
|
if (noParallelUniverses.length > 0) {
|
|
67813
|
-
messages.push(editorWorkerHost.localize(
|
|
67847
|
+
messages.push(editorWorkerHost.localize(2058, "The following files have been modified in an incompatible way: {0}.", noParallelUniverses.join(", ")));
|
|
67814
67848
|
}
|
|
67815
67849
|
return messages.join("\n");
|
|
67816
67850
|
}
|
|
@@ -68385,10 +68419,10 @@ struct VSOutput {
|
|
|
68385
68419
|
}
|
|
68386
68420
|
_checkWorkspaceUndo(strResource, element, editStackSnapshot, checkInvalidatedResources) {
|
|
68387
68421
|
if (element.removedResources) {
|
|
68388
|
-
return this._tryToSplitAndUndo(strResource, element, element.removedResources, editorWorkerHost.localize(
|
|
68422
|
+
return this._tryToSplitAndUndo(strResource, element, element.removedResources, editorWorkerHost.localize(2059, "Could not undo '{0}' across all files. {1}", element.label, element.removedResources.createMessage()));
|
|
68389
68423
|
}
|
|
68390
68424
|
if (checkInvalidatedResources && element.invalidatedResources) {
|
|
68391
|
-
return this._tryToSplitAndUndo(strResource, element, element.invalidatedResources, editorWorkerHost.localize(
|
|
68425
|
+
return this._tryToSplitAndUndo(strResource, element, element.invalidatedResources, editorWorkerHost.localize(2060, "Could not undo '{0}' across all files. {1}", element.label, element.invalidatedResources.createMessage()));
|
|
68392
68426
|
}
|
|
68393
68427
|
const cannotUndoDueToResources = [];
|
|
68394
68428
|
for (const editStack of editStackSnapshot.editStacks) {
|
|
@@ -68397,7 +68431,7 @@ struct VSOutput {
|
|
|
68397
68431
|
}
|
|
68398
68432
|
}
|
|
68399
68433
|
if (cannotUndoDueToResources.length > 0) {
|
|
68400
|
-
return this._tryToSplitAndUndo(strResource, element, null, editorWorkerHost.localize(
|
|
68434
|
+
return this._tryToSplitAndUndo(strResource, element, null, editorWorkerHost.localize(2061, "Could not undo '{0}' across all files because changes were made to {1}", element.label, cannotUndoDueToResources.join(", ")));
|
|
68401
68435
|
}
|
|
68402
68436
|
const cannotLockDueToResources = [];
|
|
68403
68437
|
for (const editStack of editStackSnapshot.editStacks) {
|
|
@@ -68406,10 +68440,10 @@ struct VSOutput {
|
|
|
68406
68440
|
}
|
|
68407
68441
|
}
|
|
68408
68442
|
if (cannotLockDueToResources.length > 0) {
|
|
68409
|
-
return this._tryToSplitAndUndo(strResource, element, null, editorWorkerHost.localize(
|
|
68443
|
+
return this._tryToSplitAndUndo(strResource, element, null, editorWorkerHost.localize(2062, "Could not undo '{0}' across all files because there is already an undo or redo operation running on {1}", element.label, cannotLockDueToResources.join(", ")));
|
|
68410
68444
|
}
|
|
68411
68445
|
if (!editStackSnapshot.isValid()) {
|
|
68412
|
-
return this._tryToSplitAndUndo(strResource, element, null, editorWorkerHost.localize(
|
|
68446
|
+
return this._tryToSplitAndUndo(strResource, element, null, editorWorkerHost.localize(2063, "Could not undo '{0}' across all files because an undo or redo operation occurred in the meantime", element.label));
|
|
68413
68447
|
}
|
|
68414
68448
|
return null;
|
|
68415
68449
|
}
|
|
@@ -68458,14 +68492,14 @@ struct VSOutput {
|
|
|
68458
68492
|
})(UndoChoice || (UndoChoice = {}));
|
|
68459
68493
|
const { result } = await this._dialogService.prompt({
|
|
68460
68494
|
type: Severity$2.Info,
|
|
68461
|
-
message: editorWorkerHost.localize(
|
|
68495
|
+
message: editorWorkerHost.localize(2064, "Would you like to undo '{0}' across all files?", element.label),
|
|
68462
68496
|
buttons: [
|
|
68463
68497
|
{
|
|
68464
|
-
label: editorWorkerHost.localize(
|
|
68498
|
+
label: editorWorkerHost.localize(2065, "&&Undo in {0} Files", editStackSnapshot.editStacks.length),
|
|
68465
68499
|
run: () => UndoChoice.All
|
|
68466
68500
|
},
|
|
68467
68501
|
{
|
|
68468
|
-
label: editorWorkerHost.localize(
|
|
68502
|
+
label: editorWorkerHost.localize(2066, "Undo this &&File"),
|
|
68469
68503
|
run: () => UndoChoice.This
|
|
68470
68504
|
}
|
|
68471
68505
|
],
|
|
@@ -68520,7 +68554,7 @@ struct VSOutput {
|
|
|
68520
68554
|
return;
|
|
68521
68555
|
}
|
|
68522
68556
|
if (editStack.locked) {
|
|
68523
|
-
const message = editorWorkerHost.localize(
|
|
68557
|
+
const message = editorWorkerHost.localize(2067, "Could not undo '{0}' because there is already an undo or redo operation running.", element.label);
|
|
68524
68558
|
this._notificationService.warn(message);
|
|
68525
68559
|
return;
|
|
68526
68560
|
}
|
|
@@ -68598,9 +68632,9 @@ struct VSOutput {
|
|
|
68598
68632
|
}
|
|
68599
68633
|
async _confirmAndContinueUndo(strResource, sourceId, element) {
|
|
68600
68634
|
const result = await this._dialogService.confirm({
|
|
68601
|
-
message: editorWorkerHost.localize(
|
|
68602
|
-
primaryButton: editorWorkerHost.localize(
|
|
68603
|
-
cancelButton: editorWorkerHost.localize(
|
|
68635
|
+
message: editorWorkerHost.localize(2068, "Would you like to undo '{0}'?", element.label),
|
|
68636
|
+
primaryButton: editorWorkerHost.localize(2069, "&&Yes"),
|
|
68637
|
+
cancelButton: editorWorkerHost.localize(2070, "No")
|
|
68604
68638
|
});
|
|
68605
68639
|
if (!result.confirmed) {
|
|
68606
68640
|
return;
|
|
@@ -68654,10 +68688,10 @@ struct VSOutput {
|
|
|
68654
68688
|
}
|
|
68655
68689
|
_checkWorkspaceRedo(strResource, element, editStackSnapshot, checkInvalidatedResources) {
|
|
68656
68690
|
if (element.removedResources) {
|
|
68657
|
-
return this._tryToSplitAndRedo(strResource, element, element.removedResources, editorWorkerHost.localize(
|
|
68691
|
+
return this._tryToSplitAndRedo(strResource, element, element.removedResources, editorWorkerHost.localize(2071, "Could not redo '{0}' across all files. {1}", element.label, element.removedResources.createMessage()));
|
|
68658
68692
|
}
|
|
68659
68693
|
if (checkInvalidatedResources && element.invalidatedResources) {
|
|
68660
|
-
return this._tryToSplitAndRedo(strResource, element, element.invalidatedResources, editorWorkerHost.localize(
|
|
68694
|
+
return this._tryToSplitAndRedo(strResource, element, element.invalidatedResources, editorWorkerHost.localize(2072, "Could not redo '{0}' across all files. {1}", element.label, element.invalidatedResources.createMessage()));
|
|
68661
68695
|
}
|
|
68662
68696
|
const cannotRedoDueToResources = [];
|
|
68663
68697
|
for (const editStack of editStackSnapshot.editStacks) {
|
|
@@ -68666,7 +68700,7 @@ struct VSOutput {
|
|
|
68666
68700
|
}
|
|
68667
68701
|
}
|
|
68668
68702
|
if (cannotRedoDueToResources.length > 0) {
|
|
68669
|
-
return this._tryToSplitAndRedo(strResource, element, null, editorWorkerHost.localize(
|
|
68703
|
+
return this._tryToSplitAndRedo(strResource, element, null, editorWorkerHost.localize(2073, "Could not redo '{0}' across all files because changes were made to {1}", element.label, cannotRedoDueToResources.join(", ")));
|
|
68670
68704
|
}
|
|
68671
68705
|
const cannotLockDueToResources = [];
|
|
68672
68706
|
for (const editStack of editStackSnapshot.editStacks) {
|
|
@@ -68675,10 +68709,10 @@ struct VSOutput {
|
|
|
68675
68709
|
}
|
|
68676
68710
|
}
|
|
68677
68711
|
if (cannotLockDueToResources.length > 0) {
|
|
68678
|
-
return this._tryToSplitAndRedo(strResource, element, null, editorWorkerHost.localize(
|
|
68712
|
+
return this._tryToSplitAndRedo(strResource, element, null, editorWorkerHost.localize(2074, "Could not redo '{0}' across all files because there is already an undo or redo operation running on {1}", element.label, cannotLockDueToResources.join(", ")));
|
|
68679
68713
|
}
|
|
68680
68714
|
if (!editStackSnapshot.isValid()) {
|
|
68681
|
-
return this._tryToSplitAndRedo(strResource, element, null, editorWorkerHost.localize(
|
|
68715
|
+
return this._tryToSplitAndRedo(strResource, element, null, editorWorkerHost.localize(2075, "Could not redo '{0}' across all files because an undo or redo operation occurred in the meantime", element.label));
|
|
68682
68716
|
}
|
|
68683
68717
|
return null;
|
|
68684
68718
|
}
|
|
@@ -68725,7 +68759,7 @@ struct VSOutput {
|
|
|
68725
68759
|
return;
|
|
68726
68760
|
}
|
|
68727
68761
|
if (editStack.locked) {
|
|
68728
|
-
const message = editorWorkerHost.localize(
|
|
68762
|
+
const message = editorWorkerHost.localize(2076, "Could not redo '{0}' because there is already an undo or redo operation running.", element.label);
|
|
68729
68763
|
this._notificationService.warn(message);
|
|
68730
68764
|
return;
|
|
68731
68765
|
}
|
|
@@ -76277,7 +76311,7 @@ ${text2}</tr>
|
|
|
76277
76311
|
if (options.appearance?.showHoverHint) {
|
|
76278
76312
|
const statusBarElement = $$8("div.hover-row.status-bar");
|
|
76279
76313
|
const infoElement = $$8("div.info");
|
|
76280
|
-
infoElement.textContent = editorWorkerHost.localize(
|
|
76314
|
+
infoElement.textContent = editorWorkerHost.localize(1721, "Hold {0} key to mouse over", editorWorkerHost.isMacintosh ? "Option" : "Alt");
|
|
76281
76315
|
statusBarElement.appendChild(infoElement);
|
|
76282
76316
|
this._hover.containerDomNode.appendChild(statusBarElement);
|
|
76283
76317
|
}
|
|
@@ -77007,7 +77041,7 @@ ${text2}</tr>
|
|
|
77007
77041
|
}
|
|
77008
77042
|
if (managedContent instanceof Promise) {
|
|
77009
77043
|
if (!this._hoverWidget) {
|
|
77010
|
-
this.show(editorWorkerHost.localize(
|
|
77044
|
+
this.show(editorWorkerHost.localize(1722, "Loading..."), focus, options);
|
|
77011
77045
|
}
|
|
77012
77046
|
resolvedContent = await managedContent;
|
|
77013
77047
|
} else {
|
|
@@ -79648,11 +79682,11 @@ ${text2}</tr>
|
|
|
79648
79682
|
case 0:
|
|
79649
79683
|
throw editorWorkerHost.illegalState("impossible");
|
|
79650
79684
|
case 1:
|
|
79651
|
-
this._currentChordStatusMessage = this._notificationService.status(editorWorkerHost.localize(
|
|
79685
|
+
this._currentChordStatusMessage = this._notificationService.status(editorWorkerHost.localize(1723, "({0}) was pressed. Waiting for second key of chord...", keypressLabel));
|
|
79652
79686
|
break;
|
|
79653
79687
|
default: {
|
|
79654
79688
|
const fullKeypressLabel = this._currentChords.map(({ label }) => label).join(", ");
|
|
79655
|
-
this._currentChordStatusMessage = this._notificationService.status(editorWorkerHost.localize(
|
|
79689
|
+
this._currentChordStatusMessage = this._notificationService.status(editorWorkerHost.localize(1724, "({0}) was pressed. Waiting for next key of chord...", fullKeypressLabel));
|
|
79656
79690
|
}
|
|
79657
79691
|
}
|
|
79658
79692
|
this._scheduleLeaveChordMode();
|
|
@@ -79752,7 +79786,7 @@ ${text2}</tr>
|
|
|
79752
79786
|
if (this.inChordMode) {
|
|
79753
79787
|
const currentChordsLabel = this._currentChords.map(({ label }) => label).join(", ");
|
|
79754
79788
|
this._log(`+ Leaving multi-chord mode: Nothing bound to "${currentChordsLabel}, ${keypressLabel}".`);
|
|
79755
|
-
this._notificationService.status(editorWorkerHost.localize(
|
|
79789
|
+
this._notificationService.status(editorWorkerHost.localize(1725, "The key combination ({0}, {1}) is not a command.", currentChordsLabel, keypressLabel), {
|
|
79756
79790
|
hideAfter: 10 * 1e3
|
|
79757
79791
|
/* 10s */
|
|
79758
79792
|
});
|
|
@@ -79774,7 +79808,7 @@ ${text2}</tr>
|
|
|
79774
79808
|
if (this.inChordMode) {
|
|
79775
79809
|
const currentChordsLabel = this._currentChords.map(({ label }) => label).join(", ");
|
|
79776
79810
|
this._log(`+ Leaving chord mode: Nothing bound to "${currentChordsLabel}, ${keypressLabel}".`);
|
|
79777
|
-
this._notificationService.status(editorWorkerHost.localize(
|
|
79811
|
+
this._notificationService.status(editorWorkerHost.localize(1726, "The key combination ({0}, {1}) is not a command.", currentChordsLabel, keypressLabel), {
|
|
79778
79812
|
hideAfter: 10 * 1e3
|
|
79779
79813
|
/* 10s */
|
|
79780
79814
|
});
|
|
@@ -79820,7 +79854,7 @@ ${text2}</tr>
|
|
|
79820
79854
|
if (commandId) {
|
|
79821
79855
|
const keybindingLabel = this.lookupKeybinding(commandId, context, enforceContextCheck)?.getLabel();
|
|
79822
79856
|
if (keybindingLabel) {
|
|
79823
|
-
return editorWorkerHost.localize(
|
|
79857
|
+
return editorWorkerHost.localize(1727, "{0} ({1})", label, keybindingLabel);
|
|
79824
79858
|
}
|
|
79825
79859
|
}
|
|
79826
79860
|
return label;
|
|
@@ -80912,7 +80946,7 @@ ${text2}</tr>
|
|
|
80912
80946
|
}
|
|
80913
80947
|
}
|
|
80914
80948
|
const WORKSPACE_EXTENSION = "code-workspace";
|
|
80915
|
-
[{ name: editorWorkerHost.localize(
|
|
80949
|
+
[{ name: editorWorkerHost.localize(2077, "Code Workspace"), extensions: [WORKSPACE_EXTENSION] }];
|
|
80916
80950
|
const STANDALONE_EDITOR_WORKSPACE_ID = "4064f6ec-cb38-4ad0-af64-ee6467e63c82";
|
|
80917
80951
|
function isStandaloneEditorWorkspace(workspace) {
|
|
80918
80952
|
return workspace.id === STANDALONE_EDITOR_WORKSPACE_ID;
|
|
@@ -85681,12 +85715,12 @@ ${text2}</tr>
|
|
|
85681
85715
|
if (this.options.isTabList) {
|
|
85682
85716
|
this.label.setAttribute("aria-selected", this.action.checked ? "true" : "false");
|
|
85683
85717
|
} else {
|
|
85684
|
-
this.label.setAttribute("aria-
|
|
85685
|
-
this.label.setAttribute("role", "
|
|
85718
|
+
this.label.setAttribute("aria-pressed", this.action.checked ? "true" : "false");
|
|
85719
|
+
this.label.setAttribute("role", "button");
|
|
85686
85720
|
}
|
|
85687
85721
|
} else {
|
|
85688
85722
|
this.label.classList.remove("checked");
|
|
85689
|
-
this.label.removeAttribute(this.options.isTabList ? "aria-selected" : "aria-
|
|
85723
|
+
this.label.removeAttribute(this.options.isTabList ? "aria-selected" : "aria-pressed");
|
|
85690
85724
|
this.label.setAttribute("role", this.getDefaultAriaRole());
|
|
85691
85725
|
}
|
|
85692
85726
|
}
|
|
@@ -86347,7 +86381,7 @@ ${text2}</tr>
|
|
|
86347
86381
|
if (!this._wantsAltCommand && this._menuItemAction.alt?.enabled) {
|
|
86348
86382
|
const altTooltip = this._menuItemAction.alt.tooltip || this._menuItemAction.alt.label;
|
|
86349
86383
|
const altTitleSection = this._keybindingService.appendKeybinding(altTooltip, this._menuItemAction.alt.id, this._contextKeyService);
|
|
86350
|
-
title = editorWorkerHost.localize(
|
|
86384
|
+
title = editorWorkerHost.localize(1668, "{0}\n[{1}] {2}", title, UILabelProvider.modifierLabels[editorWorkerHost.OS].altKey, altTitleSection);
|
|
86351
86385
|
}
|
|
86352
86386
|
return title;
|
|
86353
86387
|
}
|
|
@@ -86414,9 +86448,9 @@ ${text2}</tr>
|
|
|
86414
86448
|
if (this.label) {
|
|
86415
86449
|
const kb2 = TextOnlyMenuEntryActionViewItem._symbolPrintEnter(kb);
|
|
86416
86450
|
if (this._options?.conversational) {
|
|
86417
|
-
this.label.textContent = editorWorkerHost.localize(
|
|
86451
|
+
this.label.textContent = editorWorkerHost.localize(1669, "{1} to {0}", this._action.label, kb2);
|
|
86418
86452
|
} else {
|
|
86419
|
-
this.label.textContent = editorWorkerHost.localize(
|
|
86453
|
+
this.label.textContent = editorWorkerHost.localize(1670, "{0} ({1})", this._action.label, kb2);
|
|
86420
86454
|
}
|
|
86421
86455
|
}
|
|
86422
86456
|
}
|
|
@@ -88614,17 +88648,17 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
88614
88648
|
}
|
|
88615
88649
|
MarkerSeverity2.compare = compare;
|
|
88616
88650
|
const _displayStrings = /* @__PURE__ */ Object.create(null);
|
|
88617
|
-
_displayStrings[MarkerSeverity2.Error] = editorWorkerHost.localize(
|
|
88618
|
-
_displayStrings[MarkerSeverity2.Warning] = editorWorkerHost.localize(
|
|
88619
|
-
_displayStrings[MarkerSeverity2.Info] = editorWorkerHost.localize(
|
|
88651
|
+
_displayStrings[MarkerSeverity2.Error] = editorWorkerHost.localize(1755, "Error");
|
|
88652
|
+
_displayStrings[MarkerSeverity2.Warning] = editorWorkerHost.localize(1756, "Warning");
|
|
88653
|
+
_displayStrings[MarkerSeverity2.Info] = editorWorkerHost.localize(1757, "Info");
|
|
88620
88654
|
function toString(a) {
|
|
88621
88655
|
return _displayStrings[a] || "";
|
|
88622
88656
|
}
|
|
88623
88657
|
MarkerSeverity2.toString = toString;
|
|
88624
88658
|
const _displayStringsPlural = /* @__PURE__ */ Object.create(null);
|
|
88625
|
-
_displayStringsPlural[MarkerSeverity2.Error] = editorWorkerHost.localize(
|
|
88626
|
-
_displayStringsPlural[MarkerSeverity2.Warning] = editorWorkerHost.localize(
|
|
88627
|
-
_displayStringsPlural[MarkerSeverity2.Info] = editorWorkerHost.localize(
|
|
88659
|
+
_displayStringsPlural[MarkerSeverity2.Error] = editorWorkerHost.localize(1758, "Errors");
|
|
88660
|
+
_displayStringsPlural[MarkerSeverity2.Warning] = editorWorkerHost.localize(1759, "Warnings");
|
|
88661
|
+
_displayStringsPlural[MarkerSeverity2.Info] = editorWorkerHost.localize(1760, "Infos");
|
|
88628
88662
|
function toStringPlural(a) {
|
|
88629
88663
|
return _displayStringsPlural[a] || "";
|
|
88630
88664
|
}
|
|
@@ -89637,7 +89671,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
89637
89671
|
} else {
|
|
89638
89672
|
let title = node.title;
|
|
89639
89673
|
if (!title && node.href.startsWith("command:")) {
|
|
89640
|
-
title = editorWorkerHost.localize(
|
|
89674
|
+
title = editorWorkerHost.localize(1795, "Click to execute command '{0}'", node.href.substring("command:".length));
|
|
89641
89675
|
} else if (!title) {
|
|
89642
89676
|
title = node.href;
|
|
89643
89677
|
}
|
|
@@ -89680,18 +89714,18 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
89680
89714
|
};
|
|
89681
89715
|
};
|
|
89682
89716
|
const inQuickInputContextKeyValue = "inQuickInput";
|
|
89683
|
-
const InQuickInputContextKey = new RawContextKey(inQuickInputContextKeyValue, false, editorWorkerHost.localize(
|
|
89717
|
+
const InQuickInputContextKey = new RawContextKey(inQuickInputContextKeyValue, false, editorWorkerHost.localize(1772, "Whether keyboard focus is inside the quick input control"));
|
|
89684
89718
|
const inQuickInputContext = ContextKeyExpr.has(inQuickInputContextKeyValue);
|
|
89685
89719
|
const quickInputAlignmentContextKeyValue = "quickInputAlignment";
|
|
89686
|
-
const QuickInputAlignmentContextKey = new RawContextKey(quickInputAlignmentContextKeyValue, "top", editorWorkerHost.localize(
|
|
89720
|
+
const QuickInputAlignmentContextKey = new RawContextKey(quickInputAlignmentContextKeyValue, "top", editorWorkerHost.localize(1773, "The alignment of the quick input"));
|
|
89687
89721
|
const quickInputTypeContextKeyValue = "quickInputType";
|
|
89688
|
-
const QuickInputTypeContextKey = new RawContextKey(quickInputTypeContextKeyValue, void 0, editorWorkerHost.localize(
|
|
89722
|
+
const QuickInputTypeContextKey = new RawContextKey(quickInputTypeContextKeyValue, void 0, editorWorkerHost.localize(1774, "The type of the currently visible quick input"));
|
|
89689
89723
|
const endOfQuickInputBoxContextKeyValue = "cursorAtEndOfQuickInputBox";
|
|
89690
|
-
const EndOfQuickInputBoxContextKey = new RawContextKey(endOfQuickInputBoxContextKeyValue, false, editorWorkerHost.localize(
|
|
89724
|
+
const EndOfQuickInputBoxContextKey = new RawContextKey(endOfQuickInputBoxContextKeyValue, false, editorWorkerHost.localize(1775, "Whether the cursor in the quick input is at the end of the input box"));
|
|
89691
89725
|
const endOfQuickInputBoxContext = ContextKeyExpr.has(endOfQuickInputBoxContextKeyValue);
|
|
89692
89726
|
const backButton = {
|
|
89693
89727
|
iconClass: exports.ThemeIcon.asClassName(editorWorkerHost.Codicon.quickInputBack),
|
|
89694
|
-
tooltip: editorWorkerHost.localize(
|
|
89728
|
+
tooltip: editorWorkerHost.localize(1776, "Back")
|
|
89695
89729
|
};
|
|
89696
89730
|
const _QuickInput = class _QuickInput extends editorWorkerHost.Disposable {
|
|
89697
89731
|
constructor(ui) {
|
|
@@ -89946,7 +89980,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
89946
89980
|
}
|
|
89947
89981
|
getSteps() {
|
|
89948
89982
|
if (this.step && this.totalSteps) {
|
|
89949
|
-
return editorWorkerHost.localize(
|
|
89983
|
+
return editorWorkerHost.localize(1778, "{0}/{1}", this.step, this.totalSteps);
|
|
89950
89984
|
}
|
|
89951
89985
|
if (this.step) {
|
|
89952
89986
|
return String(this.step);
|
|
@@ -89974,7 +90008,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
89974
90008
|
super.dispose();
|
|
89975
90009
|
}
|
|
89976
90010
|
};
|
|
89977
|
-
_QuickInput.noPromptMessage = editorWorkerHost.localize(
|
|
90011
|
+
_QuickInput.noPromptMessage = editorWorkerHost.localize(1777, "Press 'Enter' to confirm your input or 'Escape' to cancel");
|
|
89978
90012
|
let QuickInput = _QuickInput;
|
|
89979
90013
|
const _QuickPick = class _QuickPick extends QuickInput {
|
|
89980
90014
|
constructor(ui) {
|
|
@@ -90214,7 +90248,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
90214
90248
|
this.update();
|
|
90215
90249
|
}
|
|
90216
90250
|
get okLabel() {
|
|
90217
|
-
return this._okLabel ?? editorWorkerHost.localize(
|
|
90251
|
+
return this._okLabel ?? editorWorkerHost.localize(1780, "OK");
|
|
90218
90252
|
}
|
|
90219
90253
|
set okLabel(okLabel) {
|
|
90220
90254
|
this._okLabel = okLabel;
|
|
@@ -90488,7 +90522,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
90488
90522
|
this.handleAccept(inBackground ?? false);
|
|
90489
90523
|
}
|
|
90490
90524
|
};
|
|
90491
|
-
_QuickPick.DEFAULT_ARIA_LABEL = editorWorkerHost.localize(
|
|
90525
|
+
_QuickPick.DEFAULT_ARIA_LABEL = editorWorkerHost.localize(1779, "Type to narrow down results.");
|
|
90492
90526
|
let QuickPick = _QuickPick;
|
|
90493
90527
|
let InputBox$1 = class InputBox extends QuickInput {
|
|
90494
90528
|
constructor() {
|
|
@@ -90547,7 +90581,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
90547
90581
|
}
|
|
90548
90582
|
set prompt(prompt) {
|
|
90549
90583
|
this._prompt = prompt;
|
|
90550
|
-
this.noValidationMessage = prompt ? editorWorkerHost.localize(
|
|
90584
|
+
this.noValidationMessage = prompt ? editorWorkerHost.localize(1781, "{0} (Press 'Enter' to confirm or 'Escape' to cancel)", prompt) : QuickInput.noPromptMessage;
|
|
90551
90585
|
this.update();
|
|
90552
90586
|
}
|
|
90553
90587
|
show() {
|
|
@@ -91930,6 +91964,14 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
91930
91964
|
})));
|
|
91931
91965
|
}
|
|
91932
91966
|
}
|
|
91967
|
+
setAriaLabel(label) {
|
|
91968
|
+
this.ariaLabel = label;
|
|
91969
|
+
if (label) {
|
|
91970
|
+
this.input.setAttribute("aria-label", this.ariaLabel);
|
|
91971
|
+
} else {
|
|
91972
|
+
this.input.removeAttribute("aria-label");
|
|
91973
|
+
}
|
|
91974
|
+
}
|
|
91933
91975
|
get inputElement() {
|
|
91934
91976
|
return this.input;
|
|
91935
91977
|
}
|
|
@@ -99037,17 +99079,17 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
99037
99079
|
return new ObjectTreeModel(user, options);
|
|
99038
99080
|
}
|
|
99039
99081
|
}
|
|
99040
|
-
new RawContextKey("isMac", editorWorkerHost.isMacintosh, editorWorkerHost.localize(
|
|
99041
|
-
new RawContextKey("isLinux", editorWorkerHost.isLinux, editorWorkerHost.localize(
|
|
99042
|
-
const IsWindowsContext = new RawContextKey("isWindows", editorWorkerHost.isWindows, editorWorkerHost.localize(
|
|
99043
|
-
const IsWebContext = new RawContextKey("isWeb", editorWorkerHost.isWeb, editorWorkerHost.localize(
|
|
99044
|
-
new RawContextKey("isMacNative", editorWorkerHost.isMacintosh && !editorWorkerHost.isWeb, editorWorkerHost.localize(
|
|
99045
|
-
new RawContextKey("isIOS", editorWorkerHost.isIOS, editorWorkerHost.localize(
|
|
99046
|
-
new RawContextKey("isMobile", editorWorkerHost.isMobile, editorWorkerHost.localize(
|
|
99082
|
+
new RawContextKey("isMac", editorWorkerHost.isMacintosh, editorWorkerHost.localize(1706, "Whether the operating system is macOS"));
|
|
99083
|
+
new RawContextKey("isLinux", editorWorkerHost.isLinux, editorWorkerHost.localize(1707, "Whether the operating system is Linux"));
|
|
99084
|
+
const IsWindowsContext = new RawContextKey("isWindows", editorWorkerHost.isWindows, editorWorkerHost.localize(1708, "Whether the operating system is Windows"));
|
|
99085
|
+
const IsWebContext = new RawContextKey("isWeb", editorWorkerHost.isWeb, editorWorkerHost.localize(1709, "Whether the platform is a web browser"));
|
|
99086
|
+
new RawContextKey("isMacNative", editorWorkerHost.isMacintosh && !editorWorkerHost.isWeb, editorWorkerHost.localize(1710, "Whether the operating system is macOS on a non-browser platform"));
|
|
99087
|
+
new RawContextKey("isIOS", editorWorkerHost.isIOS, editorWorkerHost.localize(1711, "Whether the operating system is iOS"));
|
|
99088
|
+
new RawContextKey("isMobile", editorWorkerHost.isMobile, editorWorkerHost.localize(1712, "Whether the platform is a mobile web browser"));
|
|
99047
99089
|
new RawContextKey("isDevelopment", false, true);
|
|
99048
|
-
new RawContextKey("productQualityType", "", editorWorkerHost.localize(
|
|
99090
|
+
new RawContextKey("productQualityType", "", editorWorkerHost.localize(1713, "Quality type of VS Code"));
|
|
99049
99091
|
const InputFocusedContextKey = "inputFocus";
|
|
99050
|
-
const InputFocusedContext = new RawContextKey(InputFocusedContextKey, false, editorWorkerHost.localize(
|
|
99092
|
+
const InputFocusedContext = new RawContextKey(InputFocusedContextKey, false, editorWorkerHost.localize(1714, "Whether keyboard focus is inside an input box"));
|
|
99051
99093
|
var __decorate$r = function(decorators, target, key, desc) {
|
|
99052
99094
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
99053
99095
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -99905,118 +99947,118 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
99905
99947
|
configurationRegistry.registerConfiguration({
|
|
99906
99948
|
id: "workbench",
|
|
99907
99949
|
order: 7,
|
|
99908
|
-
title: editorWorkerHost.localize(
|
|
99950
|
+
title: editorWorkerHost.localize(1728, "Workbench"),
|
|
99909
99951
|
type: "object",
|
|
99910
99952
|
properties: {
|
|
99911
99953
|
[multiSelectModifierSettingKey]: {
|
|
99912
99954
|
type: "string",
|
|
99913
99955
|
enum: ["ctrlCmd", "alt"],
|
|
99914
99956
|
markdownEnumDescriptions: [
|
|
99915
|
-
editorWorkerHost.localize(
|
|
99916
|
-
editorWorkerHost.localize(
|
|
99957
|
+
editorWorkerHost.localize(1729, "Maps to `Control` on Windows and Linux and to `Command` on macOS."),
|
|
99958
|
+
editorWorkerHost.localize(1730, "Maps to `Alt` on Windows and Linux and to `Option` on macOS.")
|
|
99917
99959
|
],
|
|
99918
99960
|
default: "ctrlCmd",
|
|
99919
|
-
description: editorWorkerHost.localize(
|
|
99961
|
+
description: editorWorkerHost.localize(1731, "The modifier to be used to add an item in trees and lists to a multi-selection with the mouse (for example in the explorer, open editors and scm view). The 'Open to Side' mouse gestures - if supported - will adapt such that they do not conflict with the multiselect modifier.")
|
|
99920
99962
|
},
|
|
99921
99963
|
[openModeSettingKey]: {
|
|
99922
99964
|
type: "string",
|
|
99923
99965
|
enum: ["singleClick", "doubleClick"],
|
|
99924
99966
|
default: "singleClick",
|
|
99925
|
-
description: editorWorkerHost.localize(
|
|
99967
|
+
description: editorWorkerHost.localize(1732, "Controls how to open items in trees and lists using the mouse (if supported). Note that some trees and lists might choose to ignore this setting if it is not applicable.")
|
|
99926
99968
|
},
|
|
99927
99969
|
[horizontalScrollingKey]: {
|
|
99928
99970
|
type: "boolean",
|
|
99929
99971
|
default: false,
|
|
99930
|
-
description: editorWorkerHost.localize(
|
|
99972
|
+
description: editorWorkerHost.localize(1733, "Controls whether lists and trees support horizontal scrolling in the workbench. Warning: turning on this setting has a performance implication.")
|
|
99931
99973
|
},
|
|
99932
99974
|
[scrollByPageKey]: {
|
|
99933
99975
|
type: "boolean",
|
|
99934
99976
|
default: false,
|
|
99935
|
-
description: editorWorkerHost.localize(
|
|
99977
|
+
description: editorWorkerHost.localize(1734, "Controls whether clicks in the scrollbar scroll page by page.")
|
|
99936
99978
|
},
|
|
99937
99979
|
[treeIndentKey]: {
|
|
99938
99980
|
type: "number",
|
|
99939
99981
|
default: 8,
|
|
99940
99982
|
minimum: 4,
|
|
99941
99983
|
maximum: 40,
|
|
99942
|
-
description: editorWorkerHost.localize(
|
|
99984
|
+
description: editorWorkerHost.localize(1735, "Controls tree indentation in pixels.")
|
|
99943
99985
|
},
|
|
99944
99986
|
[treeRenderIndentGuidesKey]: {
|
|
99945
99987
|
type: "string",
|
|
99946
99988
|
enum: ["none", "onHover", "always"],
|
|
99947
99989
|
default: "onHover",
|
|
99948
|
-
description: editorWorkerHost.localize(
|
|
99990
|
+
description: editorWorkerHost.localize(1736, "Controls whether the tree should render indent guides.")
|
|
99949
99991
|
},
|
|
99950
99992
|
[listSmoothScrolling]: {
|
|
99951
99993
|
type: "boolean",
|
|
99952
99994
|
default: false,
|
|
99953
|
-
description: editorWorkerHost.localize(
|
|
99995
|
+
description: editorWorkerHost.localize(1737, "Controls whether lists and trees have smooth scrolling.")
|
|
99954
99996
|
},
|
|
99955
99997
|
[mouseWheelScrollSensitivityKey]: {
|
|
99956
99998
|
type: "number",
|
|
99957
99999
|
default: 1,
|
|
99958
|
-
markdownDescription: editorWorkerHost.localize(
|
|
100000
|
+
markdownDescription: editorWorkerHost.localize(1738, "A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")
|
|
99959
100001
|
},
|
|
99960
100002
|
[fastScrollSensitivityKey]: {
|
|
99961
100003
|
type: "number",
|
|
99962
100004
|
default: 5,
|
|
99963
|
-
markdownDescription: editorWorkerHost.localize(
|
|
100005
|
+
markdownDescription: editorWorkerHost.localize(1739, "Scrolling speed multiplier when pressing `Alt`.")
|
|
99964
100006
|
},
|
|
99965
100007
|
[defaultFindModeSettingKey]: {
|
|
99966
100008
|
type: "string",
|
|
99967
100009
|
enum: ["highlight", "filter"],
|
|
99968
100010
|
enumDescriptions: [
|
|
99969
|
-
editorWorkerHost.localize(
|
|
99970
|
-
editorWorkerHost.localize(
|
|
100011
|
+
editorWorkerHost.localize(1740, "Highlight elements when searching. Further up and down navigation will traverse only the highlighted elements."),
|
|
100012
|
+
editorWorkerHost.localize(1741, "Filter elements when searching.")
|
|
99971
100013
|
],
|
|
99972
100014
|
default: "highlight",
|
|
99973
|
-
description: editorWorkerHost.localize(
|
|
100015
|
+
description: editorWorkerHost.localize(1742, "Controls the default find mode for lists and trees in the workbench.")
|
|
99974
100016
|
},
|
|
99975
100017
|
[keyboardNavigationSettingKey]: {
|
|
99976
100018
|
type: "string",
|
|
99977
100019
|
enum: ["simple", "highlight", "filter"],
|
|
99978
100020
|
enumDescriptions: [
|
|
99979
|
-
editorWorkerHost.localize(
|
|
99980
|
-
editorWorkerHost.localize(
|
|
99981
|
-
editorWorkerHost.localize(
|
|
100021
|
+
editorWorkerHost.localize(1743, "Simple keyboard navigation focuses elements which match the keyboard input. Matching is done only on prefixes."),
|
|
100022
|
+
editorWorkerHost.localize(1744, "Highlight keyboard navigation highlights elements which match the keyboard input. Further up and down navigation will traverse only the highlighted elements."),
|
|
100023
|
+
editorWorkerHost.localize(1745, "Filter keyboard navigation will filter out and hide all the elements which do not match the keyboard input.")
|
|
99982
100024
|
],
|
|
99983
100025
|
default: "highlight",
|
|
99984
|
-
description: editorWorkerHost.localize(
|
|
100026
|
+
description: editorWorkerHost.localize(1746, "Controls the keyboard navigation style for lists and trees in the workbench. Can be simple, highlight and filter."),
|
|
99985
100027
|
deprecated: true,
|
|
99986
|
-
deprecationMessage: editorWorkerHost.localize(
|
|
100028
|
+
deprecationMessage: editorWorkerHost.localize(1747, "Please use 'workbench.list.defaultFindMode' and 'workbench.list.typeNavigationMode' instead.")
|
|
99987
100029
|
},
|
|
99988
100030
|
[defaultFindMatchTypeSettingKey]: {
|
|
99989
100031
|
type: "string",
|
|
99990
100032
|
enum: ["fuzzy", "contiguous"],
|
|
99991
100033
|
enumDescriptions: [
|
|
99992
|
-
editorWorkerHost.localize(
|
|
99993
|
-
editorWorkerHost.localize(
|
|
100034
|
+
editorWorkerHost.localize(1748, "Use fuzzy matching when searching."),
|
|
100035
|
+
editorWorkerHost.localize(1749, "Use contiguous matching when searching.")
|
|
99994
100036
|
],
|
|
99995
100037
|
default: "fuzzy",
|
|
99996
|
-
description: editorWorkerHost.localize(
|
|
100038
|
+
description: editorWorkerHost.localize(1750, "Controls the type of matching used when searching lists and trees in the workbench.")
|
|
99997
100039
|
},
|
|
99998
100040
|
[treeExpandMode]: {
|
|
99999
100041
|
type: "string",
|
|
100000
100042
|
enum: ["singleClick", "doubleClick"],
|
|
100001
100043
|
default: "singleClick",
|
|
100002
|
-
description: editorWorkerHost.localize(
|
|
100044
|
+
description: editorWorkerHost.localize(1751, "Controls how tree folders are expanded when clicking the folder names. Note that some trees and lists might choose to ignore this setting if it is not applicable.")
|
|
100003
100045
|
},
|
|
100004
100046
|
[treeStickyScroll]: {
|
|
100005
100047
|
type: "boolean",
|
|
100006
100048
|
default: true,
|
|
100007
|
-
description: editorWorkerHost.localize(
|
|
100049
|
+
description: editorWorkerHost.localize(1752, "Controls whether sticky scrolling is enabled in trees.")
|
|
100008
100050
|
},
|
|
100009
100051
|
[treeStickyScrollMaxElements]: {
|
|
100010
100052
|
type: "number",
|
|
100011
100053
|
minimum: 1,
|
|
100012
100054
|
default: 7,
|
|
100013
|
-
markdownDescription: editorWorkerHost.localize(
|
|
100055
|
+
markdownDescription: editorWorkerHost.localize(1753, "Controls the number of sticky elements displayed in the tree when {0} is enabled.", "`#workbench.tree.enableStickyScroll#`")
|
|
100014
100056
|
},
|
|
100015
100057
|
[typeNavigationModeSettingKey]: {
|
|
100016
100058
|
type: "string",
|
|
100017
100059
|
enum: ["automatic", "trigger"],
|
|
100018
100060
|
default: "automatic",
|
|
100019
|
-
markdownDescription: editorWorkerHost.localize(
|
|
100061
|
+
markdownDescription: editorWorkerHost.localize(1754, "Controls how type navigation works in lists and trees in the workbench. When set to `trigger`, type navigation begins once the `list.triggerTypeNavigation` command is run.")
|
|
100020
100062
|
}
|
|
100021
100063
|
}
|
|
100022
100064
|
});
|
|
@@ -100176,7 +100218,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
100176
100218
|
}
|
|
100177
100219
|
class QuickInputAccessibilityProvider {
|
|
100178
100220
|
getWidgetAriaLabel() {
|
|
100179
|
-
return editorWorkerHost.localize(
|
|
100221
|
+
return editorWorkerHost.localize(1794, "Quick Input");
|
|
100180
100222
|
}
|
|
100181
100223
|
getAriaLabel(element) {
|
|
100182
100224
|
return element.separator?.label ? `${element.saneAriaLabel}, ${element.separator.label}` : element.saneAriaLabel;
|
|
@@ -100472,7 +100514,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
100472
100514
|
this.linkOpenerDelegate = linkOpenerDelegate;
|
|
100473
100515
|
this.styles = styles;
|
|
100474
100516
|
this.accessibilityService = accessibilityService;
|
|
100475
|
-
this._onLeave = new editorWorkerHost.Emitter();
|
|
100517
|
+
this._onLeave = this._register(new editorWorkerHost.Emitter());
|
|
100476
100518
|
this.onLeave = this._onLeave.event;
|
|
100477
100519
|
this._visibleCountObservable = observableValue("VisibleCount", 0);
|
|
100478
100520
|
this.onChangedVisibleCount = editorWorkerHost.Event.fromObservable(this._visibleCountObservable, this._store);
|
|
@@ -100482,11 +100524,11 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
100482
100524
|
this.onChangedCheckedCount = editorWorkerHost.Event.fromObservable(this._checkedCountObservable, this._store);
|
|
100483
100525
|
this._checkedElementsObservable = observableValueOpts({ equalsFn: editorWorkerHost.equals }, new Array());
|
|
100484
100526
|
this.onChangedCheckedElements = editorWorkerHost.Event.fromObservable(this._checkedElementsObservable, this._store);
|
|
100485
|
-
this._onButtonTriggered = new editorWorkerHost.Emitter();
|
|
100527
|
+
this._onButtonTriggered = this._register(new editorWorkerHost.Emitter());
|
|
100486
100528
|
this.onButtonTriggered = this._onButtonTriggered.event;
|
|
100487
|
-
this._onSeparatorButtonTriggered = new editorWorkerHost.Emitter();
|
|
100529
|
+
this._onSeparatorButtonTriggered = this._register(new editorWorkerHost.Emitter());
|
|
100488
100530
|
this.onSeparatorButtonTriggered = this._onSeparatorButtonTriggered.event;
|
|
100489
|
-
this._elementChecked = new editorWorkerHost.Emitter();
|
|
100531
|
+
this._elementChecked = this._register(new editorWorkerHost.Emitter());
|
|
100490
100532
|
this._elementCheckedEventBufferer = new editorWorkerHost.EventBufferer();
|
|
100491
100533
|
this._hasCheckboxes = false;
|
|
100492
100534
|
this._inputElements = new Array();
|
|
@@ -101225,7 +101267,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
101225
101267
|
KeybindingsRegistry.registerCommandAndKeybindingRule({
|
|
101226
101268
|
weight: 200,
|
|
101227
101269
|
when: inQuickInputContext,
|
|
101228
|
-
metadata: { description: editorWorkerHost.localize(
|
|
101270
|
+
metadata: { description: editorWorkerHost.localize(1782, "Used while in the context of any kind of quick input. If you change one keybinding for this command, you should change all of the other keybindings (modifier variants) of this command as well.") },
|
|
101229
101271
|
...rule,
|
|
101230
101272
|
secondary: getSecondary(rule.primary, rule.secondary ?? [], options)
|
|
101231
101273
|
});
|
|
@@ -101246,7 +101288,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
101246
101288
|
/* QuickInputType.QuickTree */
|
|
101247
101289
|
)
|
|
101248
101290
|
), inQuickInputContext),
|
|
101249
|
-
metadata: { description: editorWorkerHost.localize(
|
|
101291
|
+
metadata: { description: editorWorkerHost.localize(1783, "Used while in the context of the quick pick. If you change one keybinding for this command, you should change all of the other keybindings (modifier variants) of this command as well.") },
|
|
101250
101292
|
...rule,
|
|
101251
101293
|
secondary: getSecondary(rule.primary, rule.secondary ?? [], options)
|
|
101252
101294
|
});
|
|
@@ -101294,8 +101336,8 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
101294
101336
|
registerQuickPickCommandAndKeybindingRule({ id: "quickInput.last", primary: ctrlKeyMod + 13, handler: focusHandler(QuickPickFocus.Last) }, { withAltMod: true, withCmdMod: true });
|
|
101295
101337
|
registerQuickPickCommandAndKeybindingRule({ id: "quickInput.next", primary: 18, handler: focusHandler(QuickPickFocus.Next) }, { withCtrlMod: true });
|
|
101296
101338
|
registerQuickPickCommandAndKeybindingRule({ id: "quickInput.previous", primary: 16, handler: focusHandler(QuickPickFocus.Previous) }, { withCtrlMod: true });
|
|
101297
|
-
const nextSeparatorFallbackDesc = editorWorkerHost.localize(
|
|
101298
|
-
const prevSeparatorFallbackDesc = editorWorkerHost.localize(
|
|
101339
|
+
const nextSeparatorFallbackDesc = editorWorkerHost.localize(1784, "If we're in quick access mode, this will navigate to the next item. If we are not in quick access mode, this will navigate to the next separator.");
|
|
101340
|
+
const prevSeparatorFallbackDesc = editorWorkerHost.localize(1785, "If we're in quick access mode, this will navigate to the previous item. If we are not in quick access mode, this will navigate to the previous separator.");
|
|
101299
101341
|
if (editorWorkerHost.isMacintosh) {
|
|
101300
101342
|
registerQuickPickCommandAndKeybindingRule({
|
|
101301
101343
|
id: "quickInput.nextSeparatorWithQuickAccessFallback",
|
|
@@ -101370,7 +101412,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
101370
101412
|
inQuickInputContext,
|
|
101371
101413
|
ContextKeyExpr.not("isComposing")
|
|
101372
101414
|
),
|
|
101373
|
-
metadata: { description: editorWorkerHost.localize(
|
|
101415
|
+
metadata: { description: editorWorkerHost.localize(1786, "Used while in the context of some quick input. If you change one keybinding for this command, you should change all of the other keybindings (modifier variants) of this command as well.") },
|
|
101374
101416
|
handler: (accessor) => {
|
|
101375
101417
|
const currentQuickPick = accessor.get(IQuickInputService).currentQuickInput;
|
|
101376
101418
|
currentQuickPick?.accept();
|
|
@@ -101597,7 +101639,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
101597
101639
|
this.onCheckedEvent = onCheckedEvent;
|
|
101598
101640
|
}
|
|
101599
101641
|
getWidgetAriaLabel() {
|
|
101600
|
-
return editorWorkerHost.localize(
|
|
101642
|
+
return editorWorkerHost.localize(1796, "Quick Tree");
|
|
101601
101643
|
}
|
|
101602
101644
|
getAriaLabel(element) {
|
|
101603
101645
|
return element.ariaLabel || [element.label, element.description].map((s) => getCodiconAriaLabel(s)).filter((s) => !!s).join(", ");
|
|
@@ -101714,7 +101756,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
101714
101756
|
this.onDidChangeCheckboxState = this._onDidChangeCheckboxState.event;
|
|
101715
101757
|
this._onDidCheckedLeafItemsChange = this._register(new editorWorkerHost.Emitter());
|
|
101716
101758
|
this.onDidChangeCheckedLeafItems = this._onDidCheckedLeafItemsChange.event;
|
|
101717
|
-
this._onLeave = new editorWorkerHost.Emitter();
|
|
101759
|
+
this._onLeave = this._register(new editorWorkerHost.Emitter());
|
|
101718
101760
|
this.onLeave = this._onLeave.event;
|
|
101719
101761
|
this._onDidAccept = this._register(new editorWorkerHost.Emitter());
|
|
101720
101762
|
this.onDidAccept = this._onDidAccept.event;
|
|
@@ -102136,7 +102178,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
102136
102178
|
this._onDidAcceptEmitter.fire();
|
|
102137
102179
|
}
|
|
102138
102180
|
};
|
|
102139
|
-
_QuickTree.DEFAULT_ARIA_LABEL = editorWorkerHost.localize(
|
|
102181
|
+
_QuickTree.DEFAULT_ARIA_LABEL = editorWorkerHost.localize(1797, "Type to narrow down results.");
|
|
102140
102182
|
let QuickTree = _QuickTree;
|
|
102141
102183
|
var __decorate$n = function(decorators, target, key, desc) {
|
|
102142
102184
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -102232,7 +102274,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
102232
102274
|
}));
|
|
102233
102275
|
rightActionBar.getElement().classList.add("quick-input-right-action-bar");
|
|
102234
102276
|
const headerContainer = append$2(container, $(".quick-input-header"));
|
|
102235
|
-
const checkAll = this._register(new TriStateCheckbox(editorWorkerHost.localize(
|
|
102277
|
+
const checkAll = this._register(new TriStateCheckbox(editorWorkerHost.localize(1787, "Toggle all checkboxes"), false, { ...defaultCheckboxStyles, size: 15 }));
|
|
102236
102278
|
append$2(headerContainer, checkAll.domNode);
|
|
102237
102279
|
this._register(checkAll.onChange(() => {
|
|
102238
102280
|
const checked = checkAll.checked;
|
|
@@ -102251,10 +102293,10 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
102251
102293
|
const visibleCountContainer = append$2(filterContainer, $(".quick-input-visible-count"));
|
|
102252
102294
|
visibleCountContainer.setAttribute("aria-live", "polite");
|
|
102253
102295
|
visibleCountContainer.setAttribute("aria-atomic", "true");
|
|
102254
|
-
const visibleCount = this._register(new CountBadge(visibleCountContainer, { countFormat: editorWorkerHost.localize(
|
|
102296
|
+
const visibleCount = this._register(new CountBadge(visibleCountContainer, { countFormat: editorWorkerHost.localize(1788, "{0} Results") }, this.styles.countBadge));
|
|
102255
102297
|
const countContainer = append$2(filterContainer, $(".quick-input-count"));
|
|
102256
102298
|
countContainer.setAttribute("aria-live", "polite");
|
|
102257
|
-
const count = this._register(new CountBadge(countContainer, { countFormat: editorWorkerHost.localize(
|
|
102299
|
+
const count = this._register(new CountBadge(countContainer, { countFormat: editorWorkerHost.localize(1789, "{0} Selected") }, this.styles.countBadge));
|
|
102258
102300
|
const inlineActionBar = this._register(new ToolBar(headerContainer, this.contextMenuService, {
|
|
102259
102301
|
hoverDelegate: this.options.hoverDelegate,
|
|
102260
102302
|
actionViewItemProvider: createToggleActionViewItemProvider(this.styles.toggle),
|
|
@@ -102264,13 +102306,13 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
102264
102306
|
inlineActionBar.getElement().classList.add("quick-input-inline-action-bar");
|
|
102265
102307
|
const okContainer = append$2(headerContainer, $(".quick-input-action"));
|
|
102266
102308
|
const ok = this._register(new Button(okContainer, this.styles.button));
|
|
102267
|
-
ok.label = editorWorkerHost.localize(
|
|
102309
|
+
ok.label = editorWorkerHost.localize(1790, "OK");
|
|
102268
102310
|
this._register(ok.onDidClick((e) => {
|
|
102269
102311
|
this.onDidAcceptEmitter.fire();
|
|
102270
102312
|
}));
|
|
102271
102313
|
const customButtonContainer = append$2(headerContainer, $(".quick-input-action"));
|
|
102272
102314
|
const customButton = this._register(new Button(customButtonContainer, { ...this.styles.button, supportIcons: true }));
|
|
102273
|
-
customButton.label = editorWorkerHost.localize(
|
|
102315
|
+
customButton.label = editorWorkerHost.localize(1791, "Custom");
|
|
102274
102316
|
this._register(customButton.onDidClick((e) => {
|
|
102275
102317
|
this.onDidCustomEmitter.fire();
|
|
102276
102318
|
}));
|
|
@@ -102682,7 +102724,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
102682
102724
|
ui.inputBox.toggles = void 0;
|
|
102683
102725
|
ui.inputBox.actions = void 0;
|
|
102684
102726
|
const backKeybindingLabel = this.options.backKeybindingLabel();
|
|
102685
|
-
backButton.tooltip = backKeybindingLabel ? editorWorkerHost.localize(
|
|
102727
|
+
backButton.tooltip = backKeybindingLabel ? editorWorkerHost.localize(1792, "Back ({0})", backKeybindingLabel) : editorWorkerHost.localize(1793, "Back");
|
|
102686
102728
|
ui.container.style.display = "";
|
|
102687
102729
|
this.updateLayout();
|
|
102688
102730
|
this.dndController?.layoutContainer();
|
|
@@ -103615,7 +103657,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
103615
103657
|
IconFontDefinition2.fromJSONObject = fromJSONObject;
|
|
103616
103658
|
})(IconFontDefinition || (IconFontDefinition = {}));
|
|
103617
103659
|
const fontIdRegex = /^([\w_-]+)$/;
|
|
103618
|
-
const fontIdErrorMessage = editorWorkerHost.localize(
|
|
103660
|
+
const fontIdErrorMessage = editorWorkerHost.localize(2051, "The font ID must only contain letters, numbers, underscores and dashes.");
|
|
103619
103661
|
class IconRegistry extends editorWorkerHost.Disposable {
|
|
103620
103662
|
constructor() {
|
|
103621
103663
|
super();
|
|
@@ -103626,8 +103668,8 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
103626
103668
|
icons: {
|
|
103627
103669
|
type: "object",
|
|
103628
103670
|
properties: {
|
|
103629
|
-
fontId: { type: "string", description: editorWorkerHost.localize(
|
|
103630
|
-
fontCharacter: { type: "string", description: editorWorkerHost.localize(
|
|
103671
|
+
fontId: { type: "string", description: editorWorkerHost.localize(2052, "The id of the font to use. If not set, the font that is defined first is used."), pattern: fontIdRegex.source, patternErrorMessage: fontIdErrorMessage },
|
|
103672
|
+
fontCharacter: { type: "string", description: editorWorkerHost.localize(2053, "The font character associated with the icon definition.") }
|
|
103631
103673
|
},
|
|
103632
103674
|
additionalProperties: false,
|
|
103633
103675
|
defaultSnippets: [{ body: { fontCharacter: "\\\\e030" } }]
|
|
@@ -103728,9 +103770,9 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
103728
103770
|
delayer.schedule();
|
|
103729
103771
|
}
|
|
103730
103772
|
});
|
|
103731
|
-
const widgetClose = registerIcon("widget-close", editorWorkerHost.Codicon.close, editorWorkerHost.localize(
|
|
103732
|
-
registerIcon("goto-previous-location", editorWorkerHost.Codicon.arrowUp, editorWorkerHost.localize(
|
|
103733
|
-
registerIcon("goto-next-location", editorWorkerHost.Codicon.arrowDown, editorWorkerHost.localize(
|
|
103773
|
+
const widgetClose = registerIcon("widget-close", editorWorkerHost.Codicon.close, editorWorkerHost.localize(2054, "Icon for the close action in widgets."));
|
|
103774
|
+
registerIcon("goto-previous-location", editorWorkerHost.Codicon.arrowUp, editorWorkerHost.localize(2055, "Icon for goto previous editor location."));
|
|
103775
|
+
registerIcon("goto-next-location", editorWorkerHost.Codicon.arrowDown, editorWorkerHost.localize(2056, "Icon for goto next editor location."));
|
|
103734
103776
|
exports.ThemeIcon.modify(editorWorkerHost.Codicon.sync, "spin");
|
|
103735
103777
|
exports.ThemeIcon.modify(editorWorkerHost.Codicon.loading, "spin");
|
|
103736
103778
|
function getIconsStyleSheet(themeService) {
|
|
@@ -104150,9 +104192,9 @@ ${this._themeCSS}`;
|
|
|
104150
104192
|
this._layoutService = _layoutService;
|
|
104151
104193
|
this._configurationService = _configurationService;
|
|
104152
104194
|
this._accessibilitySupport = 0;
|
|
104153
|
-
this._onDidChangeScreenReaderOptimized = new editorWorkerHost.Emitter();
|
|
104154
|
-
this._onDidChangeReducedMotion = new editorWorkerHost.Emitter();
|
|
104155
|
-
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());
|
|
104156
104198
|
this._accessibilityModeEnabledContext = CONTEXT_ACCESSIBILITY_MODE_ENABLED.bindTo(this._contextKeyService);
|
|
104157
104199
|
const updateContextKey = () => this._accessibilityModeEnabledContext.set(this.isScreenReaderOptimized());
|
|
104158
104200
|
this._register(this._configurationService.onDidChangeConfiguration((e) => {
|
|
@@ -104588,7 +104630,7 @@ ${this._themeCSS}`;
|
|
|
104588
104630
|
const title = typeof command.title === "string" ? command.title : command.title.value;
|
|
104589
104631
|
const hide2 = toAction({
|
|
104590
104632
|
id: `hide/${menu.id}/${id}`,
|
|
104591
|
-
label: editorWorkerHost.localize(
|
|
104633
|
+
label: editorWorkerHost.localize(1673, "Hide '{0}'", title),
|
|
104592
104634
|
run() {
|
|
104593
104635
|
states.updateHidden(menu, id, true);
|
|
104594
104636
|
}
|
|
@@ -104614,7 +104656,7 @@ ${this._themeCSS}`;
|
|
|
104614
104656
|
function createConfigureKeybindingAction(commandService, keybindingService, commandId, when = void 0, enabled = true) {
|
|
104615
104657
|
return toAction({
|
|
104616
104658
|
id: `configureKeybinding/${commandId}`,
|
|
104617
|
-
label: editorWorkerHost.localize(
|
|
104659
|
+
label: editorWorkerHost.localize(1674, "Configure Keybinding"),
|
|
104618
104660
|
enabled,
|
|
104619
104661
|
run() {
|
|
104620
104662
|
const hasKeybinding = !!keybindingService.lookupKeybinding(commandId);
|
|
@@ -105194,7 +105236,7 @@ ${this._themeCSS}`;
|
|
|
105194
105236
|
return [...RawContextKey.all()].sort((a, b) => a.key.localeCompare(b.key));
|
|
105195
105237
|
},
|
|
105196
105238
|
metadata: {
|
|
105197
|
-
description: editorWorkerHost.localize(
|
|
105239
|
+
description: editorWorkerHost.localize(1696, "A command that returns information about context keys"),
|
|
105198
105240
|
args: []
|
|
105199
105241
|
}
|
|
105200
105242
|
});
|
|
@@ -105859,7 +105901,7 @@ ${graph.toString()}`;
|
|
|
105859
105901
|
* Creates an information marker for filtered resources
|
|
105860
105902
|
*/
|
|
105861
105903
|
_createFilteredMarker(resource, reasons) {
|
|
105862
|
-
const message = reasons.length === 1 ? editorWorkerHost.localize(
|
|
105904
|
+
const message = reasons.length === 1 ? editorWorkerHost.localize(1761, 'Problems are paused because: "{0}"', reasons[0]) : editorWorkerHost.localize(1762, 'Problems are paused because: "{0}" and {1} more', reasons[0], reasons.length - 1);
|
|
105863
105905
|
return {
|
|
105864
105906
|
owner: "markersFilter",
|
|
105865
105907
|
resource,
|
|
@@ -106039,176 +106081,176 @@ ${graph.toString()}`;
|
|
|
106039
106081
|
};
|
|
106040
106082
|
_AccessibilitySignal._signals = /* @__PURE__ */ new Set();
|
|
106041
106083
|
_AccessibilitySignal.errorAtPosition = _AccessibilitySignal.register({
|
|
106042
|
-
name: editorWorkerHost.localize(
|
|
106084
|
+
name: editorWorkerHost.localize(1600, "Error at Position"),
|
|
106043
106085
|
sound: Sound.error,
|
|
106044
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106086
|
+
announcementMessage: editorWorkerHost.localize(1601, "Error"),
|
|
106045
106087
|
settingsKey: "accessibility.signals.positionHasError",
|
|
106046
106088
|
delaySettingsKey: "accessibility.signalOptions.delays.errorAtPosition"
|
|
106047
106089
|
});
|
|
106048
106090
|
_AccessibilitySignal.warningAtPosition = _AccessibilitySignal.register({
|
|
106049
|
-
name: editorWorkerHost.localize(
|
|
106091
|
+
name: editorWorkerHost.localize(1602, "Warning at Position"),
|
|
106050
106092
|
sound: Sound.warning,
|
|
106051
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106093
|
+
announcementMessage: editorWorkerHost.localize(1603, "Warning"),
|
|
106052
106094
|
settingsKey: "accessibility.signals.positionHasWarning",
|
|
106053
106095
|
delaySettingsKey: "accessibility.signalOptions.delays.warningAtPosition"
|
|
106054
106096
|
});
|
|
106055
106097
|
_AccessibilitySignal.errorOnLine = _AccessibilitySignal.register({
|
|
106056
|
-
name: editorWorkerHost.localize(
|
|
106098
|
+
name: editorWorkerHost.localize(1604, "Error on Line"),
|
|
106057
106099
|
sound: Sound.error,
|
|
106058
106100
|
legacySoundSettingsKey: "audioCues.lineHasError",
|
|
106059
106101
|
legacyAnnouncementSettingsKey: "accessibility.alert.error",
|
|
106060
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106102
|
+
announcementMessage: editorWorkerHost.localize(1605, "Error on Line"),
|
|
106061
106103
|
settingsKey: "accessibility.signals.lineHasError"
|
|
106062
106104
|
});
|
|
106063
106105
|
_AccessibilitySignal.warningOnLine = _AccessibilitySignal.register({
|
|
106064
|
-
name: editorWorkerHost.localize(
|
|
106106
|
+
name: editorWorkerHost.localize(1606, "Warning on Line"),
|
|
106065
106107
|
sound: Sound.warning,
|
|
106066
106108
|
legacySoundSettingsKey: "audioCues.lineHasWarning",
|
|
106067
106109
|
legacyAnnouncementSettingsKey: "accessibility.alert.warning",
|
|
106068
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106110
|
+
announcementMessage: editorWorkerHost.localize(1607, "Warning on Line"),
|
|
106069
106111
|
settingsKey: "accessibility.signals.lineHasWarning"
|
|
106070
106112
|
});
|
|
106071
106113
|
_AccessibilitySignal.foldedArea = _AccessibilitySignal.register({
|
|
106072
|
-
name: editorWorkerHost.localize(
|
|
106114
|
+
name: editorWorkerHost.localize(1608, "Folded Area on Line"),
|
|
106073
106115
|
sound: Sound.foldedArea,
|
|
106074
106116
|
legacySoundSettingsKey: "audioCues.lineHasFoldedArea",
|
|
106075
106117
|
legacyAnnouncementSettingsKey: "accessibility.alert.foldedArea",
|
|
106076
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106118
|
+
announcementMessage: editorWorkerHost.localize(1609, "Folded"),
|
|
106077
106119
|
settingsKey: "accessibility.signals.lineHasFoldedArea"
|
|
106078
106120
|
});
|
|
106079
106121
|
_AccessibilitySignal.break = _AccessibilitySignal.register({
|
|
106080
|
-
name: editorWorkerHost.localize(
|
|
106122
|
+
name: editorWorkerHost.localize(1610, "Breakpoint on Line"),
|
|
106081
106123
|
sound: Sound.break,
|
|
106082
106124
|
legacySoundSettingsKey: "audioCues.lineHasBreakpoint",
|
|
106083
106125
|
legacyAnnouncementSettingsKey: "accessibility.alert.breakpoint",
|
|
106084
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106126
|
+
announcementMessage: editorWorkerHost.localize(1611, "Breakpoint"),
|
|
106085
106127
|
settingsKey: "accessibility.signals.lineHasBreakpoint"
|
|
106086
106128
|
});
|
|
106087
106129
|
_AccessibilitySignal.inlineSuggestion = _AccessibilitySignal.register({
|
|
106088
|
-
name: editorWorkerHost.localize(
|
|
106130
|
+
name: editorWorkerHost.localize(1612, "Inline Suggestion on Line"),
|
|
106089
106131
|
sound: Sound.quickFixes,
|
|
106090
106132
|
legacySoundSettingsKey: "audioCues.lineHasInlineSuggestion",
|
|
106091
106133
|
settingsKey: "accessibility.signals.lineHasInlineSuggestion"
|
|
106092
106134
|
});
|
|
106093
106135
|
_AccessibilitySignal.nextEditSuggestion = _AccessibilitySignal.register({
|
|
106094
|
-
name: editorWorkerHost.localize(
|
|
106136
|
+
name: editorWorkerHost.localize(1613, "Next Edit Suggestion on Line"),
|
|
106095
106137
|
sound: Sound.nextEditSuggestion,
|
|
106096
106138
|
legacySoundSettingsKey: "audioCues.nextEditSuggestion",
|
|
106097
106139
|
settingsKey: "accessibility.signals.nextEditSuggestion",
|
|
106098
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106140
|
+
announcementMessage: editorWorkerHost.localize(1614, "Next Edit Suggestion")
|
|
106099
106141
|
});
|
|
106100
106142
|
_AccessibilitySignal.terminalQuickFix = _AccessibilitySignal.register({
|
|
106101
|
-
name: editorWorkerHost.localize(
|
|
106143
|
+
name: editorWorkerHost.localize(1615, "Terminal Quick Fix"),
|
|
106102
106144
|
sound: Sound.quickFixes,
|
|
106103
106145
|
legacySoundSettingsKey: "audioCues.terminalQuickFix",
|
|
106104
106146
|
legacyAnnouncementSettingsKey: "accessibility.alert.terminalQuickFix",
|
|
106105
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106147
|
+
announcementMessage: editorWorkerHost.localize(1616, "Quick Fix"),
|
|
106106
106148
|
settingsKey: "accessibility.signals.terminalQuickFix"
|
|
106107
106149
|
});
|
|
106108
106150
|
_AccessibilitySignal.onDebugBreak = _AccessibilitySignal.register({
|
|
106109
|
-
name: editorWorkerHost.localize(
|
|
106151
|
+
name: editorWorkerHost.localize(1617, "Debugger Stopped on Breakpoint"),
|
|
106110
106152
|
sound: Sound.break,
|
|
106111
106153
|
legacySoundSettingsKey: "audioCues.onDebugBreak",
|
|
106112
106154
|
legacyAnnouncementSettingsKey: "accessibility.alert.onDebugBreak",
|
|
106113
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106155
|
+
announcementMessage: editorWorkerHost.localize(1618, "Breakpoint"),
|
|
106114
106156
|
settingsKey: "accessibility.signals.onDebugBreak"
|
|
106115
106157
|
});
|
|
106116
106158
|
_AccessibilitySignal.noInlayHints = _AccessibilitySignal.register({
|
|
106117
|
-
name: editorWorkerHost.localize(
|
|
106159
|
+
name: editorWorkerHost.localize(1619, "No Inlay Hints on Line"),
|
|
106118
106160
|
sound: Sound.error,
|
|
106119
106161
|
legacySoundSettingsKey: "audioCues.noInlayHints",
|
|
106120
106162
|
legacyAnnouncementSettingsKey: "accessibility.alert.noInlayHints",
|
|
106121
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106163
|
+
announcementMessage: editorWorkerHost.localize(1620, "No Inlay Hints"),
|
|
106122
106164
|
settingsKey: "accessibility.signals.noInlayHints"
|
|
106123
106165
|
});
|
|
106124
106166
|
_AccessibilitySignal.taskCompleted = _AccessibilitySignal.register({
|
|
106125
|
-
name: editorWorkerHost.localize(
|
|
106167
|
+
name: editorWorkerHost.localize(1621, "Task Completed"),
|
|
106126
106168
|
sound: Sound.taskCompleted,
|
|
106127
106169
|
legacySoundSettingsKey: "audioCues.taskCompleted",
|
|
106128
106170
|
legacyAnnouncementSettingsKey: "accessibility.alert.taskCompleted",
|
|
106129
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106171
|
+
announcementMessage: editorWorkerHost.localize(1622, "Task Completed"),
|
|
106130
106172
|
settingsKey: "accessibility.signals.taskCompleted"
|
|
106131
106173
|
});
|
|
106132
106174
|
_AccessibilitySignal.taskFailed = _AccessibilitySignal.register({
|
|
106133
|
-
name: editorWorkerHost.localize(
|
|
106175
|
+
name: editorWorkerHost.localize(1623, "Task Failed"),
|
|
106134
106176
|
sound: Sound.taskFailed,
|
|
106135
106177
|
legacySoundSettingsKey: "audioCues.taskFailed",
|
|
106136
106178
|
legacyAnnouncementSettingsKey: "accessibility.alert.taskFailed",
|
|
106137
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106179
|
+
announcementMessage: editorWorkerHost.localize(1624, "Task Failed"),
|
|
106138
106180
|
settingsKey: "accessibility.signals.taskFailed"
|
|
106139
106181
|
});
|
|
106140
106182
|
_AccessibilitySignal.terminalCommandFailed = _AccessibilitySignal.register({
|
|
106141
|
-
name: editorWorkerHost.localize(
|
|
106183
|
+
name: editorWorkerHost.localize(1625, "Terminal Command Failed"),
|
|
106142
106184
|
sound: Sound.error,
|
|
106143
106185
|
legacySoundSettingsKey: "audioCues.terminalCommandFailed",
|
|
106144
106186
|
legacyAnnouncementSettingsKey: "accessibility.alert.terminalCommandFailed",
|
|
106145
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106187
|
+
announcementMessage: editorWorkerHost.localize(1626, "Command Failed"),
|
|
106146
106188
|
settingsKey: "accessibility.signals.terminalCommandFailed"
|
|
106147
106189
|
});
|
|
106148
106190
|
_AccessibilitySignal.terminalCommandSucceeded = _AccessibilitySignal.register({
|
|
106149
|
-
name: editorWorkerHost.localize(
|
|
106191
|
+
name: editorWorkerHost.localize(1627, "Terminal Command Succeeded"),
|
|
106150
106192
|
sound: Sound.terminalCommandSucceeded,
|
|
106151
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106193
|
+
announcementMessage: editorWorkerHost.localize(1628, "Command Succeeded"),
|
|
106152
106194
|
settingsKey: "accessibility.signals.terminalCommandSucceeded"
|
|
106153
106195
|
});
|
|
106154
106196
|
_AccessibilitySignal.terminalBell = _AccessibilitySignal.register({
|
|
106155
|
-
name: editorWorkerHost.localize(
|
|
106197
|
+
name: editorWorkerHost.localize(1629, "Terminal Bell"),
|
|
106156
106198
|
sound: Sound.terminalBell,
|
|
106157
106199
|
legacySoundSettingsKey: "audioCues.terminalBell",
|
|
106158
106200
|
legacyAnnouncementSettingsKey: "accessibility.alert.terminalBell",
|
|
106159
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106201
|
+
announcementMessage: editorWorkerHost.localize(1630, "Terminal Bell"),
|
|
106160
106202
|
settingsKey: "accessibility.signals.terminalBell"
|
|
106161
106203
|
});
|
|
106162
106204
|
_AccessibilitySignal.notebookCellCompleted = _AccessibilitySignal.register({
|
|
106163
|
-
name: editorWorkerHost.localize(
|
|
106205
|
+
name: editorWorkerHost.localize(1631, "Notebook Cell Completed"),
|
|
106164
106206
|
sound: Sound.taskCompleted,
|
|
106165
106207
|
legacySoundSettingsKey: "audioCues.notebookCellCompleted",
|
|
106166
106208
|
legacyAnnouncementSettingsKey: "accessibility.alert.notebookCellCompleted",
|
|
106167
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106209
|
+
announcementMessage: editorWorkerHost.localize(1632, "Notebook Cell Completed"),
|
|
106168
106210
|
settingsKey: "accessibility.signals.notebookCellCompleted"
|
|
106169
106211
|
});
|
|
106170
106212
|
_AccessibilitySignal.notebookCellFailed = _AccessibilitySignal.register({
|
|
106171
|
-
name: editorWorkerHost.localize(
|
|
106213
|
+
name: editorWorkerHost.localize(1633, "Notebook Cell Failed"),
|
|
106172
106214
|
sound: Sound.taskFailed,
|
|
106173
106215
|
legacySoundSettingsKey: "audioCues.notebookCellFailed",
|
|
106174
106216
|
legacyAnnouncementSettingsKey: "accessibility.alert.notebookCellFailed",
|
|
106175
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106217
|
+
announcementMessage: editorWorkerHost.localize(1634, "Notebook Cell Failed"),
|
|
106176
106218
|
settingsKey: "accessibility.signals.notebookCellFailed"
|
|
106177
106219
|
});
|
|
106178
106220
|
_AccessibilitySignal.diffLineInserted = _AccessibilitySignal.register({
|
|
106179
|
-
name: editorWorkerHost.localize(
|
|
106221
|
+
name: editorWorkerHost.localize(1635, "Diff Line Inserted"),
|
|
106180
106222
|
sound: Sound.diffLineInserted,
|
|
106181
106223
|
legacySoundSettingsKey: "audioCues.diffLineInserted",
|
|
106182
106224
|
settingsKey: "accessibility.signals.diffLineInserted"
|
|
106183
106225
|
});
|
|
106184
106226
|
_AccessibilitySignal.diffLineDeleted = _AccessibilitySignal.register({
|
|
106185
|
-
name: editorWorkerHost.localize(
|
|
106227
|
+
name: editorWorkerHost.localize(1636, "Diff Line Deleted"),
|
|
106186
106228
|
sound: Sound.diffLineDeleted,
|
|
106187
106229
|
legacySoundSettingsKey: "audioCues.diffLineDeleted",
|
|
106188
106230
|
settingsKey: "accessibility.signals.diffLineDeleted"
|
|
106189
106231
|
});
|
|
106190
106232
|
_AccessibilitySignal.diffLineModified = _AccessibilitySignal.register({
|
|
106191
|
-
name: editorWorkerHost.localize(
|
|
106233
|
+
name: editorWorkerHost.localize(1637, "Diff Line Modified"),
|
|
106192
106234
|
sound: Sound.diffLineModified,
|
|
106193
106235
|
legacySoundSettingsKey: "audioCues.diffLineModified",
|
|
106194
106236
|
settingsKey: "accessibility.signals.diffLineModified"
|
|
106195
106237
|
});
|
|
106196
106238
|
_AccessibilitySignal.chatEditModifiedFile = _AccessibilitySignal.register({
|
|
106197
|
-
name: editorWorkerHost.localize(
|
|
106239
|
+
name: editorWorkerHost.localize(1638, "Chat Edit Modified File"),
|
|
106198
106240
|
sound: Sound.chatEditModifiedFile,
|
|
106199
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106241
|
+
announcementMessage: editorWorkerHost.localize(1639, "File Modified from Chat Edits"),
|
|
106200
106242
|
settingsKey: "accessibility.signals.chatEditModifiedFile"
|
|
106201
106243
|
});
|
|
106202
106244
|
_AccessibilitySignal.chatRequestSent = _AccessibilitySignal.register({
|
|
106203
|
-
name: editorWorkerHost.localize(
|
|
106245
|
+
name: editorWorkerHost.localize(1640, "Chat Request Sent"),
|
|
106204
106246
|
sound: Sound.requestSent,
|
|
106205
106247
|
legacySoundSettingsKey: "audioCues.chatRequestSent",
|
|
106206
106248
|
legacyAnnouncementSettingsKey: "accessibility.alert.chatRequestSent",
|
|
106207
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106249
|
+
announcementMessage: editorWorkerHost.localize(1641, "Chat Request Sent"),
|
|
106208
106250
|
settingsKey: "accessibility.signals.chatRequestSent"
|
|
106209
106251
|
});
|
|
106210
106252
|
_AccessibilitySignal.chatResponseReceived = _AccessibilitySignal.register({
|
|
106211
|
-
name: editorWorkerHost.localize(
|
|
106253
|
+
name: editorWorkerHost.localize(1642, "Chat Response Received"),
|
|
106212
106254
|
legacySoundSettingsKey: "audioCues.chatResponseReceived",
|
|
106213
106255
|
sound: {
|
|
106214
106256
|
randomOneOf: [
|
|
@@ -106221,79 +106263,79 @@ ${graph.toString()}`;
|
|
|
106221
106263
|
settingsKey: "accessibility.signals.chatResponseReceived"
|
|
106222
106264
|
});
|
|
106223
106265
|
_AccessibilitySignal.codeActionTriggered = _AccessibilitySignal.register({
|
|
106224
|
-
name: editorWorkerHost.localize(
|
|
106266
|
+
name: editorWorkerHost.localize(1643, "Code Action Request Triggered"),
|
|
106225
106267
|
sound: Sound.codeActionTriggered,
|
|
106226
106268
|
legacySoundSettingsKey: "audioCues.codeActionRequestTriggered",
|
|
106227
106269
|
legacyAnnouncementSettingsKey: "accessibility.alert.codeActionRequestTriggered",
|
|
106228
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106270
|
+
announcementMessage: editorWorkerHost.localize(1644, "Code Action Request Triggered"),
|
|
106229
106271
|
settingsKey: "accessibility.signals.codeActionTriggered"
|
|
106230
106272
|
});
|
|
106231
106273
|
_AccessibilitySignal.codeActionApplied = _AccessibilitySignal.register({
|
|
106232
|
-
name: editorWorkerHost.localize(
|
|
106274
|
+
name: editorWorkerHost.localize(1645, "Code Action Applied"),
|
|
106233
106275
|
legacySoundSettingsKey: "audioCues.codeActionApplied",
|
|
106234
106276
|
sound: Sound.codeActionApplied,
|
|
106235
106277
|
settingsKey: "accessibility.signals.codeActionApplied"
|
|
106236
106278
|
});
|
|
106237
106279
|
_AccessibilitySignal.progress = _AccessibilitySignal.register({
|
|
106238
|
-
name: editorWorkerHost.localize(
|
|
106280
|
+
name: editorWorkerHost.localize(1646, "Progress"),
|
|
106239
106281
|
sound: Sound.progress,
|
|
106240
106282
|
legacySoundSettingsKey: "audioCues.chatResponsePending",
|
|
106241
106283
|
legacyAnnouncementSettingsKey: "accessibility.alert.progress",
|
|
106242
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106284
|
+
announcementMessage: editorWorkerHost.localize(1647, "Progress"),
|
|
106243
106285
|
settingsKey: "accessibility.signals.progress"
|
|
106244
106286
|
});
|
|
106245
106287
|
_AccessibilitySignal.clear = _AccessibilitySignal.register({
|
|
106246
|
-
name: editorWorkerHost.localize(
|
|
106288
|
+
name: editorWorkerHost.localize(1648, "Clear"),
|
|
106247
106289
|
sound: Sound.clear,
|
|
106248
106290
|
legacySoundSettingsKey: "audioCues.clear",
|
|
106249
106291
|
legacyAnnouncementSettingsKey: "accessibility.alert.clear",
|
|
106250
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106292
|
+
announcementMessage: editorWorkerHost.localize(1649, "Clear"),
|
|
106251
106293
|
settingsKey: "accessibility.signals.clear"
|
|
106252
106294
|
});
|
|
106253
106295
|
_AccessibilitySignal.save = _AccessibilitySignal.register({
|
|
106254
|
-
name: editorWorkerHost.localize(
|
|
106296
|
+
name: editorWorkerHost.localize(1650, "Save"),
|
|
106255
106297
|
sound: Sound.save,
|
|
106256
106298
|
legacySoundSettingsKey: "audioCues.save",
|
|
106257
106299
|
legacyAnnouncementSettingsKey: "accessibility.alert.save",
|
|
106258
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106300
|
+
announcementMessage: editorWorkerHost.localize(1651, "Save"),
|
|
106259
106301
|
settingsKey: "accessibility.signals.save"
|
|
106260
106302
|
});
|
|
106261
106303
|
_AccessibilitySignal.format = _AccessibilitySignal.register({
|
|
106262
|
-
name: editorWorkerHost.localize(
|
|
106304
|
+
name: editorWorkerHost.localize(1652, "Format"),
|
|
106263
106305
|
sound: Sound.format,
|
|
106264
106306
|
legacySoundSettingsKey: "audioCues.format",
|
|
106265
106307
|
legacyAnnouncementSettingsKey: "accessibility.alert.format",
|
|
106266
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106308
|
+
announcementMessage: editorWorkerHost.localize(1653, "Format"),
|
|
106267
106309
|
settingsKey: "accessibility.signals.format"
|
|
106268
106310
|
});
|
|
106269
106311
|
_AccessibilitySignal.voiceRecordingStarted = _AccessibilitySignal.register({
|
|
106270
|
-
name: editorWorkerHost.localize(
|
|
106312
|
+
name: editorWorkerHost.localize(1654, "Voice Recording Started"),
|
|
106271
106313
|
sound: Sound.voiceRecordingStarted,
|
|
106272
106314
|
legacySoundSettingsKey: "audioCues.voiceRecordingStarted",
|
|
106273
106315
|
settingsKey: "accessibility.signals.voiceRecordingStarted"
|
|
106274
106316
|
});
|
|
106275
106317
|
_AccessibilitySignal.voiceRecordingStopped = _AccessibilitySignal.register({
|
|
106276
|
-
name: editorWorkerHost.localize(
|
|
106318
|
+
name: editorWorkerHost.localize(1655, "Voice Recording Stopped"),
|
|
106277
106319
|
sound: Sound.voiceRecordingStopped,
|
|
106278
106320
|
legacySoundSettingsKey: "audioCues.voiceRecordingStopped",
|
|
106279
106321
|
settingsKey: "accessibility.signals.voiceRecordingStopped"
|
|
106280
106322
|
});
|
|
106281
106323
|
_AccessibilitySignal.editsKept = _AccessibilitySignal.register({
|
|
106282
|
-
name: editorWorkerHost.localize(
|
|
106324
|
+
name: editorWorkerHost.localize(1656, "Edits Kept"),
|
|
106283
106325
|
sound: Sound.editsKept,
|
|
106284
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106326
|
+
announcementMessage: editorWorkerHost.localize(1657, "Edits Kept"),
|
|
106285
106327
|
settingsKey: "accessibility.signals.editsKept"
|
|
106286
106328
|
});
|
|
106287
106329
|
_AccessibilitySignal.editsUndone = _AccessibilitySignal.register({
|
|
106288
|
-
name: editorWorkerHost.localize(
|
|
106330
|
+
name: editorWorkerHost.localize(1658, "Undo Edits"),
|
|
106289
106331
|
sound: Sound.editsUndone,
|
|
106290
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106332
|
+
announcementMessage: editorWorkerHost.localize(1659, "Edits Undone"),
|
|
106291
106333
|
settingsKey: "accessibility.signals.editsUndone"
|
|
106292
106334
|
});
|
|
106293
106335
|
_AccessibilitySignal.chatUserActionRequired = _AccessibilitySignal.register({
|
|
106294
|
-
name: editorWorkerHost.localize(
|
|
106336
|
+
name: editorWorkerHost.localize(1660, "Chat User Action Required"),
|
|
106295
106337
|
sound: Sound.chatUserActionRequired,
|
|
106296
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106338
|
+
announcementMessage: editorWorkerHost.localize(1661, "Chat User Action Required"),
|
|
106297
106339
|
settingsKey: "accessibility.signals.chatUserActionRequired"
|
|
106298
106340
|
});
|
|
106299
106341
|
let AccessibilitySignal = _AccessibilitySignal;
|
|
@@ -106529,6 +106571,64 @@ Ensure your bundler properly bundles modules referenced by "new URL(${examplePat
|
|
|
106529
106571
|
}
|
|
106530
106572
|
}
|
|
106531
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
|
+
);
|
|
106532
106632
|
var __decorate$g = function(decorators, target, key, desc) {
|
|
106533
106633
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
106534
106634
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -106886,15 +106986,16 @@ Ensure your bundler properly bundles modules referenced by "new URL(${examplePat
|
|
|
106886
106986
|
StandaloneConfigurationService = __decorate$g([
|
|
106887
106987
|
__param$g(0, ILogService)
|
|
106888
106988
|
], StandaloneConfigurationService);
|
|
106889
|
-
let StandaloneResourceConfigurationService = class StandaloneResourceConfigurationService {
|
|
106989
|
+
let StandaloneResourceConfigurationService = class StandaloneResourceConfigurationService extends editorWorkerHost.Disposable {
|
|
106890
106990
|
constructor(configurationService, modelService, languageService) {
|
|
106991
|
+
super();
|
|
106891
106992
|
this.configurationService = configurationService;
|
|
106892
106993
|
this.modelService = modelService;
|
|
106893
106994
|
this.languageService = languageService;
|
|
106894
|
-
this._onDidChangeConfiguration = new editorWorkerHost.Emitter();
|
|
106895
|
-
this.configurationService.onDidChangeConfiguration((e) => {
|
|
106995
|
+
this._onDidChangeConfiguration = this._register(new editorWorkerHost.Emitter());
|
|
106996
|
+
this._register(this.configurationService.onDidChangeConfiguration((e) => {
|
|
106896
106997
|
this._onDidChangeConfiguration.fire({ affectedKeys: e.affectedKeys, affectsConfiguration: (resource, configuration) => e.affectsConfiguration(configuration) });
|
|
106897
|
-
});
|
|
106998
|
+
}));
|
|
106898
106999
|
}
|
|
106899
107000
|
getValue(resource, arg2, arg3) {
|
|
106900
107001
|
const position = editorWorkerHost.Position.isIPosition(arg2) ? arg2 : null;
|
|
@@ -107332,6 +107433,12 @@ Ensure your bundler properly bundles modules referenced by "new URL(${examplePat
|
|
|
107332
107433
|
0
|
|
107333
107434
|
/* InstantiationType.Eager */
|
|
107334
107435
|
);
|
|
107436
|
+
registerSingleton(
|
|
107437
|
+
IUserInteractionService,
|
|
107438
|
+
UserInteractionService,
|
|
107439
|
+
0
|
|
107440
|
+
/* InstantiationType.Eager */
|
|
107441
|
+
);
|
|
107335
107442
|
var StandaloneServices;
|
|
107336
107443
|
(function(StandaloneServices2) {
|
|
107337
107444
|
const serviceCollection = new ServiceCollection();
|
|
@@ -108572,6 +108679,7 @@ Ensure your bundler properly bundles modules referenced by "new URL(${examplePat
|
|
|
108572
108679
|
}
|
|
108573
108680
|
dispose() {
|
|
108574
108681
|
this.diffAlgorithmOnDidChangeSubscription?.dispose();
|
|
108682
|
+
this.onDidChangeEventEmitter.dispose();
|
|
108575
108683
|
}
|
|
108576
108684
|
async computeDiff(original, modified, options, cancellationToken) {
|
|
108577
108685
|
if (typeof this.diffAlgorithm !== "string") {
|
|
@@ -111569,7 +111677,7 @@ Ensure your bundler properly bundles modules referenced by "new URL(${examplePat
|
|
|
111569
111677
|
} else {
|
|
111570
111678
|
primaryActions.push(toAction({
|
|
111571
111679
|
id: "label",
|
|
111572
|
-
label: editorWorkerHost.localize(
|
|
111680
|
+
label: editorWorkerHost.localize(1671, "Hide"),
|
|
111573
111681
|
enabled: false,
|
|
111574
111682
|
run() {
|
|
111575
111683
|
}
|
|
@@ -111584,7 +111692,7 @@ Ensure your bundler properly bundles modules referenced by "new URL(${examplePat
|
|
|
111584
111692
|
actions.push(new Separator());
|
|
111585
111693
|
actions.push(toAction({
|
|
111586
111694
|
id: "resetThisMenu",
|
|
111587
|
-
label: editorWorkerHost.localize(
|
|
111695
|
+
label: editorWorkerHost.localize(1672, "Reset Menu"),
|
|
111588
111696
|
run: () => this._menuService.resetHiddenStates(menuIds)
|
|
111589
111697
|
}));
|
|
111590
111698
|
}
|
|
@@ -113203,10 +113311,10 @@ Ensure your bundler properly bundles modules referenced by "new URL(${examplePat
|
|
|
113203
113311
|
setARIAContainer(parent || mainWindow.document.body);
|
|
113204
113312
|
}
|
|
113205
113313
|
let StandaloneCodeEditor = class StandaloneCodeEditor extends exports.CodeEditorWidget {
|
|
113206
|
-
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) {
|
|
113207
113315
|
const options = { ..._options };
|
|
113208
113316
|
options.ariaLabel = options.ariaLabel || StandaloneCodeEditorNLS.editorViewAccessibleLabel;
|
|
113209
|
-
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);
|
|
113210
113318
|
if (keybindingService instanceof StandaloneKeybindingService) {
|
|
113211
113319
|
this._standaloneKeybindingService = keybindingService;
|
|
113212
113320
|
} else {
|
|
@@ -113300,10 +113408,11 @@ Ensure your bundler properly bundles modules referenced by "new URL(${examplePat
|
|
|
113300
113408
|
__param$3(10, IAccessibilityService),
|
|
113301
113409
|
__param$3(11, ILanguageConfigurationService),
|
|
113302
113410
|
__param$3(12, ILanguageFeaturesService),
|
|
113303
|
-
__param$3(13, IMarkdownRendererService)
|
|
113411
|
+
__param$3(13, IMarkdownRendererService),
|
|
113412
|
+
__param$3(14, IUserInteractionService)
|
|
113304
113413
|
], StandaloneCodeEditor);
|
|
113305
113414
|
let StandaloneEditor = class StandaloneEditor extends StandaloneCodeEditor {
|
|
113306
|
-
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) {
|
|
113307
113416
|
const options = { ..._options };
|
|
113308
113417
|
updateConfigurationService(configurationService, options, false);
|
|
113309
113418
|
const themeDomRegistration = themeService.registerEditorContainer(domElement);
|
|
@@ -113315,7 +113424,7 @@ Ensure your bundler properly bundles modules referenced by "new URL(${examplePat
|
|
|
113315
113424
|
}
|
|
113316
113425
|
const _model = options.model;
|
|
113317
113426
|
delete options.model;
|
|
113318
|
-
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);
|
|
113319
113428
|
this._configurationService = configurationService;
|
|
113320
113429
|
this._standaloneThemeService = themeService;
|
|
113321
113430
|
this._register(themeDomRegistration);
|
|
@@ -113373,7 +113482,8 @@ Ensure your bundler properly bundles modules referenced by "new URL(${examplePat
|
|
|
113373
113482
|
__param$3(13, ILanguageService),
|
|
113374
113483
|
__param$3(14, ILanguageConfigurationService),
|
|
113375
113484
|
__param$3(15, ILanguageFeaturesService),
|
|
113376
|
-
__param$3(16, IMarkdownRendererService)
|
|
113485
|
+
__param$3(16, IMarkdownRendererService),
|
|
113486
|
+
__param$3(17, IUserInteractionService)
|
|
113377
113487
|
], StandaloneEditor);
|
|
113378
113488
|
let StandaloneDiffEditor2 = class StandaloneDiffEditor2 extends exports.DiffEditorWidget {
|
|
113379
113489
|
constructor(domElement, _options, instantiationService, contextKeyService, codeEditorService, themeService, notificationService, configurationService, contextMenuService, editorProgressService, clipboardService, accessibilitySignalService) {
|
|
@@ -116156,6 +116266,7 @@ Ensure your bundler properly bundles modules referenced by "new URL(${examplePat
|
|
|
116156
116266
|
exports.ITextModelService = ITextModelService;
|
|
116157
116267
|
exports.ITextResourceConfigurationService = ITextResourceConfigurationService;
|
|
116158
116268
|
exports.IThemeService = IThemeService;
|
|
116269
|
+
exports.IUserInteractionService = IUserInteractionService;
|
|
116159
116270
|
exports.IWorkspaceContextService = IWorkspaceContextService;
|
|
116160
116271
|
exports.IWorkspaceTrustManagementService = IWorkspaceTrustManagementService;
|
|
116161
116272
|
exports.IconLabel = IconLabel;
|