monaco-editor 0.56.0-dev-20260121 → 0.56.0-dev-20260123
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-C1mHXZTT.js → css.worker-ffp49_cC.js} +58 -56
- package/dev/vs/assets/{editor.worker-DMuwmZqI.js → editor.worker-waqpqn9S.js} +58 -56
- package/dev/vs/assets/{editorWebWorkerMain-BF9MKtzx.js → editorWebWorkerMain-rsQTQBqS.js} +58 -56
- package/dev/vs/assets/{html.worker-CnU9mi9l.js → html.worker-B-Dhwg_P.js} +58 -56
- package/dev/vs/assets/{json.worker-CnKP0LWf.js → json.worker-Cz-hJJ-X.js} +58 -56
- package/dev/vs/assets/{ts.worker-Cw4JXdL0.js → ts.worker-BHSjxfUg.js} +58 -56
- package/dev/vs/basic-languages/monaco.contribution.js +18 -18
- package/dev/vs/{css.worker-B9TJsr2Z.js → css.worker-DbKG6W5b.js} +2 -2
- package/dev/vs/{cssMode-B0VkNrib.js → cssMode-C3CjCC4D.js} +1 -1
- package/dev/vs/editor/editor.main.css +20 -49
- package/dev/vs/editor/editor.main.js +2 -2
- package/dev/vs/editor/editor.worker.js +1 -1
- package/dev/vs/{editor-CR18QzPP.js → editor-ByVgNwiX.js} +1232 -1136
- package/dev/vs/editor.js +1 -1
- package/dev/vs/{editorWorkerHost--0eDLpc-.js → editorWorkerHost-CSCfA6JO.js} +60 -58
- package/dev/vs/{freemarker2-Byr9HmH9.js → freemarker2-Bnmb8_zY.js} +1 -1
- package/dev/vs/{handlebars-BEVXeROF.js → handlebars-Dc4pj4ST.js} +1 -1
- package/dev/vs/{html-CetHjWIf.js → html-Gx48L-1h.js} +1 -1
- package/dev/vs/{html.worker-B4TnFQEA.js → html.worker-Q3fLApWB.js} +2 -2
- package/dev/vs/{htmlMode-BNKYUVNo.js → htmlMode-C0cIjK2m.js} +1 -1
- package/dev/vs/{index-g_7JbDIY.js → index-BmuewTCy.js} +1 -1
- package/dev/vs/index.js +1 -1
- package/dev/vs/{initialize-Bfvoywyr.js → initialize-J9jkp405.js} +1 -1
- package/dev/vs/{javascript-BEgEU725.js → javascript-D0xbuIYt.js} +1 -1
- package/dev/vs/{json.worker-C2LEGBju.js → json.worker-Byvb_Y0q.js} +2 -2
- package/dev/vs/{jsonMode-CT2UkfFE.js → jsonMode-Dc1J228j.js} +1 -1
- package/dev/vs/language/css/css.worker.js +1 -1
- package/dev/vs/language/css/monaco.contribution.js +1 -1
- package/dev/vs/language/html/html.worker.js +1 -1
- package/dev/vs/language/html/monaco.contribution.js +1 -1
- package/dev/vs/language/json/json.worker.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/language/typescript/ts.worker.js +1 -1
- package/dev/vs/{liquid-D-aiCb1P.js → liquid-BS75ollB.js} +1 -1
- package/dev/vs/{lspLanguageFeatures-CE9Occyu.js → lspLanguageFeatures-9tffJ5tN.js} +1 -1
- package/dev/vs/{mdx-DchJ8pbq.js → mdx-BafRHPZZ.js} +1 -1
- package/dev/vs/{monaco.contribution-CVBrIlxn.js → monaco.contribution-BOrU-t9u.js} +2 -2
- package/dev/vs/{monaco.contribution-CZxuzvA9.js → monaco.contribution-BuTPNIwn.js} +2 -2
- package/dev/vs/{monaco.contribution-Cw4OdERZ.js → monaco.contribution-D_m9AMAg.js} +2 -2
- package/dev/vs/{monaco.contribution-CHqb1dWh.js → monaco.contribution-DhNNHvGu.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-BCOSaCC8.js → python-D-c3bdyL.js} +1 -1
- package/dev/vs/{razor-BM2tZCwj.js → razor-v7al5kd4.js} +1 -1
- package/dev/vs/{toggleHighContrast-CLgtrrIB.js → toggleHighContrast-DkOkzJmE.js} +952 -839
- package/dev/vs/{ts.worker-CArJhH03.js → ts.worker-D8b1uxsf.js} +2 -2
- package/dev/vs/{tsMode-jpkv3SbL.js → tsMode-KTRrMuzt.js} +1 -1
- package/dev/vs/{typescript-f8pt88eA.js → typescript-BSiaiq-E.js} +1 -1
- package/dev/vs/{workers-zrUx_2Gw.js → workers-CRiEObDp.js} +1 -1
- package/dev/vs/{xml-CmSjtiR0.js → xml-CNu5z8S7.js} +1 -1
- package/dev/vs/{yaml-PRriLGdw.js → yaml-3Fy2WUAc.js} +1 -1
- package/esm/vs/base/browser/markdownRenderer.js +0 -1
- package/esm/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/esm/vs/base/browser/ui/tree/abstractTree.js +15 -2
- package/esm/vs/base/common/actions.js +1 -1
- package/esm/vs/base/common/codiconsLibrary.js +2 -0
- package/esm/vs/base/common/errorMessage.js +6 -6
- package/esm/vs/base/common/keybindingLabels.js +20 -20
- package/esm/vs/base/common/network.js +0 -2
- package/esm/vs/base/common/observableInternal/observables/derivedImpl.js +10 -4
- 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/observableCodeEditor.js +41 -0
- package/esm/vs/editor/browser/services/inlineCompletionsService.js +4 -4
- package/esm/vs/editor/browser/services/renameSymbolTrackerService.js +18 -0
- package/esm/vs/editor/browser/view.js +3 -0
- package/esm/vs/editor/browser/viewParts/viewLines/viewLine.js +14 -0
- package/esm/vs/editor/browser/viewParts/viewLines/viewLines.js +7 -0
- package/esm/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +8 -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/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/browser/widget/multiDiffEditor/style.css +2 -41
- package/esm/vs/editor/common/config/editorConfigurationSchema.js +55 -55
- package/esm/vs/editor/common/config/editorOptions.js +410 -410
- package/esm/vs/editor/common/core/editorColorRegistry.js +70 -70
- package/esm/vs/editor/common/editorContextKeys.js +48 -48
- package/esm/vs/editor/common/languages/modesRegistry.js +1 -1
- package/esm/vs/editor/common/languages.js +56 -56
- package/esm/vs/editor/common/model/editStack.js +1 -1
- package/esm/vs/editor/common/standaloneStrings.js +11 -11
- 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 +44 -34
- package/esm/vs/editor/contrib/codeAction/browser/codeActionContributions.js +5 -4
- 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/hoverColorPicker/hoverColorPickerParticipant.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.css +5 -6
- package/esm/vs/editor/contrib/find/browser/findWidget.js +26 -26
- package/esm/vs/editor/contrib/floatingMenu/browser/floatingMenu.css +2 -1
- package/esm/vs/editor/contrib/floatingMenu/browser/floatingMenu.js +55 -47
- 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 +40 -40
- 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/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/renameSymbolProcessor.js +107 -18
- 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 +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.js +3 -3
- 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 -8
- 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 +10 -10
- 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 +9 -9
- package/esm/vs/editor/contrib/suggest/browser/suggestController.js +11 -11
- 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 +3 -3
- package/esm/vs/editor/standalone/browser/services/standaloneWebWorkerService.js +2 -1
- package/esm/vs/editor/standalone/browser/standaloneServices.js +2 -0
- 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/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
- package/esm/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/esm/vs/platform/actionWidget/browser/actionList.js +35 -12
- package/esm/vs/platform/actionWidget/browser/actionWidget.css +10 -0
- package/esm/vs/platform/actionWidget/browser/actionWidget.js +7 -7
- 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 +1 -1
- 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/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 +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 +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/workspace/common/workspace.js +1 -1
- package/min/vs/assets/{css.worker-57ylMqdQ.js → css.worker-vaqto7sr.js} +1 -1
- package/min/vs/assets/{editor.worker-C7rTzOHm.js → editor.worker-BuSZtiLy.js} +1 -1
- package/min/vs/assets/{editorWebWorkerMain-CRWuSSWk.js → editorWebWorkerMain-CcySIMs1.js} +1 -1
- package/min/vs/assets/{html.worker-DUkJXKh4.js → html.worker-tjoOkh5c.js} +29 -29
- package/min/vs/assets/{json.worker-DHFIjIvp.js → json.worker-ChdyNJDo.js} +1 -1
- package/min/vs/assets/{ts.worker-CKcSPjM2.js → ts.worker-2vlHj5mS.js} +1 -1
- package/min/vs/basic-languages/monaco.contribution.js +1 -1
- package/min/vs/css.worker-BZUqk_6e.js +1 -0
- package/min/vs/{cssMode-CheCY05R.js → cssMode-EV9AppWM.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/editor.worker.js +1 -1
- package/min/vs/{editor-DxYWA3-X.js → editor-CWlwBnTd.js} +100 -100
- package/min/vs/editor.js +1 -1
- package/min/vs/{editorWorkerHost-DnKHgOKB.js → editorWorkerHost-BdAdaHF2.js} +2 -2
- package/min/vs/{freemarker2-C7J7V1Hp.js → freemarker2-CVBBrC8k.js} +1 -1
- package/min/vs/{handlebars-DsCar5Ix.js → handlebars-jFcyrSuz.js} +1 -1
- package/min/vs/{html-BGLIaUZV.js → html-IMKtsVBe.js} +1 -1
- package/min/vs/html.worker-BWiqWL_n.js +1 -0
- package/min/vs/{htmlMode-BB6WOoy3.js → htmlMode-GF6ANT1a.js} +1 -1
- package/min/vs/{index-BdR0nSqf.js → index-Duco_ua_.js} +1 -1
- package/min/vs/index.js +1 -1
- package/min/vs/{initialize-BZ6ciHHH.js → initialize-ChT-7fRb.js} +1 -1
- package/min/vs/{javascript-CXE3i1eX.js → javascript-CBNkgHAf.js} +1 -1
- package/min/vs/json.worker-ByICzyV2.js +1 -0
- package/min/vs/{jsonMode-rtaE9alu.js → jsonMode-Dcnh-7Ad.js} +1 -1
- package/min/vs/language/css/css.worker.js +1 -1
- package/min/vs/language/css/monaco.contribution.js +1 -1
- package/min/vs/language/html/html.worker.js +1 -1
- package/min/vs/language/html/monaco.contribution.js +1 -1
- package/min/vs/language/json/json.worker.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/language/typescript/ts.worker.js +1 -1
- package/min/vs/{liquid-CEdn0ovR.js → liquid-_SgSuP3b.js} +1 -1
- package/min/vs/{lspLanguageFeatures-CRAjJmzF.js → lspLanguageFeatures-GNn6MJbu.js} +1 -1
- package/min/vs/{mdx-DLDMIqnu.js → mdx-Erxbe_-t.js} +1 -1
- package/min/vs/{monaco.contribution-C67XgReK.js → monaco.contribution-0dpFCE3L.js} +1 -1
- package/min/vs/{monaco.contribution-DjiQkKLa.js → monaco.contribution-BnqxFPvj.js} +1 -1
- package/min/vs/{monaco.contribution-BrRAk-VA.js → monaco.contribution-BxCvVJFk.js} +1 -1
- package/min/vs/{monaco.contribution-CYT-Sx3l.js → monaco.contribution-CeyPlyhD.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-CKbl_I3e.js → python-DzOjdI_x.js} +1 -1
- package/min/vs/{razor--RjiPxbd.js → razor-Dwx3J3cB.js} +1 -1
- package/min/vs/{toggleHighContrast-BKDMxisH.js → toggleHighContrast-Bg5GLQ5J.js} +32 -32
- package/min/vs/ts.worker-GOUX_DXT.js +1 -0
- package/min/vs/{tsMode-C48d5M22.js → tsMode-DxnLySbu.js} +1 -1
- package/min/vs/{typescript-e7oUhPyX.js → typescript-Blb6Hbmt.js} +1 -1
- package/min/vs/{workers-CtpYUoCo.js → workers-BmNNZ7XJ.js} +1 -1
- package/min/vs/{xml-tOyfgws7.js → xml-VvrpA2Ly.js} +1 -1
- package/min/vs/{yaml-Cmf9NYDf.js → yaml-CsmbXG_T.js} +1 -1
- package/package.json +3 -3
- package/min/vs/css.worker-CkPP9VjP.js +0 -1
- package/min/vs/html.worker-uHOusrcK.js +0 -1
- package/min/vs/json.worker-DGsNKzKv.js +0 -1
- package/min/vs/ts.worker-DyDnfuDL.js +0 -1
|
@@ -18,7 +18,7 @@ class ToggleCollapseUnchangedRegions extends Action2 {
|
|
|
18
18
|
constructor() {
|
|
19
19
|
super({
|
|
20
20
|
id: 'diffEditor.toggleCollapseUnchangedRegions',
|
|
21
|
-
title: localize2(
|
|
21
|
+
title: localize2(87, 'Toggle Collapse Unchanged Regions'),
|
|
22
22
|
icon: Codicon.map,
|
|
23
23
|
toggled: ContextKeyExpr.has('config.diffEditor.hideUnchangedRegions.enabled'),
|
|
24
24
|
precondition: ContextKeyExpr.has('isInDiffEditor'),
|
|
@@ -40,7 +40,7 @@ class ToggleShowMovedCodeBlocks extends Action2 {
|
|
|
40
40
|
constructor() {
|
|
41
41
|
super({
|
|
42
42
|
id: 'diffEditor.toggleShowMovedCodeBlocks',
|
|
43
|
-
title: localize2(
|
|
43
|
+
title: localize2(88, 'Toggle Show Moved Code Blocks'),
|
|
44
44
|
precondition: ContextKeyExpr.has('isInDiffEditor'),
|
|
45
45
|
});
|
|
46
46
|
}
|
|
@@ -54,7 +54,7 @@ class ToggleUseInlineViewWhenSpaceIsLimited extends Action2 {
|
|
|
54
54
|
constructor() {
|
|
55
55
|
super({
|
|
56
56
|
id: 'diffEditor.toggleUseInlineViewWhenSpaceIsLimited',
|
|
57
|
-
title: localize2(
|
|
57
|
+
title: localize2(89, 'Toggle Use Inline View When Space Is Limited'),
|
|
58
58
|
precondition: ContextKeyExpr.has('isInDiffEditor'),
|
|
59
59
|
});
|
|
60
60
|
}
|
|
@@ -64,12 +64,12 @@ class ToggleUseInlineViewWhenSpaceIsLimited extends Action2 {
|
|
|
64
64
|
configurationService.updateValue('diffEditor.useInlineViewWhenSpaceIsLimited', newValue);
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
|
-
const diffEditorCategory = localize2(
|
|
67
|
+
const diffEditorCategory = localize2(90, "Diff Editor");
|
|
68
68
|
class SwitchSide extends EditorAction2 {
|
|
69
69
|
constructor() {
|
|
70
70
|
super({
|
|
71
71
|
id: 'diffEditor.switchSide',
|
|
72
|
-
title: localize2(
|
|
72
|
+
title: localize2(91, 'Switch Side'),
|
|
73
73
|
icon: Codicon.arrowSwap,
|
|
74
74
|
precondition: ContextKeyExpr.has('isInDiffEditor'),
|
|
75
75
|
f1: true,
|
|
@@ -93,7 +93,7 @@ class ExitCompareMove extends EditorAction2 {
|
|
|
93
93
|
constructor() {
|
|
94
94
|
super({
|
|
95
95
|
id: 'diffEditor.exitCompareMove',
|
|
96
|
-
title: localize2(
|
|
96
|
+
title: localize2(92, 'Exit Compare Move'),
|
|
97
97
|
icon: Codicon.close,
|
|
98
98
|
precondition: EditorContextKeys.comparingMovedCode,
|
|
99
99
|
f1: false,
|
|
@@ -115,7 +115,7 @@ class CollapseAllUnchangedRegions extends EditorAction2 {
|
|
|
115
115
|
constructor() {
|
|
116
116
|
super({
|
|
117
117
|
id: 'diffEditor.collapseAllUnchangedRegions',
|
|
118
|
-
title: localize2(
|
|
118
|
+
title: localize2(93, 'Collapse All Unchanged Regions'),
|
|
119
119
|
icon: Codicon.fold,
|
|
120
120
|
precondition: ContextKeyExpr.has('isInDiffEditor'),
|
|
121
121
|
f1: true,
|
|
@@ -133,7 +133,7 @@ class ShowAllUnchangedRegions extends EditorAction2 {
|
|
|
133
133
|
constructor() {
|
|
134
134
|
super({
|
|
135
135
|
id: 'diffEditor.showAllUnchangedRegions',
|
|
136
|
-
title: localize2(
|
|
136
|
+
title: localize2(94, 'Show All Unchanged Regions'),
|
|
137
137
|
icon: Codicon.unfold,
|
|
138
138
|
precondition: ContextKeyExpr.has('isInDiffEditor'),
|
|
139
139
|
f1: true,
|
|
@@ -151,7 +151,7 @@ class RevertHunkOrSelection extends Action2 {
|
|
|
151
151
|
constructor() {
|
|
152
152
|
super({
|
|
153
153
|
id: 'diffEditor.revert',
|
|
154
|
-
title: localize2(
|
|
154
|
+
title: localize2(95, 'Revert'),
|
|
155
155
|
f1: true,
|
|
156
156
|
category: diffEditorCategory,
|
|
157
157
|
precondition: ContextKeyExpr.has('isInDiffEditor'),
|
|
@@ -175,13 +175,13 @@ class RevertHunkOrSelection extends Action2 {
|
|
|
175
175
|
return undefined;
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
|
-
const accessibleDiffViewerCategory = localize2(
|
|
178
|
+
const accessibleDiffViewerCategory = localize2(96, "Accessible Diff Viewer");
|
|
179
179
|
class AccessibleDiffViewerNext extends Action2 {
|
|
180
180
|
static { this.id = 'editor.action.accessibleDiffViewer.next'; }
|
|
181
181
|
constructor() {
|
|
182
182
|
super({
|
|
183
183
|
id: AccessibleDiffViewerNext.id,
|
|
184
|
-
title: localize2(
|
|
184
|
+
title: localize2(97, 'Go to Next Difference'),
|
|
185
185
|
category: accessibleDiffViewerCategory,
|
|
186
186
|
precondition: ContextKeyExpr.has('isInDiffEditor'),
|
|
187
187
|
keybinding: {
|
|
@@ -201,7 +201,7 @@ class AccessibleDiffViewerPrev extends Action2 {
|
|
|
201
201
|
constructor() {
|
|
202
202
|
super({
|
|
203
203
|
id: AccessibleDiffViewerPrev.id,
|
|
204
|
-
title: localize2(
|
|
204
|
+
title: localize2(98, 'Go to Previous Difference'),
|
|
205
205
|
category: accessibleDiffViewerCategory,
|
|
206
206
|
precondition: ContextKeyExpr.has('isInDiffEditor'),
|
|
207
207
|
keybinding: {
|
|
@@ -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
|
}
|
|
@@ -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(114, "Copy deleted lines")
|
|
62
|
+
: localize(115, "Copy deleted line"))
|
|
63
63
|
: (_diff.original.length > 1
|
|
64
|
-
? localize(
|
|
65
|
-
: localize(
|
|
64
|
+
? localize(116, "Copy changed lines")
|
|
65
|
+
: localize(117, "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(118, "Copy deleted line ({0})", _diff.original.startLineNumber + currentLineNumberOffset)
|
|
72
|
+
: localize(119, "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(120, "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(121, "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(122, "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(123, "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(124, "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(125, "Open Accessible Diff Viewer"),
|
|
74
74
|
precondition: ContextKeyExpr.has('isInDiffEditor'),
|
|
75
75
|
},
|
|
76
76
|
order: 10,
|
|
@@ -151,7 +151,7 @@ let HideUnchangedRegionsFeature = class HideUnchangedRegionsFeature extends Disp
|
|
|
151
151
|
const unchangedLinesDecorationShow = {
|
|
152
152
|
description: 'Fold Unchanged',
|
|
153
153
|
glyphMarginHoverMessage: new MarkdownString(undefined, { isTrusted: true, supportThemeIcons: true })
|
|
154
|
-
.appendMarkdown(localize(
|
|
154
|
+
.appendMarkdown(localize(126, 'Fold Unchanged Region')),
|
|
155
155
|
glyphMarginClassName: 'fold-unchanged ' + ThemeIcon.asClassName(Codicon.fold),
|
|
156
156
|
zIndex: 10001,
|
|
157
157
|
};
|
|
@@ -257,7 +257,7 @@ class CompactCollapsedCodeOverlayWidget extends ViewZoneOverlayWidget {
|
|
|
257
257
|
/** @description update labels */
|
|
258
258
|
if (!this._hide) {
|
|
259
259
|
const lineCount = this._unchangedRegion.getHiddenModifiedRange(reader).length;
|
|
260
|
-
const linesHiddenText = localize(
|
|
260
|
+
const linesHiddenText = localize(127, '{0} hidden lines', lineCount);
|
|
261
261
|
this._nodes.text.innerText = linesHiddenText;
|
|
262
262
|
}
|
|
263
263
|
}));
|
|
@@ -275,12 +275,12 @@ class CollapsedCodeOverlayWidget extends ViewZoneOverlayWidget {
|
|
|
275
275
|
this._revealModifiedHiddenLine = _revealModifiedHiddenLine;
|
|
276
276
|
this._options = _options;
|
|
277
277
|
this._nodes = h('div.diff-hidden-lines', [
|
|
278
|
-
h('div.top@top', { title: localize(
|
|
278
|
+
h('div.top@top', { title: localize(128, 'Click or drag to show more above') }),
|
|
279
279
|
h('div.center@content', { style: { display: 'flex' } }, [
|
|
280
|
-
h('div@first', { style: { display: 'flex', justifyContent: 'center', alignItems: 'center', flexShrink: '0' } }, [$('a', { title: localize(
|
|
280
|
+
h('div@first', { style: { display: 'flex', justifyContent: 'center', alignItems: 'center', flexShrink: '0' } }, [$('a', { title: localize(129, 'Show Unchanged Region'), role: 'button', onclick: () => { this._unchangedRegion.showAll(undefined); } }, ...renderLabelWithIcons('$(unfold)'))]),
|
|
281
281
|
h('div@others', { style: { display: 'flex', justifyContent: 'center', alignItems: 'center' } }),
|
|
282
282
|
]),
|
|
283
|
-
h('div.bottom@bottom', { title: localize(
|
|
283
|
+
h('div.bottom@bottom', { title: localize(130, 'Click or drag to show more below'), role: 'button' }),
|
|
284
284
|
]);
|
|
285
285
|
root.root.appendChild(this._nodes.root);
|
|
286
286
|
if (!this._hide) {
|
|
@@ -392,8 +392,8 @@ class CollapsedCodeOverlayWidget extends ViewZoneOverlayWidget {
|
|
|
392
392
|
const children = [];
|
|
393
393
|
if (!this._hide) {
|
|
394
394
|
const lineCount = _unchangedRegion.getHiddenModifiedRange(reader).length;
|
|
395
|
-
const linesHiddenText = localize(
|
|
396
|
-
const span = $('span', { title: localize(
|
|
395
|
+
const linesHiddenText = localize(131, '{0} hidden lines', lineCount);
|
|
396
|
+
const span = $('span', { title: localize(132, 'Double click to unfold') }, linesHiddenText);
|
|
397
397
|
span.addEventListener('dblclick', e => {
|
|
398
398
|
if (e.button !== 0) {
|
|
399
399
|
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(133, 'Code moved with changes to line {0}-{1}', this._move.lineRangeMapping.modified.startLineNumber, this._move.lineRangeMapping.modified.endLineNumberExclusive - 1) : localize(134, '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(135, 'Code moved to line {0}-{1}', this._move.lineRangeMapping.modified.startLineNumber, this._move.lineRangeMapping.modified.endLineNumberExclusive - 1) : localize(136, '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(137, 'Revert Selected Changes')
|
|
102
|
+
: localize(138, '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(139, 'The border color for text that got moved in the diff editor.'));
|
|
23
|
+
registerColor('diffEditor.moveActive.border', '#FFA500', localize(140, '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(141, 'The color of the shadow around unchanged region widgets.'));
|
|
25
|
+
const diffInsertIcon = registerIcon('diff-insert', Codicon.add, localize(142, 'Line decoration for inserts in the diff editor.'));
|
|
26
|
+
const diffRemoveIcon = registerIcon('diff-remove', Codicon.remove, localize(143, '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(144, 'The background color of the diff editor\'s header'));
|
|
19
|
+
registerColor('multiDiffEditor.background', editorBackground, localize(145, 'The background color of the multi file diff editor'));
|
|
20
|
+
registerColor('multiDiffEditor.border', { dark: 'sideBarSectionHeader.border', light: '#cccccc', hcDark: 'sideBarSectionHeader.border', hcLight: '#cccccc', }, localize(146, 'The border color of the multi file diff editor'));
|
|
@@ -142,8 +142,8 @@ let MultiDiffEditorWidgetImpl = class MultiDiffEditorWidgetImpl extends Disposab
|
|
|
142
142
|
}
|
|
143
143
|
const vm = this._viewModel.read(reader);
|
|
144
144
|
return (!vm || vm.isLoading.read(reader))
|
|
145
|
-
? localize(
|
|
146
|
-
: localize(
|
|
145
|
+
? localize(147, 'Loading...')
|
|
146
|
+
: localize(148, 'No Changed Files');
|
|
147
147
|
});
|
|
148
148
|
this._register(autorun((reader) => {
|
|
149
149
|
const message = placeholderMessage.read(reader);
|
|
@@ -36,52 +36,13 @@
|
|
|
36
36
|
|
|
37
37
|
> .multi-diff-root-floating-menu {
|
|
38
38
|
position: absolute;
|
|
39
|
-
right: 32px;
|
|
40
|
-
bottom: 32px;
|
|
41
39
|
top: auto;
|
|
40
|
+
right: 28px;
|
|
41
|
+
bottom: 24px;
|
|
42
42
|
left: auto;
|
|
43
|
-
height: auto;
|
|
44
43
|
width: auto;
|
|
45
|
-
padding: 4px 6px;
|
|
46
|
-
color: var(--vscode-button-foreground);
|
|
47
|
-
background-color: var(--vscode-button-background);
|
|
48
|
-
border-radius: 4px;
|
|
49
|
-
border: 1px solid var(--vscode-contrastBorder);
|
|
50
|
-
display: flex;
|
|
51
|
-
align-items: center;
|
|
52
|
-
z-index: 10;
|
|
53
|
-
box-shadow: 0 3px 12px var(--vscode-widget-shadow);
|
|
54
|
-
overflow: hidden;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.multi-diff-root-floating-menu .action-item > .action-label {
|
|
58
|
-
padding: 7px 8px;
|
|
59
|
-
font-size: 15px;
|
|
60
|
-
border-radius: 2px;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.multi-diff-root-floating-menu .action-item > .action-label.codicon {
|
|
64
|
-
color: var(--vscode-button-foreground);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.multi-diff-root-floating-menu .action-item > .action-label.codicon:not(.separator) {
|
|
68
|
-
padding-top: 6px;
|
|
69
|
-
padding-bottom: 6px;
|
|
70
44
|
}
|
|
71
45
|
|
|
72
|
-
.multi-diff-root-floating-menu .action-item:first-child > .action-label {
|
|
73
|
-
padding-left: 7px;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.multi-diff-root-floating-menu .action-item:last-child > .action-label {
|
|
77
|
-
padding-right: 7px;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.multi-diff-root-floating-menu .action-item .action-label.separator {
|
|
81
|
-
background-color: var(--vscode-button-separator);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
|
|
85
46
|
.active {
|
|
86
47
|
--vscode-multiDiffEditor-border: var(--vscode-focusBorder);
|
|
87
48
|
}
|