monaco-editor-core 0.56.0-dev-20251121 → 0.56.0-dev-20251122
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/esm/nls.keys.json +1 -1
- package/esm/nls.messages.cs.js +2 -2
- package/esm/nls.messages.de.js +2 -2
- package/esm/nls.messages.es.js +2 -2
- package/esm/nls.messages.fr.js +2 -2
- package/esm/nls.messages.it.js +2 -2
- package/esm/nls.messages.ja.js +2 -2
- package/esm/nls.messages.js +1 -1
- package/esm/nls.messages.json +1 -1
- package/esm/nls.messages.ko.js +2 -2
- package/esm/nls.messages.pl.js +2 -2
- package/esm/nls.messages.pt-br.js +2 -2
- package/esm/nls.messages.ru.js +2 -2
- package/esm/nls.messages.tr.js +2 -2
- package/esm/nls.messages.zh-cn.js +2 -2
- package/esm/nls.messages.zh-tw.js +2 -2
- package/esm/nls.metadata.json +2 -0
- package/esm/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/esm/vs/base/browser/ui/list/rowCache.js +1 -4
- package/esm/vs/base/browser/ui/list/rowCache.js.map +1 -1
- package/esm/vs/base/browser/ui/menu/menu.js +14 -12
- package/esm/vs/base/browser/ui/menu/menu.js.map +1 -1
- package/esm/vs/base/common/map.js +8 -5
- package/esm/vs/base/common/map.js.map +1 -1
- package/esm/vs/base/common/observableInternal/observables/derivedImpl.js +1 -4
- package/esm/vs/base/common/observableInternal/observables/derivedImpl.js.map +1 -1
- package/esm/vs/base/common/worker/webWorker.js +10 -7
- package/esm/vs/base/common/worker/webWorker.js.map +1 -1
- package/esm/vs/editor/browser/services/editorWorkerService.js +1 -1
- package/esm/vs/editor/browser/services/editorWorkerService.js.map +1 -1
- package/esm/vs/editor/contrib/find/browser/findWidgetSearchHistory.js.map +1 -1
- package/esm/vs/editor/contrib/find/browser/replaceWidgetHistory.js.map +1 -1
- package/esm/vs/editor/contrib/folding/browser/folding.js.map +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/longDistanceHint/inlineEditsLongDistanceHint.js +29 -16
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/longDistanceHint/inlineEditsLongDistanceHint.js.map +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/longDistanceHint/longDistancePreviewEditor.js +42 -5
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/longDistanceHint/longDistancePreviewEditor.js.map +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/view.css +10 -0
- package/esm/vs/editor/standalone/browser/services/standaloneWebWorkerService.js +1 -1
- package/esm/vs/editor/standalone/browser/services/standaloneWebWorkerService.js.map +1 -1
- package/esm/vs/platform/actionWidget/browser/actionWidget.css +7 -0
- package/esm/vs/platform/hover/browser/hoverService.js +17 -8
- package/esm/vs/platform/hover/browser/hoverService.js.map +1 -1
- package/esm/vs/platform/quickinput/browser/commandsQuickAccess.js +41 -8
- package/esm/vs/platform/quickinput/browser/commandsQuickAccess.js.map +1 -1
- 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/quickInputTreeController.js +8 -0
- package/esm/vs/platform/quickinput/browser/tree/quickInputTreeController.js.map +1 -1
- 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 +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/webWorker/browser/webWorkerDescriptor.js.map +1 -1
- package/esm/vs/platform/workspace/common/workspace.js +1 -1
- package/package.json +2 -2
|
@@ -9,11 +9,11 @@ import { registerColor } from '../colorUtils.js';
|
|
|
9
9
|
import { contrastBorder, activeContrastBorder } from './baseColors.js';
|
|
10
10
|
import { selectForeground, selectBackground } from './inputColors.js';
|
|
11
11
|
import { listActiveSelectionBackground, listActiveSelectionForeground } from './listColors.js';
|
|
12
|
-
export const menuBorder = registerColor('menu.border', { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, nls.localize(
|
|
13
|
-
export const menuForeground = registerColor('menu.foreground', selectForeground, nls.localize(
|
|
14
|
-
export const menuBackground = registerColor('menu.background', selectBackground, nls.localize(
|
|
15
|
-
export const menuSelectionForeground = registerColor('menu.selectionForeground', listActiveSelectionForeground, nls.localize(
|
|
16
|
-
export const menuSelectionBackground = registerColor('menu.selectionBackground', listActiveSelectionBackground, nls.localize(
|
|
17
|
-
export const menuSelectionBorder = registerColor('menu.selectionBorder', { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, nls.localize(
|
|
18
|
-
export const menuSeparatorBackground = registerColor('menu.separatorBackground', { dark: '#606060', light: '#D4D4D4', hcDark: contrastBorder, hcLight: contrastBorder }, nls.localize(
|
|
12
|
+
export const menuBorder = registerColor('menu.border', { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, nls.localize(1984, "Border color of menus."));
|
|
13
|
+
export const menuForeground = registerColor('menu.foreground', selectForeground, nls.localize(1985, "Foreground color of menu items."));
|
|
14
|
+
export const menuBackground = registerColor('menu.background', selectBackground, nls.localize(1986, "Background color of menu items."));
|
|
15
|
+
export const menuSelectionForeground = registerColor('menu.selectionForeground', listActiveSelectionForeground, nls.localize(1987, "Foreground color of the selected menu item in menus."));
|
|
16
|
+
export const menuSelectionBackground = registerColor('menu.selectionBackground', listActiveSelectionBackground, nls.localize(1988, "Background color of the selected menu item in menus."));
|
|
17
|
+
export const menuSelectionBorder = registerColor('menu.selectionBorder', { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, nls.localize(1989, "Border color of the selected menu item in menus."));
|
|
18
|
+
export const menuSeparatorBackground = registerColor('menu.separatorBackground', { dark: '#606060', light: '#D4D4D4', hcDark: contrastBorder, hcLight: contrastBorder }, nls.localize(1990, "Color of a separator menu item in menus."));
|
|
19
19
|
//# sourceMappingURL=menuColors.js.map
|
|
@@ -9,15 +9,15 @@ import { registerColor, transparent } from '../colorUtils.js';
|
|
|
9
9
|
// Import the colors we need
|
|
10
10
|
import { editorInfoForeground, editorWarningForeground, editorWarningBorder, editorInfoBorder } from './editorColors.js';
|
|
11
11
|
import { scrollbarSliderBackground, scrollbarSliderHoverBackground, scrollbarSliderActiveBackground } from './miscColors.js';
|
|
12
|
-
export const minimapFindMatch = registerColor('minimap.findMatchHighlight', { light: '#d18616', dark: '#d18616', hcDark: '#AB5A00', hcLight: '#0F4A85' }, nls.localize(
|
|
13
|
-
export const minimapSelectionOccurrenceHighlight = registerColor('minimap.selectionOccurrenceHighlight', { light: '#c9c9c9', dark: '#676767', hcDark: '#ffffff', hcLight: '#0F4A85' }, nls.localize(
|
|
14
|
-
export const minimapSelection = registerColor('minimap.selectionHighlight', { light: '#ADD6FF', dark: '#264F78', hcDark: '#ffffff', hcLight: '#0F4A85' }, nls.localize(
|
|
15
|
-
export const minimapInfo = registerColor('minimap.infoHighlight', { dark: editorInfoForeground, light: editorInfoForeground, hcDark: editorInfoBorder, hcLight: editorInfoBorder }, nls.localize(
|
|
16
|
-
export const minimapWarning = registerColor('minimap.warningHighlight', { dark: editorWarningForeground, light: editorWarningForeground, hcDark: editorWarningBorder, hcLight: editorWarningBorder }, nls.localize(
|
|
17
|
-
export const minimapError = registerColor('minimap.errorHighlight', { dark: new Color(new RGBA(255, 18, 18, 0.7)), light: new Color(new RGBA(255, 18, 18, 0.7)), hcDark: new Color(new RGBA(255, 50, 50, 1)), hcLight: '#B5200D' }, nls.localize(
|
|
18
|
-
export const minimapBackground = registerColor('minimap.background', null, nls.localize(
|
|
19
|
-
export const minimapForegroundOpacity = registerColor('minimap.foregroundOpacity', Color.fromHex('#000f'), nls.localize(
|
|
20
|
-
export const minimapSliderBackground = registerColor('minimapSlider.background', transparent(scrollbarSliderBackground, 0.5), nls.localize(
|
|
21
|
-
export const minimapSliderHoverBackground = registerColor('minimapSlider.hoverBackground', transparent(scrollbarSliderHoverBackground, 0.5), nls.localize(
|
|
22
|
-
export const minimapSliderActiveBackground = registerColor('minimapSlider.activeBackground', transparent(scrollbarSliderActiveBackground, 0.5), nls.localize(
|
|
12
|
+
export const minimapFindMatch = registerColor('minimap.findMatchHighlight', { light: '#d18616', dark: '#d18616', hcDark: '#AB5A00', hcLight: '#0F4A85' }, nls.localize(1991, 'Minimap marker color for find matches.'), true);
|
|
13
|
+
export const minimapSelectionOccurrenceHighlight = registerColor('minimap.selectionOccurrenceHighlight', { light: '#c9c9c9', dark: '#676767', hcDark: '#ffffff', hcLight: '#0F4A85' }, nls.localize(1992, 'Minimap marker color for repeating editor selections.'), true);
|
|
14
|
+
export const minimapSelection = registerColor('minimap.selectionHighlight', { light: '#ADD6FF', dark: '#264F78', hcDark: '#ffffff', hcLight: '#0F4A85' }, nls.localize(1993, 'Minimap marker color for the editor selection.'), true);
|
|
15
|
+
export const minimapInfo = registerColor('minimap.infoHighlight', { dark: editorInfoForeground, light: editorInfoForeground, hcDark: editorInfoBorder, hcLight: editorInfoBorder }, nls.localize(1994, 'Minimap marker color for infos.'));
|
|
16
|
+
export const minimapWarning = registerColor('minimap.warningHighlight', { dark: editorWarningForeground, light: editorWarningForeground, hcDark: editorWarningBorder, hcLight: editorWarningBorder }, nls.localize(1995, 'Minimap marker color for warnings.'));
|
|
17
|
+
export const minimapError = registerColor('minimap.errorHighlight', { dark: new Color(new RGBA(255, 18, 18, 0.7)), light: new Color(new RGBA(255, 18, 18, 0.7)), hcDark: new Color(new RGBA(255, 50, 50, 1)), hcLight: '#B5200D' }, nls.localize(1996, 'Minimap marker color for errors.'));
|
|
18
|
+
export const minimapBackground = registerColor('minimap.background', null, nls.localize(1997, "Minimap background color."));
|
|
19
|
+
export const minimapForegroundOpacity = registerColor('minimap.foregroundOpacity', Color.fromHex('#000f'), nls.localize(1998, 'Opacity of foreground elements rendered in the minimap. For example, "#000000c0" will render the elements with 75% opacity.'));
|
|
20
|
+
export const minimapSliderBackground = registerColor('minimapSlider.background', transparent(scrollbarSliderBackground, 0.5), nls.localize(1999, "Minimap slider background color."));
|
|
21
|
+
export const minimapSliderHoverBackground = registerColor('minimapSlider.hoverBackground', transparent(scrollbarSliderHoverBackground, 0.5), nls.localize(2000, "Minimap slider background color when hovering."));
|
|
22
|
+
export const minimapSliderActiveBackground = registerColor('minimapSlider.activeBackground', transparent(scrollbarSliderActiveBackground, 0.5), nls.localize(2001, "Minimap slider background color when clicked on."));
|
|
23
23
|
//# sourceMappingURL=minimapColors.js.map
|
|
@@ -9,24 +9,24 @@ import { registerColor, transparent } from '../colorUtils.js';
|
|
|
9
9
|
// Import the colors we need
|
|
10
10
|
import { contrastBorder, focusBorder } from './baseColors.js';
|
|
11
11
|
// ----- sash
|
|
12
|
-
export const sashHoverBorder = registerColor('sash.hoverBorder', focusBorder, nls.localize(
|
|
12
|
+
export const sashHoverBorder = registerColor('sash.hoverBorder', focusBorder, nls.localize(2002, "Border color of active sashes."));
|
|
13
13
|
// ----- badge
|
|
14
|
-
export const badgeBackground = registerColor('badge.background', { dark: '#4D4D4D', light: '#C4C4C4', hcDark: Color.black, hcLight: '#0F4A85' }, nls.localize(
|
|
15
|
-
export const badgeForeground = registerColor('badge.foreground', { dark: Color.white, light: '#333', hcDark: Color.white, hcLight: Color.white }, nls.localize(
|
|
16
|
-
export const activityWarningBadgeForeground = registerColor('activityWarningBadge.foreground', { dark: Color.white, light: Color.white, hcDark: Color.white, hcLight: Color.white }, nls.localize(
|
|
17
|
-
export const activityWarningBadgeBackground = registerColor('activityWarningBadge.background', { dark: '#B27C00', light: '#B27C00', hcDark: null, hcLight: '#B27C00' }, nls.localize(
|
|
18
|
-
export const activityErrorBadgeForeground = registerColor('activityErrorBadge.foreground', { dark: Color.black.lighten(0.2), light: Color.white, hcDark: null, hcLight: Color.black.lighten(0.2) }, nls.localize(
|
|
19
|
-
export const activityErrorBadgeBackground = registerColor('activityErrorBadge.background', { dark: '#F14C4C', light: '#E51400', hcDark: null, hcLight: '#F14C4C' }, nls.localize(
|
|
14
|
+
export const badgeBackground = registerColor('badge.background', { dark: '#4D4D4D', light: '#C4C4C4', hcDark: Color.black, hcLight: '#0F4A85' }, nls.localize(2003, "Badge background color. Badges are small information labels, e.g. for search results count."));
|
|
15
|
+
export const badgeForeground = registerColor('badge.foreground', { dark: Color.white, light: '#333', hcDark: Color.white, hcLight: Color.white }, nls.localize(2004, "Badge foreground color. Badges are small information labels, e.g. for search results count."));
|
|
16
|
+
export const activityWarningBadgeForeground = registerColor('activityWarningBadge.foreground', { dark: Color.white, light: Color.white, hcDark: Color.white, hcLight: Color.white }, nls.localize(2005, 'Foreground color of the warning activity badge'));
|
|
17
|
+
export const activityWarningBadgeBackground = registerColor('activityWarningBadge.background', { dark: '#B27C00', light: '#B27C00', hcDark: null, hcLight: '#B27C00' }, nls.localize(2006, 'Background color of the warning activity badge'));
|
|
18
|
+
export const activityErrorBadgeForeground = registerColor('activityErrorBadge.foreground', { dark: Color.black.lighten(0.2), light: Color.white, hcDark: null, hcLight: Color.black.lighten(0.2) }, nls.localize(2007, 'Foreground color of the error activity badge'));
|
|
19
|
+
export const activityErrorBadgeBackground = registerColor('activityErrorBadge.background', { dark: '#F14C4C', light: '#E51400', hcDark: null, hcLight: '#F14C4C' }, nls.localize(2008, 'Background color of the error activity badge'));
|
|
20
20
|
// ----- scrollbar
|
|
21
|
-
export const scrollbarShadow = registerColor('scrollbar.shadow', { dark: '#000000', light: '#DDDDDD', hcDark: null, hcLight: null }, nls.localize(
|
|
22
|
-
export const scrollbarSliderBackground = registerColor('scrollbarSlider.background', { dark: Color.fromHex('#797979').transparent(0.4), light: Color.fromHex('#646464').transparent(0.4), hcDark: transparent(contrastBorder, 0.6), hcLight: transparent(contrastBorder, 0.4) }, nls.localize(
|
|
23
|
-
export const scrollbarSliderHoverBackground = registerColor('scrollbarSlider.hoverBackground', { dark: Color.fromHex('#646464').transparent(0.7), light: Color.fromHex('#646464').transparent(0.7), hcDark: transparent(contrastBorder, 0.8), hcLight: transparent(contrastBorder, 0.8) }, nls.localize(
|
|
24
|
-
export const scrollbarSliderActiveBackground = registerColor('scrollbarSlider.activeBackground', { dark: Color.fromHex('#BFBFBF').transparent(0.4), light: Color.fromHex('#000000').transparent(0.6), hcDark: contrastBorder, hcLight: contrastBorder }, nls.localize(
|
|
25
|
-
export const scrollbarBackground = registerColor('scrollbar.background', null, nls.localize(
|
|
21
|
+
export const scrollbarShadow = registerColor('scrollbar.shadow', { dark: '#000000', light: '#DDDDDD', hcDark: null, hcLight: null }, nls.localize(2009, "Scrollbar shadow to indicate that the view is scrolled."));
|
|
22
|
+
export const scrollbarSliderBackground = registerColor('scrollbarSlider.background', { dark: Color.fromHex('#797979').transparent(0.4), light: Color.fromHex('#646464').transparent(0.4), hcDark: transparent(contrastBorder, 0.6), hcLight: transparent(contrastBorder, 0.4) }, nls.localize(2010, "Scrollbar slider background color."));
|
|
23
|
+
export const scrollbarSliderHoverBackground = registerColor('scrollbarSlider.hoverBackground', { dark: Color.fromHex('#646464').transparent(0.7), light: Color.fromHex('#646464').transparent(0.7), hcDark: transparent(contrastBorder, 0.8), hcLight: transparent(contrastBorder, 0.8) }, nls.localize(2011, "Scrollbar slider background color when hovering."));
|
|
24
|
+
export const scrollbarSliderActiveBackground = registerColor('scrollbarSlider.activeBackground', { dark: Color.fromHex('#BFBFBF').transparent(0.4), light: Color.fromHex('#000000').transparent(0.6), hcDark: contrastBorder, hcLight: contrastBorder }, nls.localize(2012, "Scrollbar slider background color when clicked on."));
|
|
25
|
+
export const scrollbarBackground = registerColor('scrollbar.background', null, nls.localize(2013, "Scrollbar track background color."));
|
|
26
26
|
// ----- progress bar
|
|
27
|
-
export const progressBarBackground = registerColor('progressBar.background', { dark: Color.fromHex('#0E70C0'), light: Color.fromHex('#0E70C0'), hcDark: contrastBorder, hcLight: contrastBorder }, nls.localize(
|
|
27
|
+
export const progressBarBackground = registerColor('progressBar.background', { dark: Color.fromHex('#0E70C0'), light: Color.fromHex('#0E70C0'), hcDark: contrastBorder, hcLight: contrastBorder }, nls.localize(2014, "Background color of the progress bar that can show for long running operations."));
|
|
28
28
|
// ----- chart
|
|
29
|
-
export const chartLine = registerColor('chart.line', { dark: '#236B8E', light: '#236B8E', hcDark: '#236B8E', hcLight: '#236B8E' }, nls.localize(
|
|
30
|
-
export const chartAxis = registerColor('chart.axis', { dark: Color.fromHex('#BFBFBF').transparent(0.4), light: Color.fromHex('#000000').transparent(0.6), hcDark: contrastBorder, hcLight: contrastBorder }, nls.localize(
|
|
31
|
-
export const chartGuide = registerColor('chart.guide', { dark: Color.fromHex('#BFBFBF').transparent(0.2), light: Color.fromHex('#000000').transparent(0.2), hcDark: contrastBorder, hcLight: contrastBorder }, nls.localize(
|
|
29
|
+
export const chartLine = registerColor('chart.line', { dark: '#236B8E', light: '#236B8E', hcDark: '#236B8E', hcLight: '#236B8E' }, nls.localize(2015, "Line color for the chart."));
|
|
30
|
+
export const chartAxis = registerColor('chart.axis', { dark: Color.fromHex('#BFBFBF').transparent(0.4), light: Color.fromHex('#000000').transparent(0.6), hcDark: contrastBorder, hcLight: contrastBorder }, nls.localize(2016, "Axis color for the chart."));
|
|
31
|
+
export const chartGuide = registerColor('chart.guide', { dark: Color.fromHex('#BFBFBF').transparent(0.2), light: Color.fromHex('#000000').transparent(0.2), hcDark: contrastBorder, hcLight: contrastBorder }, nls.localize(2017, "Guide line for the chart."));
|
|
32
32
|
//# sourceMappingURL=miscColors.js.map
|
|
@@ -9,13 +9,13 @@ import { registerColor, oneOf } from '../colorUtils.js';
|
|
|
9
9
|
// Import the colors we need
|
|
10
10
|
import { editorWidgetBackground, editorWidgetForeground } from './editorColors.js';
|
|
11
11
|
import { listActiveSelectionBackground, listActiveSelectionForeground, listActiveSelectionIconForeground } from './listColors.js';
|
|
12
|
-
export const quickInputBackground = registerColor('quickInput.background', editorWidgetBackground, nls.localize(
|
|
13
|
-
export const quickInputForeground = registerColor('quickInput.foreground', editorWidgetForeground, nls.localize(
|
|
14
|
-
export const quickInputTitleBackground = registerColor('quickInputTitle.background', { dark: new Color(new RGBA(255, 255, 255, 0.105)), light: new Color(new RGBA(0, 0, 0, 0.06)), hcDark: '#000000', hcLight: Color.white }, nls.localize(
|
|
15
|
-
export const pickerGroupForeground = registerColor('pickerGroup.foreground', { dark: '#3794FF', light: '#0066BF', hcDark: Color.white, hcLight: '#0F4A85' }, nls.localize(
|
|
16
|
-
export const pickerGroupBorder = registerColor('pickerGroup.border', { dark: '#3F3F46', light: '#CCCEDB', hcDark: Color.white, hcLight: '#0F4A85' }, nls.localize(
|
|
17
|
-
export const _deprecatedQuickInputListFocusBackground = registerColor('quickInput.list.focusBackground', null, '', undefined, nls.localize(
|
|
18
|
-
export const quickInputListFocusForeground = registerColor('quickInputList.focusForeground', listActiveSelectionForeground, nls.localize(
|
|
19
|
-
export const quickInputListFocusIconForeground = registerColor('quickInputList.focusIconForeground', listActiveSelectionIconForeground, nls.localize(
|
|
20
|
-
export const quickInputListFocusBackground = registerColor('quickInputList.focusBackground', { dark: oneOf(_deprecatedQuickInputListFocusBackground, listActiveSelectionBackground), light: oneOf(_deprecatedQuickInputListFocusBackground, listActiveSelectionBackground), hcDark: null, hcLight: null }, nls.localize(
|
|
12
|
+
export const quickInputBackground = registerColor('quickInput.background', editorWidgetBackground, nls.localize(2018, "Quick picker background color. The quick picker widget is the container for pickers like the command palette."));
|
|
13
|
+
export const quickInputForeground = registerColor('quickInput.foreground', editorWidgetForeground, nls.localize(2019, "Quick picker foreground color. The quick picker widget is the container for pickers like the command palette."));
|
|
14
|
+
export const quickInputTitleBackground = registerColor('quickInputTitle.background', { dark: new Color(new RGBA(255, 255, 255, 0.105)), light: new Color(new RGBA(0, 0, 0, 0.06)), hcDark: '#000000', hcLight: Color.white }, nls.localize(2020, "Quick picker title background color. The quick picker widget is the container for pickers like the command palette."));
|
|
15
|
+
export const pickerGroupForeground = registerColor('pickerGroup.foreground', { dark: '#3794FF', light: '#0066BF', hcDark: Color.white, hcLight: '#0F4A85' }, nls.localize(2021, "Quick picker color for grouping labels."));
|
|
16
|
+
export const pickerGroupBorder = registerColor('pickerGroup.border', { dark: '#3F3F46', light: '#CCCEDB', hcDark: Color.white, hcLight: '#0F4A85' }, nls.localize(2022, "Quick picker color for grouping borders."));
|
|
17
|
+
export const _deprecatedQuickInputListFocusBackground = registerColor('quickInput.list.focusBackground', null, '', undefined, nls.localize(2023, "Please use quickInputList.focusBackground instead"));
|
|
18
|
+
export const quickInputListFocusForeground = registerColor('quickInputList.focusForeground', listActiveSelectionForeground, nls.localize(2024, "Quick picker foreground color for the focused item."));
|
|
19
|
+
export const quickInputListFocusIconForeground = registerColor('quickInputList.focusIconForeground', listActiveSelectionIconForeground, nls.localize(2025, "Quick picker icon foreground color for the focused item."));
|
|
20
|
+
export const quickInputListFocusBackground = registerColor('quickInputList.focusBackground', { dark: oneOf(_deprecatedQuickInputListFocusBackground, listActiveSelectionBackground), light: oneOf(_deprecatedQuickInputListFocusBackground, listActiveSelectionBackground), hcDark: null, hcLight: null }, nls.localize(2026, "Quick picker background color for the focused item."));
|
|
21
21
|
//# sourceMappingURL=quickpickColors.js.map
|
|
@@ -8,8 +8,8 @@ import { registerColor, transparent } from '../colorUtils.js';
|
|
|
8
8
|
// Import the colors we need
|
|
9
9
|
import { foreground } from './baseColors.js';
|
|
10
10
|
import { editorFindMatchHighlight, editorFindMatchHighlightBorder } from './editorColors.js';
|
|
11
|
-
export const searchResultsInfoForeground = registerColor('search.resultsInfoForeground', { light: foreground, dark: transparent(foreground, 0.65), hcDark: foreground, hcLight: foreground }, nls.localize(
|
|
11
|
+
export const searchResultsInfoForeground = registerColor('search.resultsInfoForeground', { light: foreground, dark: transparent(foreground, 0.65), hcDark: foreground, hcLight: foreground }, nls.localize(2027, "Color of the text in the search viewlet's completion message."));
|
|
12
12
|
// ----- search editor (Distinct from normal editor find match to allow for better differentiation)
|
|
13
|
-
export const searchEditorFindMatch = registerColor('searchEditor.findMatchBackground', { light: transparent(editorFindMatchHighlight, 0.66), dark: transparent(editorFindMatchHighlight, 0.66), hcDark: editorFindMatchHighlight, hcLight: editorFindMatchHighlight }, nls.localize(
|
|
14
|
-
export const searchEditorFindMatchBorder = registerColor('searchEditor.findMatchBorder', { light: transparent(editorFindMatchHighlightBorder, 0.66), dark: transparent(editorFindMatchHighlightBorder, 0.66), hcDark: editorFindMatchHighlightBorder, hcLight: editorFindMatchHighlightBorder }, nls.localize(
|
|
13
|
+
export const searchEditorFindMatch = registerColor('searchEditor.findMatchBackground', { light: transparent(editorFindMatchHighlight, 0.66), dark: transparent(editorFindMatchHighlight, 0.66), hcDark: editorFindMatchHighlight, hcLight: editorFindMatchHighlight }, nls.localize(2028, "Color of the Search Editor query matches."));
|
|
14
|
+
export const searchEditorFindMatchBorder = registerColor('searchEditor.findMatchBorder', { light: transparent(editorFindMatchHighlightBorder, 0.66), dark: transparent(editorFindMatchHighlightBorder, 0.66), hcDark: editorFindMatchHighlightBorder, hcLight: editorFindMatchHighlightBorder }, nls.localize(2029, "Border color of the Search Editor query matches."));
|
|
15
15
|
//# sourceMappingURL=searchColors.js.map
|
|
@@ -58,7 +58,7 @@ export var IconFontDefinition;
|
|
|
58
58
|
})(IconFontDefinition || (IconFontDefinition = {}));
|
|
59
59
|
// regexes for validation of font properties
|
|
60
60
|
export const fontIdRegex = /^([\w_-]+)$/;
|
|
61
|
-
export const fontIdErrorMessage = localize(
|
|
61
|
+
export const fontIdErrorMessage = localize(2032, 'The font ID must only contain letters, numbers, underscores and dashes.');
|
|
62
62
|
class IconRegistry extends Disposable {
|
|
63
63
|
constructor() {
|
|
64
64
|
super();
|
|
@@ -69,8 +69,8 @@ class IconRegistry extends Disposable {
|
|
|
69
69
|
icons: {
|
|
70
70
|
type: 'object',
|
|
71
71
|
properties: {
|
|
72
|
-
fontId: { type: 'string', description: localize(
|
|
73
|
-
fontCharacter: { type: 'string', description: localize(
|
|
72
|
+
fontId: { type: 'string', description: localize(2033, 'The id of the font to use. If not set, the font that is defined first is used.'), pattern: fontIdRegex.source, patternErrorMessage: fontIdErrorMessage },
|
|
73
|
+
fontCharacter: { type: 'string', description: localize(2034, 'The font character associated with the icon definition.') }
|
|
74
74
|
},
|
|
75
75
|
additionalProperties: false,
|
|
76
76
|
defaultSnippets: [{ body: { fontCharacter: '\\\\e030' } }]
|
|
@@ -173,9 +173,9 @@ iconRegistry.onDidChange(() => {
|
|
|
173
173
|
});
|
|
174
174
|
//setTimeout(_ => console.log(iconRegistry.toString()), 5000);
|
|
175
175
|
// common icons
|
|
176
|
-
export const widgetClose = registerIcon('widget-close', Codicon.close, localize(
|
|
177
|
-
export const gotoPreviousLocation = registerIcon('goto-previous-location', Codicon.arrowUp, localize(
|
|
178
|
-
export const gotoNextLocation = registerIcon('goto-next-location', Codicon.arrowDown, localize(
|
|
176
|
+
export const widgetClose = registerIcon('widget-close', Codicon.close, localize(2035, 'Icon for the close action in widgets.'));
|
|
177
|
+
export const gotoPreviousLocation = registerIcon('goto-previous-location', Codicon.arrowUp, localize(2036, 'Icon for goto previous editor location.'));
|
|
178
|
+
export const gotoNextLocation = registerIcon('goto-next-location', Codicon.arrowDown, localize(2037, 'Icon for goto next editor location.'));
|
|
179
179
|
export const syncing = ThemeIcon.modify(Codicon.sync, 'spin');
|
|
180
180
|
export const spinningLoading = ThemeIcon.modify(Codicon.loading, 'spin');
|
|
181
181
|
//# sourceMappingURL=iconRegistry.js.map
|
|
@@ -70,10 +70,10 @@ class RemovedResources {
|
|
|
70
70
|
}
|
|
71
71
|
const messages = [];
|
|
72
72
|
if (externalRemoval.length > 0) {
|
|
73
|
-
messages.push(nls.localize(
|
|
73
|
+
messages.push(nls.localize(2038, "The following files have been closed and modified on disk: {0}.", externalRemoval.join(', ')));
|
|
74
74
|
}
|
|
75
75
|
if (noParallelUniverses.length > 0) {
|
|
76
|
-
messages.push(nls.localize(
|
|
76
|
+
messages.push(nls.localize(2039, "The following files have been modified in an incompatible way: {0}.", noParallelUniverses.join(', ')));
|
|
77
77
|
}
|
|
78
78
|
return messages.join('\n');
|
|
79
79
|
}
|
|
@@ -657,10 +657,10 @@ let UndoRedoService = class UndoRedoService {
|
|
|
657
657
|
}
|
|
658
658
|
_checkWorkspaceUndo(strResource, element, editStackSnapshot, checkInvalidatedResources) {
|
|
659
659
|
if (element.removedResources) {
|
|
660
|
-
return this._tryToSplitAndUndo(strResource, element, element.removedResources, nls.localize(
|
|
660
|
+
return this._tryToSplitAndUndo(strResource, element, element.removedResources, nls.localize(2040, "Could not undo '{0}' across all files. {1}", element.label, element.removedResources.createMessage()));
|
|
661
661
|
}
|
|
662
662
|
if (checkInvalidatedResources && element.invalidatedResources) {
|
|
663
|
-
return this._tryToSplitAndUndo(strResource, element, element.invalidatedResources, nls.localize(
|
|
663
|
+
return this._tryToSplitAndUndo(strResource, element, element.invalidatedResources, nls.localize(2041, "Could not undo '{0}' across all files. {1}", element.label, element.invalidatedResources.createMessage()));
|
|
664
664
|
}
|
|
665
665
|
// this must be the last past element in all the impacted resources!
|
|
666
666
|
const cannotUndoDueToResources = [];
|
|
@@ -670,7 +670,7 @@ let UndoRedoService = class UndoRedoService {
|
|
|
670
670
|
}
|
|
671
671
|
}
|
|
672
672
|
if (cannotUndoDueToResources.length > 0) {
|
|
673
|
-
return this._tryToSplitAndUndo(strResource, element, null, nls.localize(
|
|
673
|
+
return this._tryToSplitAndUndo(strResource, element, null, nls.localize(2042, "Could not undo '{0}' across all files because changes were made to {1}", element.label, cannotUndoDueToResources.join(', ')));
|
|
674
674
|
}
|
|
675
675
|
const cannotLockDueToResources = [];
|
|
676
676
|
for (const editStack of editStackSnapshot.editStacks) {
|
|
@@ -679,11 +679,11 @@ let UndoRedoService = class UndoRedoService {
|
|
|
679
679
|
}
|
|
680
680
|
}
|
|
681
681
|
if (cannotLockDueToResources.length > 0) {
|
|
682
|
-
return this._tryToSplitAndUndo(strResource, element, null, nls.localize(
|
|
682
|
+
return this._tryToSplitAndUndo(strResource, element, null, nls.localize(2043, "Could not undo '{0}' across all files because there is already an undo or redo operation running on {1}", element.label, cannotLockDueToResources.join(', ')));
|
|
683
683
|
}
|
|
684
684
|
// check if new stack elements were added in the meantime...
|
|
685
685
|
if (!editStackSnapshot.isValid()) {
|
|
686
|
-
return this._tryToSplitAndUndo(strResource, element, null, nls.localize(
|
|
686
|
+
return this._tryToSplitAndUndo(strResource, element, null, nls.localize(2044, "Could not undo '{0}' across all files because an undo or redo operation occurred in the meantime", element.label));
|
|
687
687
|
}
|
|
688
688
|
return null;
|
|
689
689
|
}
|
|
@@ -730,14 +730,14 @@ let UndoRedoService = class UndoRedoService {
|
|
|
730
730
|
})(UndoChoice || (UndoChoice = {}));
|
|
731
731
|
const { result } = await this._dialogService.prompt({
|
|
732
732
|
type: Severity.Info,
|
|
733
|
-
message: nls.localize(
|
|
733
|
+
message: nls.localize(2045, "Would you like to undo '{0}' across all files?", element.label),
|
|
734
734
|
buttons: [
|
|
735
735
|
{
|
|
736
|
-
label: nls.localize(
|
|
736
|
+
label: nls.localize(2046, "&&Undo in {0} Files", editStackSnapshot.editStacks.length),
|
|
737
737
|
run: () => UndoChoice.All
|
|
738
738
|
},
|
|
739
739
|
{
|
|
740
|
-
label: nls.localize(
|
|
740
|
+
label: nls.localize(2047, "Undo this &&File"),
|
|
741
741
|
run: () => UndoChoice.This
|
|
742
742
|
}
|
|
743
743
|
],
|
|
@@ -788,7 +788,7 @@ let UndoRedoService = class UndoRedoService {
|
|
|
788
788
|
return;
|
|
789
789
|
}
|
|
790
790
|
if (editStack.locked) {
|
|
791
|
-
const message = nls.localize(
|
|
791
|
+
const message = nls.localize(2048, "Could not undo '{0}' because there is already an undo or redo operation running.", element.label);
|
|
792
792
|
this._notificationService.warn(message);
|
|
793
793
|
return;
|
|
794
794
|
}
|
|
@@ -875,9 +875,9 @@ let UndoRedoService = class UndoRedoService {
|
|
|
875
875
|
}
|
|
876
876
|
async _confirmAndContinueUndo(strResource, sourceId, element) {
|
|
877
877
|
const result = await this._dialogService.confirm({
|
|
878
|
-
message: nls.localize(
|
|
879
|
-
primaryButton: nls.localize(
|
|
880
|
-
cancelButton: nls.localize(
|
|
878
|
+
message: nls.localize(2049, "Would you like to undo '{0}'?", element.label),
|
|
879
|
+
primaryButton: nls.localize(2050, "&&Yes"),
|
|
880
|
+
cancelButton: nls.localize(2051, "No")
|
|
881
881
|
});
|
|
882
882
|
if (!result.confirmed) {
|
|
883
883
|
return;
|
|
@@ -934,10 +934,10 @@ let UndoRedoService = class UndoRedoService {
|
|
|
934
934
|
}
|
|
935
935
|
_checkWorkspaceRedo(strResource, element, editStackSnapshot, checkInvalidatedResources) {
|
|
936
936
|
if (element.removedResources) {
|
|
937
|
-
return this._tryToSplitAndRedo(strResource, element, element.removedResources, nls.localize(
|
|
937
|
+
return this._tryToSplitAndRedo(strResource, element, element.removedResources, nls.localize(2052, "Could not redo '{0}' across all files. {1}", element.label, element.removedResources.createMessage()));
|
|
938
938
|
}
|
|
939
939
|
if (checkInvalidatedResources && element.invalidatedResources) {
|
|
940
|
-
return this._tryToSplitAndRedo(strResource, element, element.invalidatedResources, nls.localize(
|
|
940
|
+
return this._tryToSplitAndRedo(strResource, element, element.invalidatedResources, nls.localize(2053, "Could not redo '{0}' across all files. {1}", element.label, element.invalidatedResources.createMessage()));
|
|
941
941
|
}
|
|
942
942
|
// this must be the last future element in all the impacted resources!
|
|
943
943
|
const cannotRedoDueToResources = [];
|
|
@@ -947,7 +947,7 @@ let UndoRedoService = class UndoRedoService {
|
|
|
947
947
|
}
|
|
948
948
|
}
|
|
949
949
|
if (cannotRedoDueToResources.length > 0) {
|
|
950
|
-
return this._tryToSplitAndRedo(strResource, element, null, nls.localize(
|
|
950
|
+
return this._tryToSplitAndRedo(strResource, element, null, nls.localize(2054, "Could not redo '{0}' across all files because changes were made to {1}", element.label, cannotRedoDueToResources.join(', ')));
|
|
951
951
|
}
|
|
952
952
|
const cannotLockDueToResources = [];
|
|
953
953
|
for (const editStack of editStackSnapshot.editStacks) {
|
|
@@ -956,11 +956,11 @@ let UndoRedoService = class UndoRedoService {
|
|
|
956
956
|
}
|
|
957
957
|
}
|
|
958
958
|
if (cannotLockDueToResources.length > 0) {
|
|
959
|
-
return this._tryToSplitAndRedo(strResource, element, null, nls.localize(
|
|
959
|
+
return this._tryToSplitAndRedo(strResource, element, null, nls.localize(2055, "Could not redo '{0}' across all files because there is already an undo or redo operation running on {1}", element.label, cannotLockDueToResources.join(', ')));
|
|
960
960
|
}
|
|
961
961
|
// check if new stack elements were added in the meantime...
|
|
962
962
|
if (!editStackSnapshot.isValid()) {
|
|
963
|
-
return this._tryToSplitAndRedo(strResource, element, null, nls.localize(
|
|
963
|
+
return this._tryToSplitAndRedo(strResource, element, null, nls.localize(2056, "Could not redo '{0}' across all files because an undo or redo operation occurred in the meantime", element.label));
|
|
964
964
|
}
|
|
965
965
|
return null;
|
|
966
966
|
}
|
|
@@ -999,7 +999,7 @@ let UndoRedoService = class UndoRedoService {
|
|
|
999
999
|
return;
|
|
1000
1000
|
}
|
|
1001
1001
|
if (editStack.locked) {
|
|
1002
|
-
const message = nls.localize(
|
|
1002
|
+
const message = nls.localize(2057, "Could not redo '{0}' because there is already an undo or redo operation running.", element.label);
|
|
1003
1003
|
this._notificationService.warn(message);
|
|
1004
1004
|
return;
|
|
1005
1005
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["file:///mnt/vss/_work/1/s/dependencies/vscode/out-editor-src/vs/platform/webWorker/browser/webWorkerDescriptor.ts","vs/platform/webWorker/browser/webWorkerDescriptor.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAIhG,MAAM,OAAO,mBAAmB;IAK/B,YAAY,IAMX;QACA,IAAI,CAAC,iBAAiB,GAAG,IAAI,CAAC,iBAAiB,CAAC;QAChD,IAAI,CAAC,wBAAwB,GAAG,IAAI,CAAC,wBAAwB,CAAC;QAC9D,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;IACzB,CAAC;CACD","file":"webWorkerDescriptor.js","sourceRoot":"file:///mnt/vss/_work/1/s/dependencies/vscode/out-editor-src","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\nimport { URI } from '../../../base/common/uri.js';\n\nexport class WebWorkerDescriptor {\n\tpublic readonly esmModuleLocation: URI | (() => URI) | undefined;\n\tpublic readonly esmModuleLocationBundler: URL | (() => URL) | undefined;\n\tpublic readonly label: string;\n\n\tconstructor(args: {\n\t\t/** The location of the esm module after transpilation */\n\t\tesmModuleLocation?: URI | (() => URI);\n\t\t/** The location of the esm module when used in a bundler environment. Refer to the typescript file in the src folder and use `?
|
|
1
|
+
{"version":3,"sources":["file:///mnt/vss/_work/1/s/dependencies/vscode/out-editor-src/vs/platform/webWorker/browser/webWorkerDescriptor.ts","vs/platform/webWorker/browser/webWorkerDescriptor.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAIhG,MAAM,OAAO,mBAAmB;IAK/B,YAAY,IAMX;QACA,IAAI,CAAC,iBAAiB,GAAG,IAAI,CAAC,iBAAiB,CAAC;QAChD,IAAI,CAAC,wBAAwB,GAAG,IAAI,CAAC,wBAAwB,CAAC;QAC9D,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;IACzB,CAAC;CACD","file":"webWorkerDescriptor.js","sourceRoot":"file:///mnt/vss/_work/1/s/dependencies/vscode/out-editor-src","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\nimport { URI } from '../../../base/common/uri.js';\n\nexport class WebWorkerDescriptor {\n\tpublic readonly esmModuleLocation: URI | (() => URI) | undefined;\n\tpublic readonly esmModuleLocationBundler: URL | (() => URL) | undefined;\n\tpublic readonly label: string;\n\n\tconstructor(args: {\n\t\t/** The location of the esm module after transpilation */\n\t\tesmModuleLocation?: URI | (() => URI);\n\t\t/** The location of the esm module when used in a bundler environment. Refer to the typescript file in the src folder and use `?workerModule`. */\n\t\tesmModuleLocationBundler?: URL | (() => URL);\n\t\tlabel: string;\n\t}) {\n\t\tthis.esmModuleLocation = args.esmModuleLocation;\n\t\tthis.esmModuleLocationBundler = args.esmModuleLocationBundler;\n\t\tthis.label = args.label;\n\t}\n}\n","/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\nimport { URI } from '../../../base/common/uri.js';\n\nexport class WebWorkerDescriptor {\n\tpublic readonly esmModuleLocation: URI | (() => URI) | undefined;\n\tpublic readonly esmModuleLocationBundler: URL | (() => URL) | undefined;\n\tpublic readonly label: string;\n\n\tconstructor(args: {\n\t\t/** The location of the esm module after transpilation */\n\t\tesmModuleLocation?: URI | (() => URI);\n\t\t/** The location of the esm module when used in a bundler environment. Refer to the typescript file in the src folder and use `?workerModule`. */\n\t\tesmModuleLocationBundler?: URL | (() => URL);\n\t\tlabel: string;\n\t}) {\n\t\tthis.esmModuleLocation = args.esmModuleLocation;\n\t\tthis.esmModuleLocationBundler = args.esmModuleLocationBundler;\n\t\tthis.label = args.label;\n\t}\n}\n"]}
|
|
@@ -123,7 +123,7 @@ export class WorkspaceFolder {
|
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
125
|
export const WORKSPACE_EXTENSION = 'code-workspace';
|
|
126
|
-
export const WORKSPACE_FILTER = [{ name: localize(
|
|
126
|
+
export const WORKSPACE_FILTER = [{ name: localize(2058, "Code Workspace"), extensions: [WORKSPACE_EXTENSION] }];
|
|
127
127
|
export const STANDALONE_EDITOR_WORKSPACE_ID = '4064f6ec-cb38-4ad0-af64-ee6467e63c82';
|
|
128
128
|
export function isStandaloneEditorWorkspace(workspace) {
|
|
129
129
|
return workspace.id === STANDALONE_EDITOR_WORKSPACE_ID;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "monaco-editor-core",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.56.0-dev-
|
|
4
|
+
"version": "0.56.0-dev-20251122",
|
|
5
5
|
"description": "A browser based code editor",
|
|
6
6
|
"author": "Microsoft Corporation",
|
|
7
7
|
"license": "MIT",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"bugs": {
|
|
15
15
|
"url": "https://github.com/microsoft/vscode/issues"
|
|
16
16
|
},
|
|
17
|
-
"vscodeCommitId": "
|
|
17
|
+
"vscodeCommitId": "60706b48bb96fe0fc4c43d7a710db7fb247d4d92",
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"marked": "14.0.0",
|
|
20
20
|
"dompurify": "3.2.7"
|