monaco-editor 0.55.0-dev-20251021 → 0.55.0-dev-20251023
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/assets/{css.worker-BdF74HVr.js → css.worker-NMIwoVcI.js} +58 -56
- package/dev/vs/assets/{editor.worker-Ci2aWZp5.js → editor.worker-CpHPGSaC.js} +58 -56
- package/dev/vs/assets/{html.worker-PHv_zBMJ.js → html.worker-CJwOblVk.js} +58 -56
- package/dev/vs/assets/{json.worker-Bu5ZSywK.js → json.worker---YES6JU.js} +58 -56
- package/dev/vs/assets/{ts.worker-DvEf1R_D.js → ts.worker-BxhKXBro.js} +58 -56
- package/dev/vs/basic-languages/monaco.contribution.js +18 -18
- package/dev/vs/{cssMode-Bwd5iTwO.js → cssMode-cXJ8gyKe.js} +2 -2
- package/dev/vs/editor/editor.main.css +3 -4
- package/dev/vs/editor/editor.main.js +6 -6
- package/dev/vs/{editor.api-DtdJriTE.js → editor.api-CdoClrvx.js} +2168 -1980
- package/dev/vs/{freemarker2-vzq7IT1V.js → freemarker2-D1BvxmSs.js} +1 -1
- package/dev/vs/{handlebars-voSBoDYq.js → handlebars-CHKYctoc.js} +1 -1
- package/dev/vs/{html-DgBvMxaw.js → html-DgZcKUc-.js} +1 -1
- package/dev/vs/{htmlMode-B73e0LQu.js → htmlMode-Ch7L6u-y.js} +2 -2
- package/dev/vs/{javascript-B456O1TJ.js → javascript-CWLsKmY1.js} +1 -1
- package/dev/vs/{jsonMode-0j9Sufcy.js → jsonMode-CApM0krZ.js} +2 -2
- 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-DtsObjyU.js → liquid-B6QJ6irB.js} +1 -1
- package/dev/vs/{lspLanguageFeatures-BOGx43ac.js → lspLanguageFeatures-DfUc0Lrg.js} +1 -1
- package/dev/vs/{mdx-CpdAOlbp.js → mdx-Ds_zUDEw.js} +1 -1
- package/dev/vs/{monaco.contribution-CLECD6oi.js → monaco.contribution-DESEZj1f.js} +2 -2
- package/dev/vs/{monaco.contribution-DgD6w475.js → monaco.contribution-Dc0lLkZu.js} +2 -2
- package/dev/vs/{monaco.contribution-96LxvCLa.js → monaco.contribution-umnmzgnj.js} +2 -2
- package/dev/vs/{monaco.contribution-BNV_Bhhz.js → monaco.contribution-vu4wFS0D.js} +2 -2
- package/dev/vs/nls.messages.cs.js +2 -2
- package/dev/vs/nls.messages.de.js +2 -2
- package/dev/vs/nls.messages.es.js +2 -2
- package/dev/vs/nls.messages.fr.js +2 -2
- package/dev/vs/nls.messages.it.js +2 -2
- package/dev/vs/nls.messages.ja.js +2 -2
- package/dev/vs/nls.messages.ko.js +2 -2
- package/dev/vs/nls.messages.pl.js +2 -2
- package/dev/vs/nls.messages.pt-br.js +2 -2
- package/dev/vs/nls.messages.ru.js +2 -2
- package/dev/vs/nls.messages.tr.js +2 -2
- package/dev/vs/nls.messages.zh-cn.js +2 -2
- package/dev/vs/nls.messages.zh-tw.js +2 -2
- package/dev/vs/{python-Bdcmm8So.js → python-Nrpn6A1J.js} +1 -1
- package/dev/vs/{razor-C2m7Vs0-.js → razor-B2ImJE6F.js} +1 -1
- package/dev/vs/{tsMode-qQDYDzQT.js → tsMode-BhTm4uDt.js} +2 -2
- package/dev/vs/{typescript-BoBnM-0b.js → typescript-B9ux4RRE.js} +1 -1
- package/dev/vs/{workers-B1DA8fIt.js → workers-BfrkJl-T.js} +1 -1
- package/dev/vs/{xml-DmpITxBR.js → xml-C1mbK085.js} +1 -1
- package/dev/vs/{yaml-Pd4qqIOC.js → yaml-CZjv-4l5.js} +1 -1
- package/esm/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/esm/vs/base/browser/ui/iconLabel/iconlabel.css +2 -3
- package/esm/vs/base/browser/ui/list/listPaging.js +5 -1
- package/esm/vs/base/browser/ui/list/listView.js +4 -3
- package/esm/vs/base/common/arrays.js +11 -1
- package/esm/vs/base/common/codiconsLibrary.js +1 -0
- package/esm/vs/base/common/platform.js +1 -0
- package/esm/vs/base/common/validation.js +159 -0
- package/esm/vs/editor/browser/controller/editContext/native/screenReaderSupport.js +1 -1
- package/esm/vs/editor/browser/controller/editContext/screenReaderUtils.js +4 -4
- package/esm/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +1 -1
- package/esm/vs/editor/browser/coreCommands.js +3 -3
- package/esm/vs/editor/browser/editorExtensions.js +9 -9
- package/esm/vs/editor/browser/gpu/viewGpuContext.js +1 -1
- package/esm/vs/editor/browser/services/hoverService/hoverWidget.js +1 -1
- package/esm/vs/editor/browser/services/hoverService/updatableHoverWidget.js +1 -1
- package/esm/vs/editor/browser/services/inlineCompletionsService.js +4 -4
- package/esm/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +2 -2
- package/esm/vs/editor/browser/widget/diffEditor/commands.js +12 -12
- package/esm/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +14 -14
- package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +1 -1
- package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/copySelection.js +1 -1
- package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +7 -7
- package/esm/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
- package/esm/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +7 -7
- package/esm/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +2 -2
- package/esm/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +2 -2
- package/esm/vs/editor/browser/widget/diffEditor/registrations.contribution.js +5 -5
- package/esm/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
- package/esm/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +2 -2
- package/esm/vs/editor/common/config/editorConfigurationSchema.js +54 -54
- package/esm/vs/editor/common/config/editorOptions.js +406 -406
- package/esm/vs/editor/common/core/editorColorRegistry.js +68 -68
- package/esm/vs/editor/common/editorContextKeys.js +46 -46
- package/esm/vs/editor/common/languages/modesRegistry.js +1 -1
- package/esm/vs/editor/common/languages.js +66 -56
- package/esm/vs/editor/common/model/editStack.js +1 -1
- package/esm/vs/editor/common/model/tokens/treeSitter/treeSitterSyntaxTokenBackend.js +1 -1
- package/esm/vs/editor/common/standaloneStrings.js +10 -10
- package/esm/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/esm/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/esm/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
- package/esm/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
- package/esm/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
- package/esm/vs/editor/contrib/clipboard/browser/clipboard.js +17 -17
- package/esm/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
- package/esm/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -29
- package/esm/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
- package/esm/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
- package/esm/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- package/esm/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
- package/esm/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
- package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
- package/esm/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
- package/esm/vs/editor/contrib/comment/browser/comment.js +6 -6
- package/esm/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
- package/esm/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +9 -9
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
- package/esm/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
- package/esm/vs/editor/contrib/find/browser/findController.js +16 -16
- package/esm/vs/editor/contrib/find/browser/findWidget.js +26 -26
- 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/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 +14 -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 +3 -3
- 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/markdownHoverParticipant.js +9 -9
- 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 +64 -53
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +12 -12
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
- package/esm/vs/editor/contrib/inlineCompletions/browser/inlineCompletions.contribution.js +2 -4
- package/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +11 -12
- package/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.js +4 -4
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +6 -6
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditWithChanges.js +3 -0
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js +5 -5
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +20 -20
- 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/parameterHintsWidget.js +4 -4
- package/esm/vs/editor/contrib/peekView/browser/peekView.js +18 -18
- package/esm/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/esm/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +35 -28
- 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 +7 -7
- 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/suggest/browser/suggest.js +8 -8
- package/esm/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
- package/esm/vs/editor/contrib/suggest/browser/suggestWidget.js +17 -17
- package/esm/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -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 +1 -1
- package/esm/vs/editor/standalone/browser/standaloneTreeSitterLibraryService.js +2 -12
- 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 +4 -4
- package/esm/vs/platform/actionWidget/browser/actionWidget.js +7 -7
- package/esm/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
- package/esm/vs/platform/actions/browser/toolbar.js +2 -2
- package/esm/vs/platform/actions/common/actions.js +1 -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/keybinding/common/abstractKeybindingService.js +4 -4
- 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 +19 -9
- 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 +1 -1
- package/esm/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/esm/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +2 -2
- package/esm/vs/platform/theme/common/colorUtils.js +2 -2
- package/esm/vs/platform/theme/common/colors/baseColors.js +17 -17
- 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 +47 -47
- 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 +15 -15
- 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/workspace/common/workspace.js +1 -1
- package/min/vs/assets/{css.worker-DpW7RrDt.js → css.worker-pjKnE9PO.js} +11 -11
- package/min/vs/assets/editor.worker-Lsh72huT.js +26 -0
- package/min/vs/assets/{html.worker-zYFVFHK_.js → html.worker-Hd4kOUqi.js} +13 -13
- package/min/vs/assets/{json.worker-BCgqF_m2.js → json.worker-DwDECz88.js} +16 -16
- package/min/vs/assets/{ts.worker-CQxe4KB6.js → ts.worker-CC3N4GQG.js} +45 -45
- package/min/vs/basic-languages/monaco.contribution.js +1 -1
- package/min/vs/{cssMode-CvaUVk1W.js → cssMode-CKacjhtz.js} +1 -1
- package/min/vs/editor/editor.main.css +1 -1
- package/min/vs/editor/editor.main.js +3 -3
- package/min/vs/{editor.api-DGkWFOQA.js → editor.api-tSFS3aVw.js} +163 -163
- package/min/vs/{freemarker2-B_vQOikd.js → freemarker2-C8BJNTRl.js} +1 -1
- package/min/vs/{handlebars-DqjIuZnJ.js → handlebars-BNJWbdv5.js} +1 -1
- package/min/vs/{html-DAxAlcjQ.js → html-B1iAfOh7.js} +1 -1
- package/min/vs/{htmlMode-C37mDTXf.js → htmlMode-Q5EfD3Ez.js} +1 -1
- package/min/vs/{javascript-CmHtjIt-.js → javascript-jZ-GdPfQ.js} +1 -1
- package/min/vs/{jsonMode-D1uvcOsy.js → jsonMode-B9MdKN8a.js} +2 -2
- 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-CQBeFlV7.js → liquid-BISP2XeK.js} +1 -1
- package/min/vs/{lspLanguageFeatures-DTAub2tJ.js → lspLanguageFeatures-B2J91l4Y.js} +1 -1
- package/min/vs/{mdx-BFnE9qyd.js → mdx-D2jzxCCc.js} +1 -1
- package/min/vs/{monaco.contribution-DBV8hY3j.js → monaco.contribution-CGr0R2fk.js} +1 -1
- package/min/vs/{monaco.contribution-D4gtmCUd.js → monaco.contribution-CYn58r8E.js} +1 -1
- package/min/vs/{monaco.contribution-bCyc25XC.js → monaco.contribution-D63-Ljq8.js} +1 -1
- package/min/vs/{monaco.contribution-Ba-90VRW.js → monaco.contribution-DaT2Ac52.js} +1 -1
- package/min/vs/nls.messages.cs.js +3 -3
- package/min/vs/nls.messages.de.js +3 -3
- package/min/vs/nls.messages.es.js +3 -3
- package/min/vs/nls.messages.fr.js +3 -3
- package/min/vs/nls.messages.it.js +3 -3
- package/min/vs/nls.messages.ja.js +3 -3
- package/min/vs/nls.messages.ko.js +3 -3
- package/min/vs/nls.messages.pl.js +3 -3
- package/min/vs/nls.messages.pt-br.js +2 -2
- package/min/vs/nls.messages.ru.js +3 -3
- package/min/vs/nls.messages.tr.js +3 -3
- package/min/vs/nls.messages.zh-cn.js +3 -3
- package/min/vs/nls.messages.zh-tw.js +3 -3
- package/min/vs/{python-BX875IYK.js → python-Dour27GQ.js} +1 -1
- package/min/vs/{razor-BBB6Wn5s.js → razor-DDTVtkIA.js} +1 -1
- package/min/vs/{tsMode-DYyNPclY.js → tsMode-mWcy0zc7.js} +5 -5
- package/min/vs/{typescript-AvfgkAyn.js → typescript-Cdajv1FR.js} +1 -1
- package/min/vs/{workers-DnTKLxL6.js → workers-D8PfwPU9.js} +1 -1
- package/min/vs/{xml-BVhc_vbm.js → xml-DY6dmZcI.js} +1 -1
- package/min/vs/{yaml-a9dM1cQx.js → yaml-vDETgr7p.js} +1 -1
- package/package.json +5 -5
- package/min/vs/assets/editor.worker-BvjSTWxN.js +0 -26
|
@@ -43,9 +43,9 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
43
43
|
var __param = (undefined && undefined.__param) || function (paramIndex, decorator) {
|
|
44
44
|
return function (target, key) { decorator(target, key, paramIndex); }
|
|
45
45
|
};
|
|
46
|
-
const accessibleDiffViewerInsertIcon = registerIcon('diff-review-insert', Codicon.add, localize(
|
|
47
|
-
const accessibleDiffViewerRemoveIcon = registerIcon('diff-review-remove', Codicon.remove, localize(
|
|
48
|
-
const accessibleDiffViewerCloseIcon = registerIcon('diff-review-close', Codicon.close, localize(
|
|
46
|
+
const accessibleDiffViewerInsertIcon = registerIcon('diff-review-insert', Codicon.add, localize(99, 'Icon for \'Insert\' in accessible diff viewer.'));
|
|
47
|
+
const accessibleDiffViewerRemoveIcon = registerIcon('diff-review-remove', Codicon.remove, localize(100, 'Icon for \'Remove\' in accessible diff viewer.'));
|
|
48
|
+
const accessibleDiffViewerCloseIcon = registerIcon('diff-review-close', Codicon.close, localize(101, 'Icon for \'Close\' in accessible diff viewer.'));
|
|
49
49
|
let AccessibleDiffViewer = class AccessibleDiffViewer extends Disposable {
|
|
50
50
|
static { this._ttPolicy = createTrustedTypesPolicy('diffReview', { createHTML: value => value }); }
|
|
51
51
|
constructor(_parentNode, _visible, _setVisible, _canClose, _width, _height, _diffs, _models, _instantiationService) {
|
|
@@ -302,7 +302,7 @@ let View = class View extends Disposable {
|
|
|
302
302
|
if (this._model.canClose.read(reader)) {
|
|
303
303
|
this._actionBar.push(toAction({
|
|
304
304
|
id: 'diffreview.close',
|
|
305
|
-
label: localize(
|
|
305
|
+
label: localize(102, "Close"),
|
|
306
306
|
class: 'close-diff-review ' + ThemeIcon.asClassName(accessibleDiffViewerCloseIcon),
|
|
307
307
|
enabled: true,
|
|
308
308
|
run: async () => _model.close()
|
|
@@ -361,7 +361,7 @@ let View = class View extends Disposable {
|
|
|
361
361
|
const container = document.createElement('div');
|
|
362
362
|
container.className = 'diff-review-table';
|
|
363
363
|
container.setAttribute('role', 'list');
|
|
364
|
-
container.setAttribute('aria-label', localize(
|
|
364
|
+
container.setAttribute('aria-label', localize(103, 'Accessible Diff Viewer. Use arrow up and down to navigate.'));
|
|
365
365
|
applyFontInfo(container, modifiedOptions.get(59 /* EditorOption.fontInfo */));
|
|
366
366
|
reset(this._content, container);
|
|
367
367
|
const originalModel = this._models.getOriginalModel();
|
|
@@ -385,12 +385,12 @@ let View = class View extends Disposable {
|
|
|
385
385
|
const r = group.range;
|
|
386
386
|
const diffIndex = this._model.currentGroupIndex.get();
|
|
387
387
|
const diffsLength = this._model.groups.get().length;
|
|
388
|
-
const getAriaLines = (lines) => lines === 0 ? localize(
|
|
389
|
-
: lines === 1 ? localize(
|
|
390
|
-
: localize(
|
|
388
|
+
const getAriaLines = (lines) => lines === 0 ? localize(104, "no lines changed")
|
|
389
|
+
: lines === 1 ? localize(105, "1 line changed")
|
|
390
|
+
: localize(106, "{0} lines changed", lines);
|
|
391
391
|
const originalChangedLinesCntAria = getAriaLines(r.original.length);
|
|
392
392
|
const modifiedChangedLinesCntAria = getAriaLines(r.modified.length);
|
|
393
|
-
header.setAttribute('aria-label', localize(
|
|
393
|
+
header.setAttribute('aria-label', localize(107, "Difference {0} of {1}: original line {2}, {3}, modified line {4}, {5}", (diffIndex + 1), diffsLength, r.original.startLineNumber, originalChangedLinesCntAria, r.modified.startLineNumber, modifiedChangedLinesCntAria));
|
|
394
394
|
|
|
395
395
|
|
|
396
396
|
|
|
@@ -510,23 +510,23 @@ let View = class View extends Disposable {
|
|
|
510
510
|
lineContent = originalModel.getLineContent(item.originalLineNumber);
|
|
511
511
|
}
|
|
512
512
|
if (lineContent.length === 0) {
|
|
513
|
-
lineContent = localize(
|
|
513
|
+
lineContent = localize(108, "blank");
|
|
514
514
|
}
|
|
515
515
|
let ariaLabel = '';
|
|
516
516
|
switch (item.type) {
|
|
517
517
|
case LineType.Unchanged:
|
|
518
518
|
if (item.originalLineNumber === item.modifiedLineNumber) {
|
|
519
|
-
ariaLabel = localize(
|
|
519
|
+
ariaLabel = localize(109, "{0} unchanged line {1}", lineContent, item.originalLineNumber);
|
|
520
520
|
}
|
|
521
521
|
else {
|
|
522
|
-
ariaLabel = localize(
|
|
522
|
+
ariaLabel = localize(110, "{0} original line {1} modified line {2}", lineContent, item.originalLineNumber, item.modifiedLineNumber);
|
|
523
523
|
}
|
|
524
524
|
break;
|
|
525
525
|
case LineType.Added:
|
|
526
|
-
ariaLabel = localize(
|
|
526
|
+
ariaLabel = localize(111, "+ {0} modified line {1}", lineContent, item.modifiedLineNumber);
|
|
527
527
|
break;
|
|
528
528
|
case LineType.Deleted:
|
|
529
|
-
ariaLabel = localize(
|
|
529
|
+
ariaLabel = localize(112, "- {0} original line {1}", lineContent, item.originalLineNumber);
|
|
530
530
|
break;
|
|
531
531
|
}
|
|
532
532
|
row.setAttribute('aria-label', ariaLabel);
|
|
@@ -171,7 +171,7 @@ let DiffEditorEditors = class DiffEditorEditors extends Disposable {
|
|
|
171
171
|
if (!ariaLabel) {
|
|
172
172
|
ariaLabel = '';
|
|
173
173
|
}
|
|
174
|
-
const ariaNavigationTip = localize(
|
|
174
|
+
const ariaNavigationTip = localize(113, ' use {0} to open the accessibility help.', this._keybindingService.lookupKeybinding('editor.action.accessibilityHelp')?.getAriaLabel());
|
|
175
175
|
if (this._options.accessibilityVerbose.get()) {
|
|
176
176
|
return ariaLabel + ariaNavigationTip;
|
|
177
177
|
}
|
package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/copySelection.js
CHANGED
|
@@ -54,7 +54,7 @@ function enableCopySelection(options) {
|
|
|
54
54
|
clipboardService.writeText(selectedText);
|
|
55
55
|
}));
|
|
56
56
|
showContextMenu({ x: e.event.posx, y: e.event.posy + editorLineHeight }, selectedText ?
|
|
57
|
-
[new Action('diff.clipboard.copySelectedDeletedContent', localize(
|
|
57
|
+
[new Action('diff.clipboard.copySelectedDeletedContent', localize(114, 'Copy Selection'), undefined, true, async () => clipboardService.writeText(selectedText))] :
|
|
58
58
|
[], () => {
|
|
59
59
|
onCopy.dispose();
|
|
60
60
|
});
|
|
@@ -58,18 +58,18 @@ class InlineDiffDeletedCodeMargin extends Disposable {
|
|
|
58
58
|
// default action
|
|
59
59
|
actions.push(new Action('diff.clipboard.copyDeletedContent', isDeletion
|
|
60
60
|
? (_diff.original.length > 1
|
|
61
|
-
? localize(
|
|
62
|
-
: localize(
|
|
61
|
+
? localize(115, "Copy deleted lines")
|
|
62
|
+
: localize(116, "Copy deleted line"))
|
|
63
63
|
: (_diff.original.length > 1
|
|
64
|
-
? localize(
|
|
65
|
-
: localize(
|
|
64
|
+
? localize(117, "Copy changed lines")
|
|
65
|
+
: localize(118, "Copy changed line")), undefined, true, async () => {
|
|
66
66
|
const originalText = this._originalTextModel.getValueInRange(_diff.original.toExclusiveRange());
|
|
67
67
|
await this._clipboardService.writeText(originalText);
|
|
68
68
|
}));
|
|
69
69
|
if (_diff.original.length > 1) {
|
|
70
70
|
actions.push(new Action('diff.clipboard.copyDeletedLineContent', isDeletion
|
|
71
|
-
? localize(
|
|
72
|
-
: localize(
|
|
71
|
+
? localize(119, "Copy deleted line ({0})", _diff.original.startLineNumber + currentLineNumberOffset)
|
|
72
|
+
: localize(120, "Copy changed line ({0})", _diff.original.startLineNumber + currentLineNumberOffset), undefined, true, async () => {
|
|
73
73
|
let lineContent = this._originalTextModel.getLineContent(_diff.original.startLineNumber + currentLineNumberOffset);
|
|
74
74
|
if (lineContent === '') {
|
|
75
75
|
// empty line -> new line
|
|
@@ -81,7 +81,7 @@ class InlineDiffDeletedCodeMargin extends Disposable {
|
|
|
81
81
|
}
|
|
82
82
|
const readOnly = _modifiedEditor.getOption(104 /* EditorOption.readOnly */);
|
|
83
83
|
if (!readOnly) {
|
|
84
|
-
actions.push(new Action('diff.inline.revertChange', localize(
|
|
84
|
+
actions.push(new Action('diff.inline.revertChange', localize(121, "Revert this change"), undefined, true, async () => {
|
|
85
85
|
this._editor.revert(this._diff);
|
|
86
86
|
}));
|
|
87
87
|
}
|
|
@@ -17,7 +17,7 @@ registerAction2(ToggleUseInlineViewWhenSpaceIsLimited);
|
|
|
17
17
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
18
18
|
command: {
|
|
19
19
|
id: new ToggleUseInlineViewWhenSpaceIsLimited().desc.id,
|
|
20
|
-
title: localize(
|
|
20
|
+
title: localize(122, "Use Inline View When Space Is Limited"),
|
|
21
21
|
toggled: ContextKeyExpr.has('config.diffEditor.useInlineViewWhenSpaceIsLimited'),
|
|
22
22
|
precondition: ContextKeyExpr.has('isInDiffEditor'),
|
|
23
23
|
},
|
|
@@ -28,7 +28,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
|
28
28
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
29
29
|
command: {
|
|
30
30
|
id: new ToggleShowMovedCodeBlocks().desc.id,
|
|
31
|
-
title: localize(
|
|
31
|
+
title: localize(123, "Show Moved Code Blocks"),
|
|
32
32
|
icon: Codicon.move,
|
|
33
33
|
toggled: ContextKeyEqualsExpr.create('config.diffEditor.experimental.showMoves', true),
|
|
34
34
|
precondition: ContextKeyExpr.has('isInDiffEditor'),
|
|
@@ -45,7 +45,7 @@ for (const ctx of [
|
|
|
45
45
|
MenuRegistry.appendMenuItem(MenuId.DiffEditorHunkToolbar, {
|
|
46
46
|
command: {
|
|
47
47
|
id: new RevertHunkOrSelection().desc.id,
|
|
48
|
-
title: localize(
|
|
48
|
+
title: localize(124, "Revert Block"),
|
|
49
49
|
icon: ctx.icon,
|
|
50
50
|
},
|
|
51
51
|
when: ContextKeyExpr.and(EditorContextKeys.diffEditorModifiedWritable, ctx.key),
|
|
@@ -55,7 +55,7 @@ for (const ctx of [
|
|
|
55
55
|
MenuRegistry.appendMenuItem(MenuId.DiffEditorSelectionToolbar, {
|
|
56
56
|
command: {
|
|
57
57
|
id: new RevertHunkOrSelection().desc.id,
|
|
58
|
-
title: localize(
|
|
58
|
+
title: localize(125, "Revert Selection"),
|
|
59
59
|
icon: ctx.icon,
|
|
60
60
|
},
|
|
61
61
|
when: ContextKeyExpr.and(EditorContextKeys.diffEditorModifiedWritable, ctx.key),
|
|
@@ -70,7 +70,7 @@ registerAction2(ShowAllUnchangedRegions);
|
|
|
70
70
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
71
71
|
command: {
|
|
72
72
|
id: AccessibleDiffViewerNext.id,
|
|
73
|
-
title: localize(
|
|
73
|
+
title: localize(126, "Open Accessible Diff Viewer"),
|
|
74
74
|
precondition: ContextKeyExpr.has('isInDiffEditor'),
|
|
75
75
|
},
|
|
76
76
|
order: 10,
|
|
@@ -150,7 +150,7 @@ let HideUnchangedRegionsFeature = class HideUnchangedRegionsFeature extends Disp
|
|
|
150
150
|
const unchangedLinesDecorationShow = {
|
|
151
151
|
description: 'Fold Unchanged',
|
|
152
152
|
glyphMarginHoverMessage: new MarkdownString(undefined, { isTrusted: true, supportThemeIcons: true })
|
|
153
|
-
.appendMarkdown(localize(
|
|
153
|
+
.appendMarkdown(localize(127, 'Fold Unchanged Region')),
|
|
154
154
|
glyphMarginClassName: 'fold-unchanged ' + ThemeIcon.asClassName(Codicon.fold),
|
|
155
155
|
zIndex: 10001,
|
|
156
156
|
};
|
|
@@ -256,7 +256,7 @@ class CompactCollapsedCodeOverlayWidget extends ViewZoneOverlayWidget {
|
|
|
256
256
|
/** @description update labels */
|
|
257
257
|
if (!this._hide) {
|
|
258
258
|
const lineCount = this._unchangedRegion.getHiddenModifiedRange(reader).length;
|
|
259
|
-
const linesHiddenText = localize(
|
|
259
|
+
const linesHiddenText = localize(128, '{0} hidden lines', lineCount);
|
|
260
260
|
this._nodes.text.innerText = linesHiddenText;
|
|
261
261
|
}
|
|
262
262
|
}));
|
|
@@ -274,12 +274,12 @@ class CollapsedCodeOverlayWidget extends ViewZoneOverlayWidget {
|
|
|
274
274
|
this._revealModifiedHiddenLine = _revealModifiedHiddenLine;
|
|
275
275
|
this._options = _options;
|
|
276
276
|
this._nodes = h('div.diff-hidden-lines', [
|
|
277
|
-
h('div.top@top', { title: localize(
|
|
277
|
+
h('div.top@top', { title: localize(129, 'Click or drag to show more above') }),
|
|
278
278
|
h('div.center@content', { style: { display: 'flex' } }, [
|
|
279
|
-
h('div@first', { style: { display: 'flex', justifyContent: 'center', alignItems: 'center', flexShrink: '0' } }, [$('a', { title: localize(
|
|
279
|
+
h('div@first', { style: { display: 'flex', justifyContent: 'center', alignItems: 'center', flexShrink: '0' } }, [$('a', { title: localize(130, 'Show Unchanged Region'), role: 'button', onclick: () => { this._unchangedRegion.showAll(undefined); } }, ...renderLabelWithIcons('$(unfold)'))]),
|
|
280
280
|
h('div@others', { style: { display: 'flex', justifyContent: 'center', alignItems: 'center' } }),
|
|
281
281
|
]),
|
|
282
|
-
h('div.bottom@bottom', { title: localize(
|
|
282
|
+
h('div.bottom@bottom', { title: localize(131, 'Click or drag to show more below'), role: 'button' }),
|
|
283
283
|
]);
|
|
284
284
|
root.root.appendChild(this._nodes.root);
|
|
285
285
|
if (!this._hide) {
|
|
@@ -391,8 +391,8 @@ class CollapsedCodeOverlayWidget extends ViewZoneOverlayWidget {
|
|
|
391
391
|
const children = [];
|
|
392
392
|
if (!this._hide) {
|
|
393
393
|
const lineCount = _unchangedRegion.getHiddenModifiedRange(reader).length;
|
|
394
|
-
const linesHiddenText = localize(
|
|
395
|
-
const span = $('span', { title: localize(
|
|
394
|
+
const linesHiddenText = localize(132, '{0} hidden lines', lineCount);
|
|
395
|
+
const span = $('span', { title: localize(133, 'Double click to unfold') }, linesHiddenText);
|
|
396
396
|
span.addEventListener('dblclick', e => {
|
|
397
397
|
if (e.button !== 0) {
|
|
398
398
|
return;
|
|
@@ -252,10 +252,10 @@ class MovedBlockOverlayWidget extends ViewZoneOverlayWidget {
|
|
|
252
252
|
}));
|
|
253
253
|
let text;
|
|
254
254
|
if (_move.changes.length > 0) {
|
|
255
|
-
text = this._kind === 'original' ? localize(
|
|
255
|
+
text = this._kind === 'original' ? localize(134, 'Code moved with changes to line {0}-{1}', this._move.lineRangeMapping.modified.startLineNumber, this._move.lineRangeMapping.modified.endLineNumberExclusive - 1) : localize(135, 'Code moved with changes from line {0}-{1}', this._move.lineRangeMapping.original.startLineNumber, this._move.lineRangeMapping.original.endLineNumberExclusive - 1);
|
|
256
256
|
}
|
|
257
257
|
else {
|
|
258
|
-
text = this._kind === 'original' ? localize(
|
|
258
|
+
text = this._kind === 'original' ? localize(136, 'Code moved to line {0}-{1}', this._move.lineRangeMapping.modified.startLineNumber, this._move.lineRangeMapping.modified.endLineNumberExclusive - 1) : localize(137, 'Code moved from line {0}-{1}', this._move.lineRangeMapping.original.startLineNumber, this._move.lineRangeMapping.original.endLineNumberExclusive - 1);
|
|
259
259
|
}
|
|
260
260
|
const actionBar = this._register(new ActionBar(this._nodes.actionBar, {
|
|
261
261
|
highlightToggledItems: true,
|
|
@@ -98,8 +98,8 @@ class RevertButton extends Disposable {
|
|
|
98
98
|
this._id = `revertButton${RevertButton.counter++}`;
|
|
99
99
|
this._domNode = h('div.revertButton', {
|
|
100
100
|
title: this._revertSelection
|
|
101
|
-
? localize(
|
|
102
|
-
: localize(
|
|
101
|
+
? localize(138, 'Revert Selected Changes')
|
|
102
|
+
: localize(139, 'Revert Change')
|
|
103
103
|
}, [renderIcon(Codicon.arrowRight)]).root;
|
|
104
104
|
this._register(addDisposableListener(this._domNode, EventType.MOUSE_DOWN, e => {
|
|
105
105
|
// don't prevent context menu from showing up
|
|
@@ -19,11 +19,11 @@ import { registerIcon } from '../../../../platform/theme/common/iconRegistry.js'
|
|
|
19
19
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
20
20
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
21
21
|
*--------------------------------------------------------------------------------------------*/
|
|
22
|
-
registerColor('diffEditor.move.border', '#8b8b8b9c', localize(
|
|
23
|
-
registerColor('diffEditor.moveActive.border', '#FFA500', localize(
|
|
24
|
-
registerColor('diffEditor.unchangedRegionShadow', { dark: '#000000', light: '#737373BF', hcDark: '#000000', hcLight: '#737373BF', }, localize(
|
|
25
|
-
const diffInsertIcon = registerIcon('diff-insert', Codicon.add, localize(
|
|
26
|
-
const diffRemoveIcon = registerIcon('diff-remove', Codicon.remove, localize(
|
|
22
|
+
registerColor('diffEditor.move.border', '#8b8b8b9c', localize(140, 'The border color for text that got moved in the diff editor.'));
|
|
23
|
+
registerColor('diffEditor.moveActive.border', '#FFA500', localize(141, 'The active border color for text that got moved in the diff editor.'));
|
|
24
|
+
registerColor('diffEditor.unchangedRegionShadow', { dark: '#000000', light: '#737373BF', hcDark: '#000000', hcLight: '#737373BF', }, localize(142, 'The color of the shadow around unchanged region widgets.'));
|
|
25
|
+
const diffInsertIcon = registerIcon('diff-insert', Codicon.add, localize(143, 'Line decoration for inserts in the diff editor.'));
|
|
26
|
+
const diffRemoveIcon = registerIcon('diff-remove', Codicon.remove, localize(144, 'Line decoration for removals in the diff editor.'));
|
|
27
27
|
const diffLineAddDecorationBackgroundWithIndicator = ModelDecorationOptions.register({
|
|
28
28
|
className: 'line-insert',
|
|
29
29
|
description: 'line-insert',
|
|
@@ -15,6 +15,6 @@ import '../../../../platform/theme/common/colors/searchColors.js';
|
|
|
15
15
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
16
16
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
17
17
|
*--------------------------------------------------------------------------------------------*/
|
|
18
|
-
registerColor('multiDiffEditor.headerBackground', { dark: '#262626', light: 'tab.inactiveBackground', hcDark: 'tab.inactiveBackground', hcLight: 'tab.inactiveBackground', }, localize(
|
|
19
|
-
registerColor('multiDiffEditor.background', editorBackground, localize(
|
|
20
|
-
registerColor('multiDiffEditor.border', { dark: 'sideBarSectionHeader.border', light: '#cccccc', hcDark: 'sideBarSectionHeader.border', hcLight: '#cccccc', }, localize(
|
|
18
|
+
registerColor('multiDiffEditor.headerBackground', { dark: '#262626', light: 'tab.inactiveBackground', hcDark: 'tab.inactiveBackground', hcLight: 'tab.inactiveBackground', }, localize(145, 'The background color of the diff editor\'s header'));
|
|
19
|
+
registerColor('multiDiffEditor.background', editorBackground, localize(146, 'The background color of the multi file diff editor'));
|
|
20
|
+
registerColor('multiDiffEditor.border', { dark: 'sideBarSectionHeader.border', light: '#cccccc', hcDark: 'sideBarSectionHeader.border', hcLight: '#cccccc', }, localize(147, 'The border color of the multi file diff editor'));
|
|
@@ -141,8 +141,8 @@ let MultiDiffEditorWidgetImpl = class MultiDiffEditorWidgetImpl extends Disposab
|
|
|
141
141
|
}
|
|
142
142
|
const vm = this._viewModel.read(reader);
|
|
143
143
|
return (!vm || vm.isLoading.read(reader))
|
|
144
|
-
? localize(
|
|
145
|
-
: localize(
|
|
144
|
+
? localize(148, 'Loading...')
|
|
145
|
+
: localize(149, 'No Changed Files');
|
|
146
146
|
});
|
|
147
147
|
this._register(autorun((reader) => {
|
|
148
148
|
const message = placeholderMessage.read(reader);
|