@codingame/monaco-vscode-api 1.76.7 → 1.76.9
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/README.md +7 -1
- package/dist/contextkeys.js +991 -15
- package/dist/debug.js +79 -164
- package/dist/polyfill.js +2 -1
- package/package.json +1 -1
package/dist/debug.js
CHANGED
|
@@ -72,7 +72,7 @@ import { $ as $$7, append, trackFocus, EventType as EventType$1, addDisposableLi
|
|
|
72
72
|
import { IKeybindingService } from 'monaco-editor/esm/vs/platform/keybinding/common/keybinding.js';
|
|
73
73
|
import { registerThemingParticipant, themeColorFromId, IThemeService, Themable } from 'monaco-editor/esm/vs/platform/theme/common/themeService.js';
|
|
74
74
|
import { StandardKeyboardEvent } from 'monaco-editor/esm/vs/base/browser/keyboardEvent.js';
|
|
75
|
-
import { registerColor, asCssVariable, foreground, selectBorder, selectBackground, badgeBackground, badgeForeground, listDeemphasizedForeground, toolbarHoverBackground, contrastBorder, inputBorder,
|
|
75
|
+
import { registerColor, asCssVariable, foreground, selectBorder, selectBackground, editorInfoForeground, editorWarningForeground, errorForeground, badgeBackground, badgeForeground, listDeemphasizedForeground, toolbarHoverBackground, contrastBorder, inputBorder, editorHoverBackground, editorHoverBorder, editorHoverForeground, widgetShadow, widgetBorder, editorForeground } from 'monaco-editor/esm/vs/platform/theme/common/colorRegistry.js';
|
|
76
76
|
import { IContextMenuService, IContextViewService } from 'monaco-editor/esm/vs/platform/contextview/browser/contextView.js';
|
|
77
77
|
import { defaultProgressBarStyles, defaultSelectBoxStyles, defaultButtonStyles, defaultInputBoxStyles } from 'monaco-editor/esm/vs/platform/theme/browser/defaultStyles.js';
|
|
78
78
|
import { SelectBox } from 'monaco-editor/esm/vs/base/browser/ui/selectBox/selectBox.js';
|
|
@@ -11303,159 +11303,95 @@ FocusSessionActionViewItem = ( (__decorate([
|
|
|
11303
11303
|
( (__param(3, IContextViewService))),
|
|
11304
11304
|
( (__param(4, IConfigurationService)))
|
|
11305
11305
|
], FocusSessionActionViewItem)));
|
|
11306
|
-
const debugToolBarBackground =
|
|
11306
|
+
const debugToolBarBackground = registerColor('debugToolBar.background', {
|
|
11307
11307
|
dark: '#333333',
|
|
11308
11308
|
light: '#F3F3F3',
|
|
11309
11309
|
hcDark: '#000000',
|
|
11310
11310
|
hcLight: '#FFFFFF'
|
|
11311
|
-
},
|
|
11312
|
-
const debugToolBarBorder =
|
|
11311
|
+
}, ( (localize('debugToolBarBackground', "Debug toolbar background color."))));
|
|
11312
|
+
const debugToolBarBorder = registerColor('debugToolBar.border', {
|
|
11313
11313
|
dark: null,
|
|
11314
11314
|
light: null,
|
|
11315
11315
|
hcDark: null,
|
|
11316
11316
|
hcLight: null
|
|
11317
|
-
},
|
|
11318
|
-
const debugIconStartForeground =
|
|
11317
|
+
}, ( (localize('debugToolBarBorder', "Debug toolbar border color."))));
|
|
11318
|
+
const debugIconStartForeground = registerColor('debugIcon.startForeground', {
|
|
11319
11319
|
dark: '#89D185',
|
|
11320
11320
|
light: '#388A34',
|
|
11321
11321
|
hcDark: '#89D185',
|
|
11322
11322
|
hcLight: '#388A34'
|
|
11323
|
-
},
|
|
11323
|
+
}, ( (localize('debugIcon.startForeground', "Debug toolbar icon for start debugging."))));
|
|
11324
11324
|
function registerColors() {
|
|
11325
|
-
const debugTokenExpressionName = ( (
|
|
11326
|
-
|
|
11327
|
-
|
|
11328
|
-
|
|
11329
|
-
))
|
|
11330
|
-
const
|
|
11331
|
-
|
|
11332
|
-
|
|
11333
|
-
|
|
11334
|
-
)
|
|
11335
|
-
const
|
|
11336
|
-
|
|
11337
|
-
|
|
11338
|
-
|
|
11339
|
-
)
|
|
11340
|
-
const
|
|
11341
|
-
|
|
11342
|
-
{ dark: '#4e94ce', light: '#0000ff', hcDark: '#75bdfe', hcLight: '#0000ff' },
|
|
11343
|
-
'Foreground color for booleans in the debug views (ie. the Variables or Watch view).'
|
|
11344
|
-
)));
|
|
11345
|
-
const debugTokenExpressionNumber = ( (registerColor(
|
|
11346
|
-
'debugTokenExpression.number',
|
|
11347
|
-
{ dark: '#b5cea8', light: '#098658', hcDark: '#89d185', hcLight: '#098658' },
|
|
11348
|
-
'Foreground color for numbers in the debug views (ie. the Variables or Watch view).'
|
|
11349
|
-
)));
|
|
11350
|
-
const debugTokenExpressionError = ( (registerColor(
|
|
11351
|
-
'debugTokenExpression.error',
|
|
11352
|
-
{ dark: '#f48771', light: '#e51400', hcDark: '#f48771', hcLight: '#e51400' },
|
|
11353
|
-
'Foreground color for expression errors in the debug views (ie. the Variables or Watch view) and for error logs shown in the debug console.'
|
|
11354
|
-
)));
|
|
11355
|
-
const debugViewExceptionLabelForeground = ( (registerColor(
|
|
11356
|
-
'debugView.exceptionLabelForeground',
|
|
11357
|
-
{ dark: foreground, light: '#FFF', hcDark: foreground, hcLight: foreground },
|
|
11358
|
-
'Foreground color for a label shown in the CALL STACK view when the debugger breaks on an exception.'
|
|
11359
|
-
)));
|
|
11360
|
-
const debugViewExceptionLabelBackground = ( (registerColor(
|
|
11361
|
-
'debugView.exceptionLabelBackground',
|
|
11362
|
-
{ dark: '#6C2022', light: '#A31515', hcDark: '#6C2022', hcLight: '#A31515' },
|
|
11363
|
-
'Background color for a label shown in the CALL STACK view when the debugger breaks on an exception.'
|
|
11364
|
-
)));
|
|
11365
|
-
const debugViewStateLabelForeground = ( (registerColor(
|
|
11366
|
-
'debugView.stateLabelForeground',
|
|
11367
|
-
{ dark: foreground, light: foreground, hcDark: foreground, hcLight: foreground },
|
|
11368
|
-
'Foreground color for a label in the CALL STACK view showing the current session\'s or thread\'s state.'
|
|
11369
|
-
)));
|
|
11370
|
-
const debugViewStateLabelBackground = ( (registerColor(
|
|
11371
|
-
'debugView.stateLabelBackground',
|
|
11372
|
-
{ dark: '#88888844', light: '#88888844', hcDark: '#88888844', hcLight: '#88888844' },
|
|
11373
|
-
'Background color for a label in the CALL STACK view showing the current session\'s or thread\'s state.'
|
|
11374
|
-
)));
|
|
11375
|
-
const debugViewValueChangedHighlight = ( (registerColor(
|
|
11376
|
-
'debugView.valueChangedHighlight',
|
|
11377
|
-
{ dark: '#569CD6', light: '#569CD6', hcDark: '#569CD6', hcLight: '#569CD6' },
|
|
11378
|
-
'Color used to highlight value changes in the debug views (ie. in the Variables view).'
|
|
11379
|
-
)));
|
|
11380
|
-
const debugConsoleInfoForeground = ( (registerColor(
|
|
11381
|
-
'debugConsole.infoForeground',
|
|
11382
|
-
{ dark: editorInfoForeground, light: editorInfoForeground, hcDark: foreground, hcLight: foreground },
|
|
11383
|
-
'Foreground color for info messages in debug REPL console.'
|
|
11384
|
-
)));
|
|
11385
|
-
const debugConsoleWarningForeground = ( (registerColor(
|
|
11386
|
-
'debugConsole.warningForeground',
|
|
11387
|
-
{ dark: editorWarningForeground, light: editorWarningForeground, hcDark: '#008000', hcLight: editorWarningForeground },
|
|
11388
|
-
'Foreground color for warning messages in debug REPL console.'
|
|
11389
|
-
)));
|
|
11390
|
-
const debugConsoleErrorForeground = ( (registerColor(
|
|
11391
|
-
'debugConsole.errorForeground',
|
|
11392
|
-
{ dark: errorForeground, light: errorForeground, hcDark: errorForeground, hcLight: errorForeground },
|
|
11393
|
-
'Foreground color for error messages in debug REPL console.'
|
|
11394
|
-
)));
|
|
11395
|
-
const debugConsoleSourceForeground = ( (registerColor(
|
|
11396
|
-
'debugConsole.sourceForeground',
|
|
11397
|
-
{ dark: foreground, light: foreground, hcDark: foreground, hcLight: foreground },
|
|
11398
|
-
'Foreground color for source filenames in debug REPL console.'
|
|
11399
|
-
)));
|
|
11400
|
-
const debugConsoleInputIconForeground = ( (registerColor(
|
|
11401
|
-
'debugConsoleInputIcon.foreground',
|
|
11402
|
-
{ dark: foreground, light: foreground, hcDark: foreground, hcLight: foreground },
|
|
11403
|
-
'Foreground color for debug console input marker icon.'
|
|
11404
|
-
)));
|
|
11405
|
-
const debugIconPauseForeground = ( (registerColor('debugIcon.pauseForeground', {
|
|
11325
|
+
const debugTokenExpressionName = registerColor('debugTokenExpression.name', { dark: '#c586c0', light: '#9b46b0', hcDark: foreground, hcLight: foreground }, 'Foreground color for the token names shown in the debug views (ie. the Variables or Watch view).');
|
|
11326
|
+
const debugTokenExpressionValue = registerColor('debugTokenExpression.value', { dark: '#cccccc99', light: '#6c6c6ccc', hcDark: foreground, hcLight: foreground }, 'Foreground color for the token values shown in the debug views (ie. the Variables or Watch view).');
|
|
11327
|
+
const debugTokenExpressionString = registerColor('debugTokenExpression.string', { dark: '#ce9178', light: '#a31515', hcDark: '#f48771', hcLight: '#a31515' }, 'Foreground color for strings in the debug views (ie. the Variables or Watch view).');
|
|
11328
|
+
const debugTokenExpressionBoolean = registerColor('debugTokenExpression.boolean', { dark: '#4e94ce', light: '#0000ff', hcDark: '#75bdfe', hcLight: '#0000ff' }, 'Foreground color for booleans in the debug views (ie. the Variables or Watch view).');
|
|
11329
|
+
const debugTokenExpressionNumber = registerColor('debugTokenExpression.number', { dark: '#b5cea8', light: '#098658', hcDark: '#89d185', hcLight: '#098658' }, 'Foreground color for numbers in the debug views (ie. the Variables or Watch view).');
|
|
11330
|
+
const debugTokenExpressionError = registerColor('debugTokenExpression.error', { dark: '#f48771', light: '#e51400', hcDark: '#f48771', hcLight: '#e51400' }, 'Foreground color for expression errors in the debug views (ie. the Variables or Watch view) and for error logs shown in the debug console.');
|
|
11331
|
+
const debugViewExceptionLabelForeground = registerColor('debugView.exceptionLabelForeground', { dark: foreground, light: '#FFF', hcDark: foreground, hcLight: foreground }, 'Foreground color for a label shown in the CALL STACK view when the debugger breaks on an exception.');
|
|
11332
|
+
const debugViewExceptionLabelBackground = registerColor('debugView.exceptionLabelBackground', { dark: '#6C2022', light: '#A31515', hcDark: '#6C2022', hcLight: '#A31515' }, 'Background color for a label shown in the CALL STACK view when the debugger breaks on an exception.');
|
|
11333
|
+
const debugViewStateLabelForeground = registerColor('debugView.stateLabelForeground', { dark: foreground, light: foreground, hcDark: foreground, hcLight: foreground }, 'Foreground color for a label in the CALL STACK view showing the current session\'s or thread\'s state.');
|
|
11334
|
+
const debugViewStateLabelBackground = registerColor('debugView.stateLabelBackground', { dark: '#88888844', light: '#88888844', hcDark: '#88888844', hcLight: '#88888844' }, 'Background color for a label in the CALL STACK view showing the current session\'s or thread\'s state.');
|
|
11335
|
+
const debugViewValueChangedHighlight = registerColor('debugView.valueChangedHighlight', { dark: '#569CD6', light: '#569CD6', hcDark: '#569CD6', hcLight: '#569CD6' }, 'Color used to highlight value changes in the debug views (ie. in the Variables view).');
|
|
11336
|
+
const debugConsoleInfoForeground = registerColor('debugConsole.infoForeground', { dark: editorInfoForeground, light: editorInfoForeground, hcDark: foreground, hcLight: foreground }, 'Foreground color for info messages in debug REPL console.');
|
|
11337
|
+
const debugConsoleWarningForeground = registerColor('debugConsole.warningForeground', { dark: editorWarningForeground, light: editorWarningForeground, hcDark: '#008000', hcLight: editorWarningForeground }, 'Foreground color for warning messages in debug REPL console.');
|
|
11338
|
+
const debugConsoleErrorForeground = registerColor('debugConsole.errorForeground', { dark: errorForeground, light: errorForeground, hcDark: errorForeground, hcLight: errorForeground }, 'Foreground color for error messages in debug REPL console.');
|
|
11339
|
+
const debugConsoleSourceForeground = registerColor('debugConsole.sourceForeground', { dark: foreground, light: foreground, hcDark: foreground, hcLight: foreground }, 'Foreground color for source filenames in debug REPL console.');
|
|
11340
|
+
const debugConsoleInputIconForeground = registerColor('debugConsoleInputIcon.foreground', { dark: foreground, light: foreground, hcDark: foreground, hcLight: foreground }, 'Foreground color for debug console input marker icon.');
|
|
11341
|
+
const debugIconPauseForeground = registerColor('debugIcon.pauseForeground', {
|
|
11406
11342
|
dark: '#75BEFF',
|
|
11407
11343
|
light: '#007ACC',
|
|
11408
11344
|
hcDark: '#75BEFF',
|
|
11409
11345
|
hcLight: '#007ACC'
|
|
11410
|
-
},
|
|
11411
|
-
const debugIconStopForeground =
|
|
11346
|
+
}, ( (localize('debugIcon.pauseForeground', "Debug toolbar icon for pause."))));
|
|
11347
|
+
const debugIconStopForeground = registerColor('debugIcon.stopForeground', {
|
|
11412
11348
|
dark: '#F48771',
|
|
11413
11349
|
light: '#A1260D',
|
|
11414
11350
|
hcDark: '#F48771',
|
|
11415
11351
|
hcLight: '#A1260D'
|
|
11416
|
-
},
|
|
11417
|
-
const debugIconDisconnectForeground =
|
|
11352
|
+
}, ( (localize('debugIcon.stopForeground', "Debug toolbar icon for stop."))));
|
|
11353
|
+
const debugIconDisconnectForeground = registerColor('debugIcon.disconnectForeground', {
|
|
11418
11354
|
dark: '#F48771',
|
|
11419
11355
|
light: '#A1260D',
|
|
11420
11356
|
hcDark: '#F48771',
|
|
11421
11357
|
hcLight: '#A1260D'
|
|
11422
|
-
},
|
|
11423
|
-
const debugIconRestartForeground =
|
|
11358
|
+
}, ( (localize('debugIcon.disconnectForeground', "Debug toolbar icon for disconnect."))));
|
|
11359
|
+
const debugIconRestartForeground = registerColor('debugIcon.restartForeground', {
|
|
11424
11360
|
dark: '#89D185',
|
|
11425
11361
|
light: '#388A34',
|
|
11426
11362
|
hcDark: '#89D185',
|
|
11427
11363
|
hcLight: '#388A34'
|
|
11428
|
-
},
|
|
11429
|
-
const debugIconStepOverForeground =
|
|
11364
|
+
}, ( (localize('debugIcon.restartForeground', "Debug toolbar icon for restart."))));
|
|
11365
|
+
const debugIconStepOverForeground = registerColor('debugIcon.stepOverForeground', {
|
|
11430
11366
|
dark: '#75BEFF',
|
|
11431
11367
|
light: '#007ACC',
|
|
11432
11368
|
hcDark: '#75BEFF',
|
|
11433
11369
|
hcLight: '#007ACC'
|
|
11434
|
-
},
|
|
11435
|
-
const debugIconStepIntoForeground =
|
|
11370
|
+
}, ( (localize('debugIcon.stepOverForeground', "Debug toolbar icon for step over."))));
|
|
11371
|
+
const debugIconStepIntoForeground = registerColor('debugIcon.stepIntoForeground', {
|
|
11436
11372
|
dark: '#75BEFF',
|
|
11437
11373
|
light: '#007ACC',
|
|
11438
11374
|
hcDark: '#75BEFF',
|
|
11439
11375
|
hcLight: '#007ACC'
|
|
11440
|
-
},
|
|
11441
|
-
const debugIconStepOutForeground =
|
|
11376
|
+
}, ( (localize('debugIcon.stepIntoForeground', "Debug toolbar icon for step into."))));
|
|
11377
|
+
const debugIconStepOutForeground = registerColor('debugIcon.stepOutForeground', {
|
|
11442
11378
|
dark: '#75BEFF',
|
|
11443
11379
|
light: '#007ACC',
|
|
11444
11380
|
hcDark: '#75BEFF',
|
|
11445
11381
|
hcLight: '#007ACC'
|
|
11446
|
-
},
|
|
11447
|
-
const debugIconContinueForeground =
|
|
11382
|
+
}, ( (localize('debugIcon.stepOutForeground', "Debug toolbar icon for step over."))));
|
|
11383
|
+
const debugIconContinueForeground = registerColor('debugIcon.continueForeground', {
|
|
11448
11384
|
dark: '#75BEFF',
|
|
11449
11385
|
light: '#007ACC',
|
|
11450
11386
|
hcDark: '#75BEFF',
|
|
11451
11387
|
hcLight: '#007ACC'
|
|
11452
|
-
},
|
|
11453
|
-
const debugIconStepBackForeground =
|
|
11388
|
+
}, ( (localize('debugIcon.continueForeground', "Debug toolbar icon for continue."))));
|
|
11389
|
+
const debugIconStepBackForeground = registerColor('debugIcon.stepBackForeground', {
|
|
11454
11390
|
dark: '#75BEFF',
|
|
11455
11391
|
light: '#007ACC',
|
|
11456
11392
|
hcDark: '#75BEFF',
|
|
11457
11393
|
hcLight: '#007ACC'
|
|
11458
|
-
},
|
|
11394
|
+
}, ( (localize('debugIcon.stepBackForeground', "Debug toolbar icon for step back."))));
|
|
11459
11395
|
registerThemingParticipant((theme, collector) => {
|
|
11460
11396
|
const badgeBackgroundColor = theme.getColor(badgeBackground);
|
|
11461
11397
|
const badgeForegroundColor = theme.getColor(badgeForeground);
|
|
@@ -13339,61 +13275,33 @@ registerThemingParticipant((theme, collector) => {
|
|
|
13339
13275
|
`);
|
|
13340
13276
|
}
|
|
13341
13277
|
});
|
|
13342
|
-
const debugIconBreakpointForeground = ( (
|
|
13343
|
-
|
|
13344
|
-
{ dark: '#E51400', light: '#E51400', hcDark: '#E51400', hcLight: '#E51400' },
|
|
13345
|
-
(localize('debugIcon.breakpointForeground', 'Icon color for breakpoints.'))
|
|
13346
|
-
)));
|
|
13347
|
-
const debugIconBreakpointDisabledForeground = ( (registerColor(
|
|
13278
|
+
const debugIconBreakpointForeground = registerColor('debugIcon.breakpointForeground', { dark: '#E51400', light: '#E51400', hcDark: '#E51400', hcLight: '#E51400' }, ( (localize('debugIcon.breakpointForeground', 'Icon color for breakpoints.'))));
|
|
13279
|
+
const debugIconBreakpointDisabledForeground = registerColor('debugIcon.breakpointDisabledForeground', { dark: '#848484', light: '#848484', hcDark: '#848484', hcLight: '#848484' }, ( (localize(
|
|
13348
13280
|
'debugIcon.breakpointDisabledForeground',
|
|
13349
|
-
|
|
13350
|
-
|
|
13351
|
-
|
|
13352
|
-
'Icon color for disabled breakpoints.'
|
|
13353
|
-
))
|
|
13354
|
-
)));
|
|
13355
|
-
const debugIconBreakpointUnverifiedForeground = ( (registerColor(
|
|
13281
|
+
'Icon color for disabled breakpoints.'
|
|
13282
|
+
))));
|
|
13283
|
+
const debugIconBreakpointUnverifiedForeground = registerColor('debugIcon.breakpointUnverifiedForeground', { dark: '#848484', light: '#848484', hcDark: '#848484', hcLight: '#848484' }, ( (localize(
|
|
13356
13284
|
'debugIcon.breakpointUnverifiedForeground',
|
|
13357
|
-
|
|
13358
|
-
|
|
13359
|
-
|
|
13360
|
-
'Icon color for unverified breakpoints.'
|
|
13361
|
-
))
|
|
13362
|
-
)));
|
|
13363
|
-
const debugIconBreakpointCurrentStackframeForeground = ( (registerColor(
|
|
13285
|
+
'Icon color for unverified breakpoints.'
|
|
13286
|
+
))));
|
|
13287
|
+
const debugIconBreakpointCurrentStackframeForeground = registerColor('debugIcon.breakpointCurrentStackframeForeground', { dark: '#FFCC00', light: '#BE8700', hcDark: '#FFCC00', hcLight: '#BE8700' }, ( (localize(
|
|
13364
13288
|
'debugIcon.breakpointCurrentStackframeForeground',
|
|
13365
|
-
|
|
13366
|
-
|
|
13367
|
-
|
|
13368
|
-
'Icon color for the current breakpoint stack frame.'
|
|
13369
|
-
))
|
|
13370
|
-
)));
|
|
13371
|
-
const debugIconBreakpointStackframeForeground = ( (registerColor(
|
|
13289
|
+
'Icon color for the current breakpoint stack frame.'
|
|
13290
|
+
))));
|
|
13291
|
+
const debugIconBreakpointStackframeForeground = registerColor('debugIcon.breakpointStackframeForeground', { dark: '#89D185', light: '#89D185', hcDark: '#89D185', hcLight: '#89D185' }, ( (localize(
|
|
13372
13292
|
'debugIcon.breakpointStackframeForeground',
|
|
13373
|
-
|
|
13374
|
-
|
|
13375
|
-
'debugIcon.breakpointStackframeForeground',
|
|
13376
|
-
'Icon color for all breakpoint stack frames.'
|
|
13377
|
-
))
|
|
13378
|
-
)));
|
|
13293
|
+
'Icon color for all breakpoint stack frames.'
|
|
13294
|
+
))));
|
|
13379
13295
|
var css$1 = ".monaco-editor .view-overlays .debug-top-stack-frame-line{background-color:var(--vscode-editor-stackFrameHighlightBackground)}.monaco-editor .view-overlays .debug-focused-stack-frame-line{background-color:var(--vscode-editor-focusedStackFrameHighlightBackground)}";
|
|
13380
13296
|
n(css$1,{});
|
|
13381
|
-
const topStackFrameColor = ( (
|
|
13382
|
-
'
|
|
13383
|
-
|
|
13384
|
-
|
|
13385
|
-
|
|
13386
|
-
|
|
13387
|
-
|
|
13388
|
-
)));
|
|
13389
|
-
const focusedStackFrameColor = ( (registerColor(
|
|
13390
|
-
'editor.focusedStackFrameHighlightBackground',
|
|
13391
|
-
{ dark: '#7abd7a4d', light: '#cee7ce73', hcDark: '#7abd7a4d', hcLight: '#cee7ce73' },
|
|
13392
|
-
(localize(
|
|
13393
|
-
'focusedStackFrameLineHighlight',
|
|
13394
|
-
'Background color for the highlight of line at focused stack frame position.'
|
|
13395
|
-
))
|
|
13396
|
-
)));
|
|
13297
|
+
const topStackFrameColor = registerColor('editor.stackFrameHighlightBackground', { dark: '#ffff0033', light: '#ffff6673', hcDark: '#ffff0033', hcLight: '#ffff6673' }, ( (localize(
|
|
13298
|
+
'topStackFrameLineHighlight',
|
|
13299
|
+
'Background color for the highlight of line at the top stack frame position.'
|
|
13300
|
+
))));
|
|
13301
|
+
const focusedStackFrameColor = registerColor('editor.focusedStackFrameHighlightBackground', { dark: '#7abd7a4d', light: '#cee7ce73', hcDark: '#7abd7a4d', hcLight: '#cee7ce73' }, ( (localize(
|
|
13302
|
+
'focusedStackFrameLineHighlight',
|
|
13303
|
+
'Background color for the highlight of line at focused stack frame position.'
|
|
13304
|
+
))));
|
|
13397
13305
|
const stickiness = 1 ;
|
|
13398
13306
|
const TOP_STACK_FRAME_MARGIN = {
|
|
13399
13307
|
description: 'top-stack-frame-margin',
|
|
@@ -14550,16 +14458,8 @@ DebugHoverComputer = ( (__decorate([
|
|
|
14550
14458
|
var css = ".monaco-editor .zone-widget.exception-widget-container{overflow:hidden}.monaco-editor .zone-widget .zone-widget-container.exception-widget{padding:6px 10px;user-select:text;-webkit-user-select:text;white-space:pre-wrap}.monaco-editor .zone-widget .zone-widget-container.exception-widget .title{display:flex}.monaco-editor .zone-widget .zone-widget-container.exception-widget .title .label{align-items:center;display:flex;font-weight:700}.monaco-editor .zone-widget .zone-widget-container.exception-widget .title .actions{flex:1}.monaco-editor .zone-widget .zone-widget-container.exception-widget .description,.monaco-editor .zone-widget .zone-widget-container.exception-widget .stack-trace{font-family:var(--monaco-monospace-font)}.monaco-editor .zone-widget .zone-widget-container.exception-widget .stack-trace{margin-top:.5em}.monaco-editor .zone-widget .zone-widget-container.exception-widget .stack-trace a{cursor:pointer;text-decoration:underline}.monaco-workbench.mac .zone-widget .zone-widget-container.exception-widget{font-size:11px}.monaco-workbench.linux .zone-widget .zone-widget-container.exception-widget,.monaco-workbench.windows .zone-widget .zone-widget-container.exception-widget{font-size:13px}";
|
|
14551
14459
|
n(css,{});
|
|
14552
14460
|
const $ = $$7;
|
|
14553
|
-
const debugExceptionWidgetBorder = ( (
|
|
14554
|
-
|
|
14555
|
-
{ dark: '#a31515', light: '#a31515', hcDark: '#a31515', hcLight: '#a31515' },
|
|
14556
|
-
(localize('debugExceptionWidgetBorder', 'Exception widget border color.'))
|
|
14557
|
-
)));
|
|
14558
|
-
const debugExceptionWidgetBackground = ( (registerColor(
|
|
14559
|
-
'debugExceptionWidget.background',
|
|
14560
|
-
{ dark: '#420b0d', light: '#f1dfde', hcDark: '#420b0d', hcLight: '#f1dfde' },
|
|
14561
|
-
(localize('debugExceptionWidgetBackground', 'Exception widget background color.'))
|
|
14562
|
-
)));
|
|
14461
|
+
const debugExceptionWidgetBorder = registerColor('debugExceptionWidget.border', { dark: '#a31515', light: '#a31515', hcDark: '#a31515', hcLight: '#a31515' }, ( (localize('debugExceptionWidgetBorder', 'Exception widget border color.'))));
|
|
14462
|
+
const debugExceptionWidgetBackground = registerColor('debugExceptionWidget.background', { dark: '#420b0d', light: '#f1dfde', hcDark: '#420b0d', hcLight: '#f1dfde' }, ( (localize('debugExceptionWidgetBackground', 'Exception widget background color.'))));
|
|
14563
14463
|
let ExceptionWidget = class ExceptionWidget extends ZoneWidget {
|
|
14564
14464
|
constructor(editor, exceptionInfo, debugSession, themeService, instantiationService) {
|
|
14565
14465
|
super(editor, { showFrame: true, showArrow: true, isAccessible: true, frameWidth: 1, className: 'exception-widget-container' });
|
|
@@ -14654,6 +14554,21 @@ const MAX_NUM_INLINE_VALUES = 100;
|
|
|
14654
14554
|
const MAX_INLINE_DECORATOR_LENGTH = 150;
|
|
14655
14555
|
const MAX_TOKENIZATION_LINE_LEN = 500;
|
|
14656
14556
|
const DEAFULT_INLINE_DEBOUNCE_DELAY = 200;
|
|
14557
|
+
registerColor('editor.inlineValuesForeground', {
|
|
14558
|
+
dark: '#ffffff80',
|
|
14559
|
+
light: '#00000080',
|
|
14560
|
+
hcDark: '#ffffff80',
|
|
14561
|
+
hcLight: '#00000080'
|
|
14562
|
+
}, ( (localize('editor.inlineValuesForeground', "Color for the debug inline value text."))));
|
|
14563
|
+
registerColor('editor.inlineValuesBackground', {
|
|
14564
|
+
dark: '#ffc80033',
|
|
14565
|
+
light: '#ffc80033',
|
|
14566
|
+
hcDark: '#ffc80033',
|
|
14567
|
+
hcLight: '#ffc80033'
|
|
14568
|
+
}, ( (localize(
|
|
14569
|
+
'editor.inlineValuesBackground',
|
|
14570
|
+
"Color for the debug inline value background."
|
|
14571
|
+
))));
|
|
14657
14572
|
class InlineSegment {
|
|
14658
14573
|
constructor(column, text) {
|
|
14659
14574
|
this.column = column;
|
package/dist/polyfill.js
CHANGED
|
@@ -1023,7 +1023,8 @@ function registerAssets(assets) {
|
|
|
1023
1023
|
};
|
|
1024
1024
|
}
|
|
1025
1025
|
function toUrl(name) {
|
|
1026
|
-
|
|
1026
|
+
const url = assetUrls[name] ?? assetUrls[name.replace(/[/.]/g, '_')];
|
|
1027
|
+
return ( new URL(url, window.location.href).toString());
|
|
1027
1028
|
}
|
|
1028
1029
|
const customRequire = {
|
|
1029
1030
|
toUrl
|