monaco-editor-core 0.55.0-dev-20251013 → 0.55.0-dev-20251015

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.
Files changed (212) hide show
  1. package/esm/nls.keys.json +1 -1
  2. package/esm/nls.messages.cs.js +9 -0
  3. package/esm/nls.messages.de.js +2 -2
  4. package/esm/nls.messages.es.js +2 -2
  5. package/esm/nls.messages.fr.js +2 -2
  6. package/esm/nls.messages.it.js +2 -2
  7. package/esm/nls.messages.ja.js +2 -2
  8. package/esm/nls.messages.js +1 -1
  9. package/esm/nls.messages.json +1 -1
  10. package/esm/nls.messages.ko.js +2 -2
  11. package/esm/nls.messages.pl.js +9 -0
  12. package/esm/nls.messages.pt-br.js +9 -0
  13. package/esm/nls.messages.ru.js +2 -2
  14. package/esm/nls.messages.tr.js +9 -0
  15. package/esm/nls.messages.zh-cn.js +2 -2
  16. package/esm/nls.messages.zh-tw.js +2 -2
  17. package/esm/nls.metadata.json +10 -0
  18. package/esm/vs/base/browser/canIUse.js +0 -1
  19. package/esm/vs/base/browser/canIUse.js.map +1 -1
  20. package/esm/vs/base/browser/domSanitize.js +31 -23
  21. package/esm/vs/base/browser/domSanitize.js.map +1 -1
  22. package/esm/vs/base/browser/dompurify/dompurify.js +188 -385
  23. package/esm/vs/base/browser/markdownRenderer.js +6 -1
  24. package/esm/vs/base/browser/markdownRenderer.js.map +1 -1
  25. package/esm/vs/base/browser/trustedTypes.js.map +1 -1
  26. package/esm/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
  27. package/esm/vs/base/browser/ui/countBadge/countBadge.css +1 -1
  28. package/esm/vs/base/browser/ui/toggle/toggle.js +6 -0
  29. package/esm/vs/base/browser/ui/toggle/toggle.js.map +1 -1
  30. package/esm/vs/base/common/codiconsLibrary.js +1 -0
  31. package/esm/vs/base/common/codiconsLibrary.js.map +1 -1
  32. package/esm/vs/base/common/objects.js +0 -1
  33. package/esm/vs/base/common/objects.js.map +1 -1
  34. package/esm/vs/editor/browser/controller/mouseTarget.js +2 -1
  35. package/esm/vs/editor/browser/controller/mouseTarget.js.map +1 -1
  36. package/esm/vs/editor/browser/services/abstractCodeEditorService.js +5 -0
  37. package/esm/vs/editor/browser/services/abstractCodeEditorService.js.map +1 -1
  38. package/esm/vs/editor/browser/services/codeEditorService.js.map +1 -1
  39. package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/copySelection.js +104 -0
  40. package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/copySelection.js.map +1 -0
  41. package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +3 -3
  42. package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js.map +1 -1
  43. package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +25 -24
  44. package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js.map +1 -1
  45. package/esm/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
  46. package/esm/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +7 -3
  47. package/esm/vs/editor/browser/widget/diffEditor/diffEditorWidget.js.map +1 -1
  48. package/esm/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +8 -8
  49. package/esm/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js.map +1 -1
  50. package/esm/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +2 -2
  51. package/esm/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +2 -2
  52. package/esm/vs/editor/browser/widget/diffEditor/registrations.contribution.js +5 -5
  53. package/esm/vs/editor/browser/widget/diffEditor/style.css +11 -0
  54. package/esm/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
  55. package/esm/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +2 -2
  56. package/esm/vs/editor/common/config/editorConfigurationSchema.js +54 -54
  57. package/esm/vs/editor/common/config/editorOptions.js +406 -406
  58. package/esm/vs/editor/common/core/editorColorRegistry.js +68 -68
  59. package/esm/vs/editor/common/editorContextKeys.js +46 -46
  60. package/esm/vs/editor/common/languages/modesRegistry.js +1 -1
  61. package/esm/vs/editor/common/languages.js +56 -56
  62. package/esm/vs/editor/common/model/editStack.js +1 -1
  63. package/esm/vs/editor/common/standaloneStrings.js +10 -10
  64. package/esm/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
  65. package/esm/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
  66. package/esm/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
  67. package/esm/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
  68. package/esm/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
  69. package/esm/vs/editor/contrib/clipboard/browser/clipboard.js +17 -17
  70. package/esm/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
  71. package/esm/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -29
  72. package/esm/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
  73. package/esm/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
  74. package/esm/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
  75. package/esm/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
  76. package/esm/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
  77. package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
  78. package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
  79. package/esm/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
  80. package/esm/vs/editor/contrib/comment/browser/comment.js +6 -6
  81. package/esm/vs/editor/contrib/contextmenu/browser/contextmenu.js +13 -14
  82. package/esm/vs/editor/contrib/contextmenu/browser/contextmenu.js.map +1 -1
  83. package/esm/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
  84. package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
  85. package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +9 -9
  86. package/esm/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
  87. package/esm/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
  88. package/esm/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
  89. package/esm/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
  90. package/esm/vs/editor/contrib/find/browser/findController.js +16 -16
  91. package/esm/vs/editor/contrib/find/browser/findWidget.js +26 -26
  92. package/esm/vs/editor/contrib/folding/browser/folding.js +20 -20
  93. package/esm/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
  94. package/esm/vs/editor/contrib/folding/browser/foldingDecorations.js.map +1 -1
  95. package/esm/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
  96. package/esm/vs/editor/contrib/format/browser/formatActions.js +2 -2
  97. package/esm/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
  98. package/esm/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
  99. package/esm/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
  100. package/esm/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
  101. package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
  102. package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
  103. package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
  104. package/esm/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
  105. package/esm/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
  106. package/esm/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
  107. package/esm/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
  108. package/esm/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
  109. package/esm/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +9 -9
  110. package/esm/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
  111. package/esm/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
  112. package/esm/vs/editor/contrib/indentation/browser/indentation.js +20 -20
  113. package/esm/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
  114. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +19 -19
  115. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +12 -12
  116. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +16 -11
  117. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js.map +1 -1
  118. package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +1 -1
  119. package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +6 -6
  120. package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js.map +1 -1
  121. package/esm/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.js +2 -4
  122. package/esm/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.js.map +1 -1
  123. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +6 -6
  124. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +1 -1
  125. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewProducer.js +2 -4
  126. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewProducer.js.map +1 -1
  127. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +20 -20
  128. package/esm/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
  129. package/esm/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
  130. package/esm/vs/editor/contrib/linesOperations/browser/linesOperations.js +47 -37
  131. package/esm/vs/editor/contrib/linesOperations/browser/linesOperations.js.map +1 -1
  132. package/esm/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
  133. package/esm/vs/editor/contrib/links/browser/links.js +10 -10
  134. package/esm/vs/editor/contrib/message/browser/messageController.js +1 -1
  135. package/esm/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
  136. package/esm/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
  137. package/esm/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
  138. package/esm/vs/editor/contrib/peekView/browser/peekView.js +18 -18
  139. package/esm/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
  140. package/esm/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +56 -10
  141. package/esm/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js.map +1 -1
  142. package/esm/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
  143. package/esm/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
  144. package/esm/vs/editor/contrib/rename/browser/rename.js +11 -11
  145. package/esm/vs/editor/contrib/rename/browser/renameWidget.js +7 -7
  146. package/esm/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
  147. package/esm/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
  148. package/esm/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
  149. package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
  150. package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +2 -2
  151. package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js.map +1 -1
  152. package/esm/vs/editor/contrib/suggest/browser/suggest.js +8 -8
  153. package/esm/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
  154. package/esm/vs/editor/contrib/suggest/browser/suggestWidget.js +17 -17
  155. package/esm/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
  156. package/esm/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
  157. package/esm/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
  158. package/esm/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
  159. package/esm/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
  160. package/esm/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
  161. package/esm/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
  162. package/esm/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
  163. package/esm/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
  164. package/esm/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
  165. package/esm/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
  166. package/esm/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
  167. package/esm/vs/editor/editor.api.d.ts +3 -3
  168. package/esm/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
  169. package/esm/vs/platform/action/common/actionCommonCategories.js +6 -6
  170. package/esm/vs/platform/actionWidget/browser/actionList.js +4 -4
  171. package/esm/vs/platform/actionWidget/browser/actionWidget.js +7 -7
  172. package/esm/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
  173. package/esm/vs/platform/actions/browser/toolbar.js +2 -2
  174. package/esm/vs/platform/actions/common/actions.js +0 -1
  175. package/esm/vs/platform/actions/common/actions.js.map +1 -1
  176. package/esm/vs/platform/actions/common/menuService.js +2 -2
  177. package/esm/vs/platform/configuration/common/configurationRegistry.js +10 -10
  178. package/esm/vs/platform/contextkey/browser/contextKeyService.js +1 -1
  179. package/esm/vs/platform/contextkey/common/contextkey.js +9 -9
  180. package/esm/vs/platform/contextkey/common/contextkeys.js +9 -9
  181. package/esm/vs/platform/contextkey/common/scanner.js +5 -5
  182. package/esm/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
  183. package/esm/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
  184. package/esm/vs/platform/list/browser/listService.js +27 -27
  185. package/esm/vs/platform/markers/common/markerService.js +2 -2
  186. package/esm/vs/platform/markers/common/markers.js +6 -6
  187. package/esm/vs/platform/quickinput/browser/commandsQuickAccess.js +7 -7
  188. package/esm/vs/platform/quickinput/browser/helpQuickAccess.js +1 -1
  189. package/esm/vs/platform/quickinput/browser/quickInput.js +10 -10
  190. package/esm/vs/platform/quickinput/browser/quickInputActions.js +5 -5
  191. package/esm/vs/platform/quickinput/browser/quickInputController.js +6 -6
  192. package/esm/vs/platform/quickinput/browser/quickInputList.js +1 -1
  193. package/esm/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
  194. package/esm/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
  195. package/esm/vs/platform/quickinput/common/quickInput.js.map +1 -1
  196. package/esm/vs/platform/theme/common/colorUtils.js +2 -2
  197. package/esm/vs/platform/theme/common/colors/baseColors.js +17 -17
  198. package/esm/vs/platform/theme/common/colors/chartsColors.js +8 -8
  199. package/esm/vs/platform/theme/common/colors/editorColors.js +95 -95
  200. package/esm/vs/platform/theme/common/colors/inputColors.js +47 -47
  201. package/esm/vs/platform/theme/common/colors/listColors.js +36 -36
  202. package/esm/vs/platform/theme/common/colors/menuColors.js +7 -7
  203. package/esm/vs/platform/theme/common/colors/minimapColors.js +11 -11
  204. package/esm/vs/platform/theme/common/colors/miscColors.js +15 -15
  205. package/esm/vs/platform/theme/common/colors/quickpickColors.js +9 -9
  206. package/esm/vs/platform/theme/common/colors/searchColors.js +3 -3
  207. package/esm/vs/platform/theme/common/iconRegistry.js +6 -6
  208. package/esm/vs/platform/undoRedo/common/undoRedoService.js +20 -20
  209. package/esm/vs/platform/workspace/common/workspace.js +1 -1
  210. package/monaco.d.ts +3 -3
  211. package/package.json +3 -3
  212. package/version.txt +1 -1
@@ -99,7 +99,7 @@ class RenameSkeleton {
99
99
  }
100
100
  const result = await provider.provideRenameEdits(this.model, this.position, newName, token);
101
101
  if (!result) {
102
- return this._provideRenameEdits(newName, i + 1, rejects.concat(nls.localize(1366, "No result.")), token);
102
+ return this._provideRenameEdits(newName, i + 1, rejects.concat(nls.localize(1369, "No result.")), token);
103
103
  }
104
104
  else if (result.rejectReason) {
105
105
  return this._provideRenameEdits(newName, i + 1, rejects.concat(result.rejectReason), token);
@@ -172,7 +172,7 @@ let RenameController = class RenameController {
172
172
  else {
173
173
  trace('resolve rename location failed', e instanceof Error ? e : JSON.stringify(e, null, '\t'));
174
174
  if (typeof e === 'string' || isMarkdownString(e)) {
175
- MessageController.get(this.editor)?.showMessage(e || nls.localize(1367, "An unknown error occurred while resolving rename location"), position);
175
+ MessageController.get(this.editor)?.showMessage(e || nls.localize(1370, "An unknown error occurred while resolving rename location"), position);
176
176
  }
177
177
  }
178
178
  return undefined;
@@ -240,24 +240,24 @@ let RenameController = class RenameController {
240
240
  this._bulkEditService.apply(renameResult, {
241
241
  editor: this.editor,
242
242
  showPreview: inputFieldResult.wantsPreview,
243
- label: nls.localize(1368, "Renaming '{0}' to '{1}'", loc?.text, inputFieldResult.newName),
243
+ label: nls.localize(1371, "Renaming '{0}' to '{1}'", loc?.text, inputFieldResult.newName),
244
244
  code: 'undoredo.rename',
245
- quotableLabel: nls.localize(1369, "Renaming {0} to {1}", loc?.text, inputFieldResult.newName),
245
+ quotableLabel: nls.localize(1372, "Renaming {0} to {1}", loc?.text, inputFieldResult.newName),
246
246
  respectAutoSaveConfig: true,
247
247
  reason: EditSources.rename(),
248
248
  }).then(result => {
249
249
  trace('edits applied');
250
250
  if (result.ariaSummary) {
251
- alert(nls.localize(1370, "Successfully renamed '{0}' to '{1}'. Summary: {2}", loc.text, inputFieldResult.newName, result.ariaSummary));
251
+ alert(nls.localize(1373, "Successfully renamed '{0}' to '{1}'. Summary: {2}", loc.text, inputFieldResult.newName, result.ariaSummary));
252
252
  }
253
253
  }).catch(err => {
254
254
  trace(`error when applying edits ${JSON.stringify(err, null, '\t')}`);
255
- this._notificationService.error(nls.localize(1371, "Rename failed to apply edits"));
255
+ this._notificationService.error(nls.localize(1374, "Rename failed to apply edits"));
256
256
  this._logService.error(err);
257
257
  });
258
258
  }, err => {
259
259
  trace('error when providing rename edits', JSON.stringify(err, null, '\t'));
260
- this._notificationService.error(nls.localize(1372, "Rename failed to compute edits"));
260
+ this._notificationService.error(nls.localize(1375, "Rename failed to compute edits"));
261
261
  this._logService.error(err);
262
262
  }).finally(() => {
263
263
  cts2.dispose();
@@ -293,7 +293,7 @@ export class RenameAction extends EditorAction {
293
293
  constructor() {
294
294
  super({
295
295
  id: 'editor.action.rename',
296
- label: nls.localize2(1374, "Rename Symbol"),
296
+ label: nls.localize2(1377, "Rename Symbol"),
297
297
  precondition: ContextKeyExpr.and(EditorContextKeys.writable, EditorContextKeys.hasRenameProvider),
298
298
  kbOpts: {
299
299
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -373,7 +373,7 @@ registerAction2(class FocusNextRenameSuggestion extends Action2 {
373
373
  super({
374
374
  id: 'focusNextRenameSuggestion',
375
375
  title: {
376
- ...nls.localize2(1375, "Focus Next Rename Suggestion"),
376
+ ...nls.localize2(1378, "Focus Next Rename Suggestion"),
377
377
  },
378
378
  precondition: CONTEXT_RENAME_INPUT_VISIBLE,
379
379
  keybinding: [
@@ -401,7 +401,7 @@ registerAction2(class FocusPreviousRenameSuggestion extends Action2 {
401
401
  super({
402
402
  id: 'focusPreviousRenameSuggestion',
403
403
  title: {
404
- ...nls.localize2(1376, "Focus Previous Rename Suggestion"),
404
+ ...nls.localize2(1379, "Focus Previous Rename Suggestion"),
405
405
  },
406
406
  precondition: CONTEXT_RENAME_INPUT_VISIBLE,
407
407
  keybinding: [
@@ -446,7 +446,7 @@ Registry.as(Extensions.Configuration).registerConfiguration({
446
446
  properties: {
447
447
  'editor.rename.enablePreview': {
448
448
  scope: 6 /* ConfigurationScope.LANGUAGE_OVERRIDABLE */,
449
- description: nls.localize(1373, "Enable/disable the ability to preview changes before renaming"),
449
+ description: nls.localize(1376, "Enable/disable the ability to preview changes before renaming"),
450
450
  default: true,
451
451
  type: 'boolean'
452
452
  }
@@ -39,8 +39,8 @@ import { editorWidgetBackground, inputBackground, inputBorder, inputForeground,
39
39
  import { IThemeService } from '../../../../platform/theme/common/themeService.js';
40
40
  /** for debugging */
41
41
  const _sticky = false;
42
- export const CONTEXT_RENAME_INPUT_VISIBLE = new RawContextKey('renameInputVisible', false, nls.localize(1377, "Whether the rename input widget is visible"));
43
- export const CONTEXT_RENAME_INPUT_FOCUSED = new RawContextKey('renameInputFocused', false, nls.localize(1378, "Whether the rename input widget is focused"));
42
+ export const CONTEXT_RENAME_INPUT_VISIBLE = new RawContextKey('renameInputVisible', false, nls.localize(1380, "Whether the rename input widget is visible"));
43
+ export const CONTEXT_RENAME_INPUT_FOCUSED = new RawContextKey('renameInputFocused', false, nls.localize(1381, "Whether the rename input widget is focused"));
44
44
  let RenameWidget = class RenameWidget {
45
45
  constructor(_editor, _acceptKeybindings, _themeService, _keybindingService, contextKeyService, _logService) {
46
46
  this._editor = _editor;
@@ -163,7 +163,7 @@ let RenameWidget = class RenameWidget {
163
163
  }
164
164
  beforeRender() {
165
165
  const [accept, preview] = this._acceptKeybindings;
166
- this._label.innerText = nls.localize(1379, "{0} to Rename, {1} to Preview", this._keybindingService.lookupKeybinding(accept)?.getLabel(), this._keybindingService.lookupKeybinding(preview)?.getLabel());
166
+ this._label.innerText = nls.localize(1382, "{0} to Rename, {1} to Preview", this._keybindingService.lookupKeybinding(accept)?.getLabel(), this._keybindingService.lookupKeybinding(preview)?.getLabel());
167
167
  this._domNode.style.minWidth = `200px`; // to prevent from widening when candidates come in
168
168
  return null;
169
169
  }
@@ -477,7 +477,7 @@ class RenameCandidateListView {
477
477
  // adjust list container layout
478
478
  this._listContainer.style.height = `${height}px`;
479
479
  this._listContainer.style.width = `${width}px`;
480
- aria.status(nls.localize(1380, "Received {0} rename suggestions", candidates.length));
480
+ aria.status(nls.localize(1383, "Received {0} rename suggestions", candidates.length));
481
481
  }
482
482
  clearCandidates() {
483
483
  this._listContainer.style.height = '0px';
@@ -619,13 +619,13 @@ class InputWithButton {
619
619
  this._inputNode.className = 'rename-input';
620
620
  this._inputNode.type = 'text';
621
621
  this._inputNode.style.border = 'none';
622
- this._inputNode.setAttribute('aria-label', nls.localize(1381, "Rename input. Type new name and press Enter to commit."));
622
+ this._inputNode.setAttribute('aria-label', nls.localize(1384, "Rename input. Type new name and press Enter to commit."));
623
623
  this._domNode.appendChild(this._inputNode);
624
624
  this._buttonNode = document.createElement('div');
625
625
  this._buttonNode.className = 'rename-suggestions-button';
626
626
  this._buttonNode.setAttribute('tabindex', '0');
627
- this._buttonGenHoverText = nls.localize(1382, "Generate New Name Suggestions");
628
- this._buttonCancelHoverText = nls.localize(1383, "Cancel");
627
+ this._buttonGenHoverText = nls.localize(1385, "Generate New Name Suggestions");
628
+ this._buttonCancelHoverText = nls.localize(1386, "Cancel");
629
629
  this._buttonHoverContent = this._buttonGenHoverText;
630
630
  this._disposables.add(getBaseLayerHoverDelegate().setupDelayedHover(this._buttonNode, () => ({
631
631
  content: this._buttonHoverContent,
@@ -131,7 +131,7 @@ class GrowSelectionAction extends AbstractSmartSelect {
131
131
  constructor() {
132
132
  super(true, {
133
133
  id: 'editor.action.smartSelect.expand',
134
- label: nls.localize2(1386, "Expand Selection"),
134
+ label: nls.localize2(1389, "Expand Selection"),
135
135
  precondition: undefined,
136
136
  kbOpts: {
137
137
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -145,7 +145,7 @@ class GrowSelectionAction extends AbstractSmartSelect {
145
145
  menuOpts: {
146
146
  menuId: MenuId.MenubarSelectionMenu,
147
147
  group: '1_basic',
148
- title: nls.localize(1384, "&&Expand Selection"),
148
+ title: nls.localize(1387, "&&Expand Selection"),
149
149
  order: 2
150
150
  }
151
151
  });
@@ -157,7 +157,7 @@ class ShrinkSelectionAction extends AbstractSmartSelect {
157
157
  constructor() {
158
158
  super(false, {
159
159
  id: 'editor.action.smartSelect.shrink',
160
- label: nls.localize2(1387, "Shrink Selection"),
160
+ label: nls.localize2(1390, "Shrink Selection"),
161
161
  precondition: undefined,
162
162
  kbOpts: {
163
163
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -171,7 +171,7 @@ class ShrinkSelectionAction extends AbstractSmartSelect {
171
171
  menuOpts: {
172
172
  menuId: MenuId.MenubarSelectionMenu,
173
173
  group: '1_basic',
174
- title: nls.localize(1385, "&&Shrink Selection"),
174
+ title: nls.localize(1388, "&&Shrink Selection"),
175
175
  order: 3
176
176
  }
177
177
  });
@@ -40,9 +40,9 @@ let SnippetController2 = class SnippetController2 {
40
40
  static get(editor) {
41
41
  return editor.getContribution(SnippetController2_1.ID);
42
42
  }
43
- static { this.InSnippetMode = new RawContextKey('inSnippetMode', false, localize(1388, "Whether the editor in current in snippet mode")); }
44
- static { this.HasNextTabstop = new RawContextKey('hasNextTabstop', false, localize(1389, "Whether there is a next tab stop when in snippet mode")); }
45
- static { this.HasPrevTabstop = new RawContextKey('hasPrevTabstop', false, localize(1390, "Whether there is a previous tab stop when in snippet mode")); }
43
+ static { this.InSnippetMode = new RawContextKey('inSnippetMode', false, localize(1391, "Whether the editor in current in snippet mode")); }
44
+ static { this.HasNextTabstop = new RawContextKey('hasNextTabstop', false, localize(1392, "Whether there is a next tab stop when in snippet mode")); }
45
+ static { this.HasPrevTabstop = new RawContextKey('hasPrevTabstop', false, localize(1393, "Whether there is a previous tab stop when in snippet mode")); }
46
46
  constructor(_editor, _logService, _languageFeaturesService, contextKeyService, _languageConfigurationService) {
47
47
  this._editor = _editor;
48
48
  this._logService = _logService;
@@ -128,7 +128,7 @@ let SnippetController2 = class SnippetController2 {
128
128
  sortText: 'a'.repeat(i + 1),
129
129
  range: activeChoice.range,
130
130
  filterText: isAnyOfOptions ? `${word}_${option.value}` : undefined,
131
- command: { id: 'jumpToNextSnippetPlaceholder', title: localize(1391, 'Go to next placeholder...') }
131
+ command: { id: 'jumpToNextSnippetPlaceholder', title: localize(1394, 'Go to next placeholder...') }
132
132
  });
133
133
  }
134
134
  return { suggestions };
@@ -245,10 +245,10 @@ export class TimeBasedVariableResolver {
245
245
  constructor() {
246
246
  this._date = new Date();
247
247
  }
248
- static { this.dayNames = [nls.localize(1392, "Sunday"), nls.localize(1393, "Monday"), nls.localize(1394, "Tuesday"), nls.localize(1395, "Wednesday"), nls.localize(1396, "Thursday"), nls.localize(1397, "Friday"), nls.localize(1398, "Saturday")]; }
249
- static { this.dayNamesShort = [nls.localize(1399, "Sun"), nls.localize(1400, "Mon"), nls.localize(1401, "Tue"), nls.localize(1402, "Wed"), nls.localize(1403, "Thu"), nls.localize(1404, "Fri"), nls.localize(1405, "Sat")]; }
250
- static { this.monthNames = [nls.localize(1406, "January"), nls.localize(1407, "February"), nls.localize(1408, "March"), nls.localize(1409, "April"), nls.localize(1410, "May"), nls.localize(1411, "June"), nls.localize(1412, "July"), nls.localize(1413, "August"), nls.localize(1414, "September"), nls.localize(1415, "October"), nls.localize(1416, "November"), nls.localize(1417, "December")]; }
251
- static { this.monthNamesShort = [nls.localize(1418, "Jan"), nls.localize(1419, "Feb"), nls.localize(1420, "Mar"), nls.localize(1421, "Apr"), nls.localize(1422, "May"), nls.localize(1423, "Jun"), nls.localize(1424, "Jul"), nls.localize(1425, "Aug"), nls.localize(1426, "Sep"), nls.localize(1427, "Oct"), nls.localize(1428, "Nov"), nls.localize(1429, "Dec")]; }
248
+ static { this.dayNames = [nls.localize(1395, "Sunday"), nls.localize(1396, "Monday"), nls.localize(1397, "Tuesday"), nls.localize(1398, "Wednesday"), nls.localize(1399, "Thursday"), nls.localize(1400, "Friday"), nls.localize(1401, "Saturday")]; }
249
+ static { this.dayNamesShort = [nls.localize(1402, "Sun"), nls.localize(1403, "Mon"), nls.localize(1404, "Tue"), nls.localize(1405, "Wed"), nls.localize(1406, "Thu"), nls.localize(1407, "Fri"), nls.localize(1408, "Sat")]; }
250
+ static { this.monthNames = [nls.localize(1409, "January"), nls.localize(1410, "February"), nls.localize(1411, "March"), nls.localize(1412, "April"), nls.localize(1413, "May"), nls.localize(1414, "June"), nls.localize(1415, "July"), nls.localize(1416, "August"), nls.localize(1417, "September"), nls.localize(1418, "October"), nls.localize(1419, "November"), nls.localize(1420, "December")]; }
251
+ static { this.monthNamesShort = [nls.localize(1421, "Jan"), nls.localize(1422, "Feb"), nls.localize(1423, "Mar"), nls.localize(1424, "Apr"), nls.localize(1425, "May"), nls.localize(1426, "Jun"), nls.localize(1427, "Jul"), nls.localize(1428, "Aug"), nls.localize(1429, "Sep"), nls.localize(1430, "Oct"), nls.localize(1431, "Nov"), nls.localize(1432, "Dec")]; }
252
252
  resolve(variable) {
253
253
  const { name } = variable;
254
254
  if (name === 'CURRENT_YEAR') {
@@ -15,17 +15,17 @@ export class ToggleStickyScroll extends EditorAction2 {
15
15
  super({
16
16
  id: 'editor.action.toggleStickyScroll',
17
17
  title: {
18
- ...localize2(1434, "Toggle Editor Sticky Scroll"),
19
- mnemonicTitle: localize(1430, "&&Toggle Editor Sticky Scroll"),
18
+ ...localize2(1437, "Toggle Editor Sticky Scroll"),
19
+ mnemonicTitle: localize(1433, "&&Toggle Editor Sticky Scroll"),
20
20
  },
21
21
  metadata: {
22
- description: localize2(1435, "Toggle/enable the editor sticky scroll which shows the nested scopes at the top of the viewport"),
22
+ description: localize2(1438, "Toggle/enable the editor sticky scroll which shows the nested scopes at the top of the viewport"),
23
23
  },
24
24
  category: Categories.View,
25
25
  toggled: {
26
26
  condition: ContextKeyExpr.equals('config.editor.stickyScroll.enabled', true),
27
- title: localize(1431, "Sticky Scroll"),
28
- mnemonicTitle: localize(1432, "&&Sticky Scroll"),
27
+ title: localize(1434, "Sticky Scroll"),
28
+ mnemonicTitle: localize(1435, "&&Sticky Scroll"),
29
29
  },
30
30
  menu: [
31
31
  { id: MenuId.CommandPalette },
@@ -50,8 +50,8 @@ export class FocusStickyScroll extends EditorAction2 {
50
50
  super({
51
51
  id: 'editor.action.focusStickyScroll',
52
52
  title: {
53
- ...localize2(1436, "Focus Editor Sticky Scroll"),
54
- mnemonicTitle: localize(1433, "&&Focus Editor Sticky Scroll"),
53
+ ...localize2(1439, "Focus Editor Sticky Scroll"),
54
+ mnemonicTitle: localize(1436, "&&Focus Editor Sticky Scroll"),
55
55
  },
56
56
  precondition: ContextKeyExpr.and(ContextKeyExpr.has('config.editor.stickyScroll.enabled'), EditorContextKeys.stickyScrollVisible),
57
57
  menu: [
@@ -67,7 +67,7 @@ export class SelectNextStickyScrollLine extends EditorAction2 {
67
67
  constructor() {
68
68
  super({
69
69
  id: 'editor.action.selectNextStickyScrollLine',
70
- title: localize2(1437, "Select the next editor sticky scroll line"),
70
+ title: localize2(1440, "Select the next editor sticky scroll line"),
71
71
  precondition: EditorContextKeys.stickyScrollFocused.isEqualTo(true),
72
72
  keybinding: {
73
73
  weight,
@@ -83,7 +83,7 @@ export class SelectPreviousStickyScrollLine extends EditorAction2 {
83
83
  constructor() {
84
84
  super({
85
85
  id: 'editor.action.selectPreviousStickyScrollLine',
86
- title: localize2(1438, "Select the previous sticky scroll line"),
86
+ title: localize2(1441, "Select the previous sticky scroll line"),
87
87
  precondition: EditorContextKeys.stickyScrollFocused.isEqualTo(true),
88
88
  keybinding: {
89
89
  weight,
@@ -99,7 +99,7 @@ export class GoToStickyScrollLine extends EditorAction2 {
99
99
  constructor() {
100
100
  super({
101
101
  id: 'editor.action.goToFocusedStickyScrollLine',
102
- title: localize2(1439, "Go to the focused sticky scroll line"),
102
+ title: localize2(1442, "Go to the focused sticky scroll line"),
103
103
  precondition: EditorContextKeys.stickyScrollFocused.isEqualTo(true),
104
104
  keybinding: {
105
105
  weight,
@@ -115,7 +115,7 @@ export class SelectEditor extends EditorAction2 {
115
115
  constructor() {
116
116
  super({
117
117
  id: 'editor.action.selectEditor',
118
- title: localize2(1440, "Select Editor"),
118
+ title: localize2(1443, "Select Editor"),
119
119
  precondition: EditorContextKeys.stickyScrollFocused.isEqualTo(true),
120
120
  keybinding: {
121
121
  weight,
@@ -43,7 +43,7 @@ export class StickyScrollWidget extends Disposable {
43
43
  get height() { return this._height; }
44
44
  constructor(editor) {
45
45
  super();
46
- this._foldingIconStore = new DisposableStore();
46
+ this._foldingIconStore = this._register(new DisposableStore());
47
47
  this._rootDomNode = document.createElement('div');
48
48
  this._lineNumbersDomNode = document.createElement('div');
49
49
  this._linesDomNodeScrollable = document.createElement('div');
@@ -92,7 +92,6 @@ export class StickyScrollWidget extends Disposable {
92
92
  updateScrollLeftPosition();
93
93
  this._updateWidgetWidth();
94
94
  }));
95
- this._register(this._foldingIconStore);
96
95
  updateScrollLeftPosition();
97
96
  this._register(this._editor.onDidLayoutChange((e) => {
98
97
  this._updateWidgetWidth();
@@ -242,6 +241,7 @@ export class StickyScrollWidget extends Disposable {
242
241
  if (showFoldingControls !== 'mouseover') {
243
242
  return;
244
243
  }
244
+ this._foldingIconStore.clear();
245
245
  this._foldingIconStore.add(dom.addDisposableListener(this._lineNumbersDomNode, dom.EventType.MOUSE_ENTER, () => {
246
246
  this._isOnGlyphMargin = true;
247
247
  this._setFoldingIconsVisibility(true);