monaco-editor-core 0.54.0-dev-20250910 → 0.54.0-dev-20250912

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 (278) hide show
  1. package/esm/nls.keys.json +1 -1
  2. package/esm/nls.messages.de.js +2 -2
  3. package/esm/nls.messages.es.js +2 -2
  4. package/esm/nls.messages.fr.js +2 -2
  5. package/esm/nls.messages.it.js +2 -2
  6. package/esm/nls.messages.ja.js +2 -2
  7. package/esm/nls.messages.js +1 -1
  8. package/esm/nls.messages.json +1 -1
  9. package/esm/nls.messages.ko.js +2 -2
  10. package/esm/nls.messages.ru.js +2 -2
  11. package/esm/nls.messages.zh-cn.js +2 -2
  12. package/esm/nls.messages.zh-tw.js +2 -2
  13. package/esm/nls.metadata.json +8 -2
  14. package/esm/vs/base/browser/domSanitize.js +32 -21
  15. package/esm/vs/base/browser/domSanitize.js.map +1 -1
  16. package/esm/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
  17. package/esm/vs/base/browser/ui/menu/menu.js +2 -0
  18. package/esm/vs/base/browser/ui/menu/menu.js.map +1 -1
  19. package/esm/vs/base/common/codiconsLibrary.js +2 -0
  20. package/esm/vs/base/common/codiconsLibrary.js.map +1 -1
  21. package/esm/vs/base/common/observableInternal/index.js +3 -0
  22. package/esm/vs/base/common/observableInternal/index.js.map +1 -1
  23. package/esm/vs/base/common/observableInternal/logging/debugGetDependencyGraph.js +71 -0
  24. package/esm/vs/base/common/observableInternal/logging/debugGetDependencyGraph.js.map +1 -0
  25. package/esm/vs/base/common/observableInternal/observables/baseObservable.js +4 -0
  26. package/esm/vs/base/common/observableInternal/observables/baseObservable.js.map +1 -1
  27. package/esm/vs/base/common/observableInternal/observables/derivedImpl.js +10 -0
  28. package/esm/vs/base/common/observableInternal/observables/derivedImpl.js.map +1 -1
  29. package/esm/vs/base/common/observableInternal/observables/observableFromEvent.js +3 -0
  30. package/esm/vs/base/common/observableInternal/observables/observableFromEvent.js.map +1 -1
  31. package/esm/vs/base/common/observableInternal/reactions/autorunImpl.js +9 -0
  32. package/esm/vs/base/common/observableInternal/reactions/autorunImpl.js.map +1 -1
  33. package/esm/vs/editor/browser/config/editorConfiguration.js +1 -1
  34. package/esm/vs/editor/browser/controller/dragScrolling.js +4 -4
  35. package/esm/vs/editor/browser/controller/editContext/native/nativeEditContext.js +3 -3
  36. package/esm/vs/editor/browser/controller/editContext/native/screenReaderContentRich.js +3 -3
  37. package/esm/vs/editor/browser/controller/editContext/native/screenReaderSupport.js +6 -6
  38. package/esm/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +9 -9
  39. package/esm/vs/editor/browser/controller/mouseHandler.js +6 -6
  40. package/esm/vs/editor/browser/controller/mouseTarget.js +3 -3
  41. package/esm/vs/editor/browser/coreCommands.js +2 -2
  42. package/esm/vs/editor/browser/gpu/rectangleRenderer.js +1 -1
  43. package/esm/vs/editor/browser/gpu/viewGpuContext.js +1 -1
  44. package/esm/vs/editor/browser/observableCodeEditor.js +1 -1
  45. package/esm/vs/editor/browser/view/viewController.js +2 -2
  46. package/esm/vs/editor/browser/view/viewLayer.js +1 -1
  47. package/esm/vs/editor/browser/view/viewOverlays.js +4 -4
  48. package/esm/vs/editor/browser/view.js +5 -5
  49. package/esm/vs/editor/browser/viewParts/blockDecorations/blockDecorations.js +1 -1
  50. package/esm/vs/editor/browser/viewParts/contentWidgets/contentWidgets.js +3 -3
  51. package/esm/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.js +6 -6
  52. package/esm/vs/editor/browser/viewParts/editorScrollbar/editorScrollbar.js +8 -8
  53. package/esm/vs/editor/browser/viewParts/glyphMargin/glyphMargin.js +2 -2
  54. package/esm/vs/editor/browser/viewParts/indentGuides/indentGuides.js +2 -2
  55. package/esm/vs/editor/browser/viewParts/lineNumbers/lineNumbers.js +2 -2
  56. package/esm/vs/editor/browser/viewParts/linesDecorations/linesDecorations.js +2 -2
  57. package/esm/vs/editor/browser/viewParts/margin/margin.js +2 -2
  58. package/esm/vs/editor/browser/viewParts/minimap/minimap.js +5 -5
  59. package/esm/vs/editor/browser/viewParts/overlayWidgets/overlayWidgets.js +2 -2
  60. package/esm/vs/editor/browser/viewParts/overviewRuler/decorationsOverviewRuler.js +4 -4
  61. package/esm/vs/editor/browser/viewParts/overviewRuler/overviewRuler.js +3 -3
  62. package/esm/vs/editor/browser/viewParts/rulers/rulers.js +2 -2
  63. package/esm/vs/editor/browser/viewParts/rulersGpu/rulersGpu.js +1 -1
  64. package/esm/vs/editor/browser/viewParts/scrollDecoration/scrollDecoration.js +3 -3
  65. package/esm/vs/editor/browser/viewParts/selections/selections.js +2 -2
  66. package/esm/vs/editor/browser/viewParts/viewCursors/viewCursor.js +2 -2
  67. package/esm/vs/editor/browser/viewParts/viewCursors/viewCursors.js +6 -6
  68. package/esm/vs/editor/browser/viewParts/viewLines/viewLineOptions.js +4 -4
  69. package/esm/vs/editor/browser/viewParts/viewLines/viewLines.js +11 -11
  70. package/esm/vs/editor/browser/viewParts/viewLinesGpu/viewLinesGpu.js +1 -1
  71. package/esm/vs/editor/browser/viewParts/viewZones/viewZones.js +2 -2
  72. package/esm/vs/editor/browser/viewParts/whitespace/whitespace.js +4 -4
  73. package/esm/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +12 -12
  74. package/esm/vs/editor/browser/widget/diffEditor/commands.js +12 -1
  75. package/esm/vs/editor/browser/widget/diffEditor/commands.js.map +1 -1
  76. package/esm/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +4 -4
  77. package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +3 -3
  78. package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +2 -2
  79. package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/renderLines.js +2 -2
  80. package/esm/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +25 -0
  81. package/esm/vs/editor/browser/widget/diffEditor/diffEditorWidget.js.map +1 -1
  82. package/esm/vs/editor/browser/widget/diffEditor/features/gutterFeature.js +1 -1
  83. package/esm/vs/editor/browser/widget/diffEditor/features/overviewRulerFeature.js +1 -1
  84. package/esm/vs/editor/common/config/editorOptions.js +155 -154
  85. package/esm/vs/editor/common/config/editorOptions.js.map +1 -1
  86. package/esm/vs/editor/common/core/editorColorRegistry.js +68 -68
  87. package/esm/vs/editor/common/core/ranges/lineRange.js +3 -0
  88. package/esm/vs/editor/common/core/ranges/lineRange.js.map +1 -1
  89. package/esm/vs/editor/common/cursorCommon.js +19 -19
  90. package/esm/vs/editor/common/editorContextKeys.js +46 -46
  91. package/esm/vs/editor/common/languages/modesRegistry.js +1 -1
  92. package/esm/vs/editor/common/languages.js +56 -56
  93. package/esm/vs/editor/common/model/editStack.js +1 -1
  94. package/esm/vs/editor/common/standalone/standaloneEnums.js +86 -85
  95. package/esm/vs/editor/common/standalone/standaloneEnums.js.map +1 -1
  96. package/esm/vs/editor/common/standaloneStrings.js +10 -10
  97. package/esm/vs/editor/common/viewLayout/viewLayout.js +15 -15
  98. package/esm/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
  99. package/esm/vs/editor/common/viewModel/monospaceLineBreaksComputer.js +1 -1
  100. package/esm/vs/editor/common/viewModel/viewModelImpl.js +14 -14
  101. package/esm/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
  102. package/esm/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
  103. package/esm/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
  104. package/esm/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
  105. package/esm/vs/editor/contrib/clipboard/browser/clipboard.js +20 -20
  106. package/esm/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
  107. package/esm/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -29
  108. package/esm/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
  109. package/esm/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
  110. package/esm/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
  111. package/esm/vs/editor/contrib/codeAction/browser/codeActionModel.js +1 -1
  112. package/esm/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
  113. package/esm/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
  114. package/esm/vs/editor/contrib/colorPicker/browser/colorDetector.js +3 -3
  115. package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
  116. package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
  117. package/esm/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerContribution.js +1 -1
  118. package/esm/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +2 -2
  119. package/esm/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
  120. package/esm/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerParticipant.js +1 -1
  121. package/esm/vs/editor/contrib/comment/browser/comment.js +6 -6
  122. package/esm/vs/editor/contrib/contextmenu/browser/contextmenu.js +12 -12
  123. package/esm/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
  124. package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
  125. package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +12 -12
  126. package/esm/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
  127. package/esm/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
  128. package/esm/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
  129. package/esm/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
  130. package/esm/vs/editor/contrib/find/browser/findController.js +17 -17
  131. package/esm/vs/editor/contrib/find/browser/findModel.js +6 -6
  132. package/esm/vs/editor/contrib/find/browser/findWidget.js +32 -32
  133. package/esm/vs/editor/contrib/folding/browser/folding.js +23 -23
  134. package/esm/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
  135. package/esm/vs/editor/contrib/folding/browser/foldingDecorations.js.map +1 -1
  136. package/esm/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
  137. package/esm/vs/editor/contrib/format/browser/formatActions.js +2 -2
  138. package/esm/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
  139. package/esm/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
  140. package/esm/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
  141. package/esm/vs/editor/contrib/gotoSymbol/browser/link/clickLinkGesture.js +21 -11
  142. package/esm/vs/editor/contrib/gotoSymbol/browser/link/clickLinkGesture.js.map +1 -1
  143. package/esm/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +2 -2
  144. package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +4 -4
  145. package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
  146. package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
  147. package/esm/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
  148. package/esm/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
  149. package/esm/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
  150. package/esm/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
  151. package/esm/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
  152. package/esm/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +10 -10
  153. package/esm/vs/editor/contrib/hover/browser/markerHoverParticipant.js +6 -6
  154. package/esm/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
  155. package/esm/vs/editor/contrib/indentation/browser/indentation.js +20 -20
  156. package/esm/vs/editor/contrib/inlayHints/browser/inlayHintsController.js +5 -5
  157. package/esm/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
  158. package/esm/vs/editor/contrib/inlayHints/browser/inlayHintsLocations.js +2 -2
  159. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +19 -19
  160. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +12 -12
  161. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +2 -2
  162. package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +1 -1
  163. package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
  164. package/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +1 -1
  165. package/esm/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.js +5 -5
  166. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +5 -5
  167. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +4 -1
  168. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js.map +1 -1
  169. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +1 -1
  170. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js +2 -0
  171. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js.map +1 -1
  172. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewProducer.js +1 -0
  173. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewProducer.js.map +1 -1
  174. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +22 -21
  175. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js.map +1 -1
  176. package/esm/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
  177. package/esm/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
  178. package/esm/vs/editor/contrib/linesOperations/browser/linesOperations.js +32 -32
  179. package/esm/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +4 -4
  180. package/esm/vs/editor/contrib/links/browser/links.js +11 -11
  181. package/esm/vs/editor/contrib/links/browser/links.js.map +1 -1
  182. package/esm/vs/editor/contrib/longLinesHelper/browser/longLinesHelper.js +1 -1
  183. package/esm/vs/editor/contrib/message/browser/messageController.js +1 -1
  184. package/esm/vs/editor/contrib/middleScroll/browser/middleScrollController.js +1 -1
  185. package/esm/vs/editor/contrib/multicursor/browser/multicursor.js +36 -36
  186. package/esm/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
  187. package/esm/vs/editor/contrib/parameterHints/browser/parameterHintsModel.js +3 -3
  188. package/esm/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
  189. package/esm/vs/editor/contrib/peekView/browser/peekView.js +18 -18
  190. package/esm/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
  191. package/esm/vs/editor/contrib/placeholderText/browser/placeholderTextContribution.js +1 -1
  192. package/esm/vs/editor/contrib/placeholderText/browser/placeholderTextContribution.js.map +1 -1
  193. package/esm/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +5 -5
  194. package/esm/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
  195. package/esm/vs/editor/contrib/readOnlyMessage/browser/contribution.js +3 -3
  196. package/esm/vs/editor/contrib/rename/browser/rename.js +11 -11
  197. package/esm/vs/editor/contrib/rename/browser/renameWidget.js +7 -7
  198. package/esm/vs/editor/contrib/smartSelect/browser/smartSelect.js +5 -5
  199. package/esm/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
  200. package/esm/vs/editor/contrib/snippet/browser/snippetSession.js +2 -2
  201. package/esm/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
  202. package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
  203. package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +17 -24
  204. package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js.map +1 -1
  205. package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollModelProvider.js +1 -1
  206. package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.js +12 -3
  207. package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.js.map +1 -1
  208. package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +5 -5
  209. package/esm/vs/editor/contrib/suggest/browser/suggest.js +8 -8
  210. package/esm/vs/editor/contrib/suggest/browser/suggestController.js +14 -14
  211. package/esm/vs/editor/contrib/suggest/browser/suggestInlineCompletions.js +2 -2
  212. package/esm/vs/editor/contrib/suggest/browser/suggestModel.js +11 -11
  213. package/esm/vs/editor/contrib/suggest/browser/suggestWidget.js +23 -23
  214. package/esm/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +5 -5
  215. package/esm/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +5 -5
  216. package/esm/vs/editor/contrib/suggest/browser/wordContextKey.js +3 -3
  217. package/esm/vs/editor/contrib/suggest/browser/wordDistance.js +1 -1
  218. package/esm/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
  219. package/esm/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
  220. package/esm/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
  221. package/esm/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
  222. package/esm/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +27 -27
  223. package/esm/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +9 -9
  224. package/esm/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
  225. package/esm/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +7 -7
  226. package/esm/vs/editor/contrib/wordOperations/browser/wordOperations.js +4 -4
  227. package/esm/vs/editor/editor.api.d.ts +93 -85
  228. package/esm/vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard.js +1 -1
  229. package/esm/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
  230. package/esm/vs/platform/action/common/actionCommonCategories.js +6 -6
  231. package/esm/vs/platform/actionWidget/browser/actionList.js +4 -4
  232. package/esm/vs/platform/actionWidget/browser/actionWidget.js +7 -7
  233. package/esm/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
  234. package/esm/vs/platform/actions/browser/toolbar.js +2 -2
  235. package/esm/vs/platform/actions/common/menuService.js +2 -2
  236. package/esm/vs/platform/configuration/common/configurationRegistry.js +10 -10
  237. package/esm/vs/platform/contextkey/browser/contextKeyService.js +1 -1
  238. package/esm/vs/platform/contextkey/common/contextkey.js +9 -9
  239. package/esm/vs/platform/contextkey/common/contextkeys.js +9 -9
  240. package/esm/vs/platform/contextkey/common/scanner.js +5 -5
  241. package/esm/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
  242. package/esm/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
  243. package/esm/vs/platform/list/browser/listService.js +27 -27
  244. package/esm/vs/platform/markers/common/markerService.js +2 -2
  245. package/esm/vs/platform/markers/common/markers.js +6 -6
  246. package/esm/vs/platform/quickinput/browser/commandsQuickAccess.js +7 -7
  247. package/esm/vs/platform/quickinput/browser/helpQuickAccess.js +1 -1
  248. package/esm/vs/platform/quickinput/browser/quickInput.js +21 -13
  249. package/esm/vs/platform/quickinput/browser/quickInput.js.map +1 -1
  250. package/esm/vs/platform/quickinput/browser/quickInputActions.js +42 -8
  251. package/esm/vs/platform/quickinput/browser/quickInputActions.js.map +1 -1
  252. package/esm/vs/platform/quickinput/browser/quickInputController.js +10 -64
  253. package/esm/vs/platform/quickinput/browser/quickInputController.js.map +1 -1
  254. package/esm/vs/platform/quickinput/browser/quickInputList.js +1 -1
  255. package/esm/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
  256. package/esm/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
  257. package/esm/vs/platform/quickinput/browser/tree/quickInputTreeController.js +12 -0
  258. package/esm/vs/platform/quickinput/browser/tree/quickInputTreeController.js.map +1 -1
  259. package/esm/vs/platform/quickinput/browser/tree/quickInputTreeRenderer.js +11 -5
  260. package/esm/vs/platform/quickinput/browser/tree/quickInputTreeRenderer.js.map +1 -1
  261. package/esm/vs/platform/quickinput/common/quickInput.js.map +1 -1
  262. package/esm/vs/platform/theme/common/colorUtils.js +2 -2
  263. package/esm/vs/platform/theme/common/colors/baseColors.js +17 -17
  264. package/esm/vs/platform/theme/common/colors/chartsColors.js +8 -8
  265. package/esm/vs/platform/theme/common/colors/editorColors.js +95 -95
  266. package/esm/vs/platform/theme/common/colors/inputColors.js +47 -47
  267. package/esm/vs/platform/theme/common/colors/listColors.js +36 -36
  268. package/esm/vs/platform/theme/common/colors/menuColors.js +7 -7
  269. package/esm/vs/platform/theme/common/colors/minimapColors.js +11 -11
  270. package/esm/vs/platform/theme/common/colors/miscColors.js +15 -15
  271. package/esm/vs/platform/theme/common/colors/quickpickColors.js +9 -9
  272. package/esm/vs/platform/theme/common/colors/searchColors.js +3 -3
  273. package/esm/vs/platform/theme/common/iconRegistry.js +6 -6
  274. package/esm/vs/platform/undoRedo/common/undoRedoService.js +20 -20
  275. package/esm/vs/platform/workspace/common/workspace.js +1 -1
  276. package/monaco.d.ts +93 -85
  277. package/package.json +6 -2
  278. package/version.txt +1 -1
@@ -12,15 +12,15 @@ export class ShowOrFocusStandaloneColorPicker extends EditorAction2 {
12
12
  super({
13
13
  id: 'editor.action.showOrFocusStandaloneColorPicker',
14
14
  title: {
15
- ...localize2(881, "Show or Focus Standalone Color Picker"),
16
- mnemonicTitle: localize(880, "&&Show or Focus Standalone Color Picker"),
15
+ ...localize2(882, "Show or Focus Standalone Color Picker"),
16
+ mnemonicTitle: localize(881, "&&Show or Focus Standalone Color Picker"),
17
17
  },
18
18
  precondition: undefined,
19
19
  menu: [
20
20
  { id: MenuId.CommandPalette },
21
21
  ],
22
22
  metadata: {
23
- description: localize2(882, "Show or focus a standalone color picker which uses the default color provider. It displays hex/rgb/hsl colors."),
23
+ description: localize2(883, "Show or focus a standalone color picker which uses the default color provider. It displays hex/rgb/hsl colors."),
24
24
  }
25
25
  });
26
26
  }
@@ -32,7 +32,7 @@ export class HideStandaloneColorPicker extends EditorAction {
32
32
  constructor() {
33
33
  super({
34
34
  id: 'editor.action.hideColorPicker',
35
- label: localize2(883, "Hide the Color Picker"),
35
+ label: localize2(884, "Hide the Color Picker"),
36
36
 
37
37
 
38
38
 
@@ -44,7 +44,7 @@ export class HideStandaloneColorPicker extends EditorAction {
44
44
  weight: 100 /* KeybindingWeight.EditorContrib */
45
45
  },
46
46
  metadata: {
47
- description: localize2(884, "Hide the standalone color picker."),
47
+ description: localize2(885, "Hide the standalone color picker."),
48
48
  }
49
49
  });
50
50
  }
@@ -56,7 +56,7 @@ export class InsertColorWithStandaloneColorPicker extends EditorAction {
56
56
  constructor() {
57
57
  super({
58
58
  id: 'editor.action.insertColorWithStandaloneColorPicker',
59
- label: localize2(885, "Insert Color with Standalone Color Picker"),
59
+ label: localize2(886, "Insert Color with Standalone Color Picker"),
60
60
 
61
61
 
62
62
 
@@ -68,7 +68,7 @@ export class InsertColorWithStandaloneColorPicker extends EditorAction {
68
68
  weight: 100 /* KeybindingWeight.EditorContrib */
69
69
  },
70
70
  metadata: {
71
- description: localize2(886, "Insert hex/rgb/hsl colors with the focused standalone color picker."),
71
+ description: localize2(887, "Insert hex/rgb/hsl colors with the focused standalone color picker."),
72
72
  }
73
73
  });
74
74
  }
@@ -37,7 +37,7 @@ export class StandaloneColorPickerRenderedParts extends Disposable {
37
37
  const editorModel = editor.getModel();
38
38
  const colorPickerModel = colorHover.model;
39
39
  this.color = colorHover.model.color;
40
- this.colorPicker = this._register(new ColorPickerWidget(context.fragment, colorPickerModel, editor.getOption(162 /* EditorOption.pixelRatio */), themeService, "standalone" /* ColorPickerWidgetType.Standalone */));
40
+ this.colorPicker = this._register(new ColorPickerWidget(context.fragment, colorPickerModel, editor.getOption(163 /* EditorOption.pixelRatio */), themeService, "standalone" /* ColorPickerWidgetType.Standalone */));
41
41
  this._register(colorPickerModel.onColorFlushed((color) => {
42
42
  this.color = color;
43
43
  }));
@@ -56,7 +56,7 @@ class ToggleCommentLineAction extends CommentLineAction {
56
56
  constructor() {
57
57
  super(0 /* Type.Toggle */, {
58
58
  id: 'editor.action.commentLine',
59
- label: nls.localize2(889, "Toggle Line Comment"),
59
+ label: nls.localize2(890, "Toggle Line Comment"),
60
60
  precondition: EditorContextKeys.writable,
61
61
  kbOpts: {
62
62
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -66,7 +66,7 @@ class ToggleCommentLineAction extends CommentLineAction {
66
66
  menuOpts: {
67
67
  menuId: MenuId.MenubarEditMenu,
68
68
  group: '5_insert',
69
- title: nls.localize(887, "&&Toggle Line Comment"),
69
+ title: nls.localize(888, "&&Toggle Line Comment"),
70
70
  order: 1
71
71
  }
72
72
  });
@@ -76,7 +76,7 @@ class AddLineCommentAction extends CommentLineAction {
76
76
  constructor() {
77
77
  super(1 /* Type.ForceAdd */, {
78
78
  id: 'editor.action.addCommentLine',
79
- label: nls.localize2(890, "Add Line Comment"),
79
+ label: nls.localize2(891, "Add Line Comment"),
80
80
  precondition: EditorContextKeys.writable,
81
81
  kbOpts: {
82
82
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -90,7 +90,7 @@ class RemoveLineCommentAction extends CommentLineAction {
90
90
  constructor() {
91
91
  super(2 /* Type.ForceRemove */, {
92
92
  id: 'editor.action.removeCommentLine',
93
- label: nls.localize2(891, "Remove Line Comment"),
93
+ label: nls.localize2(892, "Remove Line Comment"),
94
94
  precondition: EditorContextKeys.writable,
95
95
  kbOpts: {
96
96
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -104,7 +104,7 @@ class BlockCommentAction extends EditorAction {
104
104
  constructor() {
105
105
  super({
106
106
  id: 'editor.action.blockComment',
107
- label: nls.localize2(892, "Toggle Block Comment"),
107
+ label: nls.localize2(893, "Toggle Block Comment"),
108
108
  precondition: EditorContextKeys.writable,
109
109
  kbOpts: {
110
110
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -115,7 +115,7 @@ class BlockCommentAction extends EditorAction {
115
115
  menuOpts: {
116
116
  menuId: MenuId.MenubarEditMenu,
117
117
  group: '5_insert',
118
- title: nls.localize(888, "Toggle &&Block Comment"),
118
+ title: nls.localize(889, "Toggle &&Block Comment"),
119
119
  order: 2
120
120
  }
121
121
  });
@@ -176,7 +176,7 @@ let ContextMenuController = class ContextMenuController {
176
176
  const posy = editorCoords.top + cursorCoords.top + cursorCoords.height;
177
177
  anchor = { x: posx, y: posy };
178
178
  }
179
- const useShadowDOM = this._editor.getOption(143 /* EditorOption.useShadowDOM */) && !isIOS; // Do not use shadow dom on IOS #122035
179
+ const useShadowDOM = this._editor.getOption(144 /* EditorOption.useShadowDOM */) && !isIOS; // Do not use shadow dom on IOS #122035
180
180
  // Show menu
181
181
  this._contextMenuIsBeingShownCount++;
182
182
  this._contextMenuService.showContextMenu({
@@ -247,7 +247,7 @@ let ContextMenuController = class ContextMenuController {
247
247
  };
248
248
  const actions = [];
249
249
  actions.push(createAction({
250
- label: nls.localize(893, "Minimap"),
250
+ label: nls.localize(894, "Minimap"),
251
251
  checked: minimapOptions.enabled,
252
252
  run: () => {
253
253
  this._configurationService.updateValue(`editor.minimap.enabled`, !minimapOptions.enabled);
@@ -255,31 +255,31 @@ let ContextMenuController = class ContextMenuController {
255
255
  }));
256
256
  actions.push(new Separator());
257
257
  actions.push(createAction({
258
- label: nls.localize(894, "Render Characters"),
258
+ label: nls.localize(895, "Render Characters"),
259
259
  enabled: minimapOptions.enabled,
260
260
  checked: minimapOptions.renderCharacters,
261
261
  run: () => {
262
262
  this._configurationService.updateValue(`editor.minimap.renderCharacters`, !minimapOptions.renderCharacters);
263
263
  }
264
264
  }));
265
- actions.push(createEnumAction(nls.localize(895, "Vertical size"), minimapOptions.enabled, 'editor.minimap.size', minimapOptions.size, [{
266
- label: nls.localize(896, "Proportional"),
265
+ actions.push(createEnumAction(nls.localize(896, "Vertical size"), minimapOptions.enabled, 'editor.minimap.size', minimapOptions.size, [{
266
+ label: nls.localize(897, "Proportional"),
267
267
  value: 'proportional'
268
268
  }, {
269
- label: nls.localize(897, "Fill"),
269
+ label: nls.localize(898, "Fill"),
270
270
  value: 'fill'
271
271
  }, {
272
- label: nls.localize(898, "Fit"),
272
+ label: nls.localize(899, "Fit"),
273
273
  value: 'fit'
274
274
  }]));
275
- actions.push(createEnumAction(nls.localize(899, "Slider"), minimapOptions.enabled, 'editor.minimap.showSlider', minimapOptions.showSlider, [{
276
- label: nls.localize(900, "Mouse Over"),
275
+ actions.push(createEnumAction(nls.localize(900, "Slider"), minimapOptions.enabled, 'editor.minimap.showSlider', minimapOptions.showSlider, [{
276
+ label: nls.localize(901, "Mouse Over"),
277
277
  value: 'mouseover'
278
278
  }, {
279
- label: nls.localize(901, "Always"),
279
+ label: nls.localize(902, "Always"),
280
280
  value: 'always'
281
281
  }]));
282
- const useShadowDOM = this._editor.getOption(143 /* EditorOption.useShadowDOM */) && !isIOS; // Do not use shadow dom on IOS #122035
282
+ const useShadowDOM = this._editor.getOption(144 /* EditorOption.useShadowDOM */) && !isIOS; // Do not use shadow dom on IOS #122035
283
283
  this._contextMenuIsBeingShownCount++;
284
284
  this._contextMenuService.showContextMenu({
285
285
  domForShadowRoot: useShadowDOM ? this._editor.getDomNode() : undefined,
@@ -315,7 +315,7 @@ class ShowContextMenu extends EditorAction {
315
315
  constructor() {
316
316
  super({
317
317
  id: 'editor.action.showContextMenu',
318
- label: nls.localize2(902, "Show Editor Context Menu"),
318
+ label: nls.localize2(903, "Show Editor Context Menu"),
319
319
  precondition: undefined,
320
320
  kbOpts: {
321
321
  kbExpr: EditorContextKeys.textInputFocus,
@@ -100,7 +100,7 @@ export class CursorUndo extends EditorAction {
100
100
  constructor() {
101
101
  super({
102
102
  id: 'cursorUndo',
103
- label: nls.localize2(903, "Cursor Undo"),
103
+ label: nls.localize2(904, "Cursor Undo"),
104
104
  precondition: undefined,
105
105
  kbOpts: {
106
106
  kbExpr: EditorContextKeys.textInputFocus,
@@ -117,7 +117,7 @@ export class CursorRedo extends EditorAction {
117
117
  constructor() {
118
118
  super({
119
119
  id: 'cursorRedo',
120
- label: nls.localize2(904, "Cursor Redo"),
120
+ label: nls.localize2(905, "Cursor Redo"),
121
121
  precondition: undefined
122
122
  });
123
123
  }
@@ -51,7 +51,7 @@ registerEditorAction(class PasteAsAction extends EditorAction {
51
51
  properties: {
52
52
  kind: {
53
53
  type: 'string',
54
- description: nls.localize(905, "The kind of the paste edit to try pasting with.\nIf there are multiple edits for this kind, the editor will show a picker. If there are no edits of this kind, the editor will show an error message."),
54
+ description: nls.localize(906, "The kind of the paste edit to try pasting with.\nIf there are multiple edits for this kind, the editor will show a picker. If there are no edits of this kind, the editor will show an error message."),
55
55
  }
56
56
  },
57
57
  },
@@ -61,7 +61,7 @@ registerEditorAction(class PasteAsAction extends EditorAction {
61
61
  properties: {
62
62
  preferences: {
63
63
  type: 'array',
64
- description: nls.localize(906, "List of preferred paste edit kind to try applying.\nThe first edit matching the preferences will be applied."),
64
+ description: nls.localize(907, "List of preferred paste edit kind to try applying.\nThe first edit matching the preferences will be applied."),
65
65
  items: { type: 'string' }
66
66
  }
67
67
  },
@@ -71,7 +71,7 @@ registerEditorAction(class PasteAsAction extends EditorAction {
71
71
  constructor() {
72
72
  super({
73
73
  id: pasteAsCommandId,
74
- label: nls.localize2(907, "Paste As..."),
74
+ label: nls.localize2(908, "Paste As..."),
75
75
  precondition: EditorContextKeys.writable,
76
76
  metadata: {
77
77
  description: 'Paste as',
@@ -99,7 +99,7 @@ registerEditorAction(class extends EditorAction {
99
99
  constructor() {
100
100
  super({
101
101
  id: 'editor.action.pasteAsText',
102
- label: nls.localize2(908, "Paste as Text"),
102
+ label: nls.localize2(909, "Paste as Text"),
103
103
  precondition: EditorContextKeys.writable,
104
104
  });
105
105
  }
@@ -47,7 +47,7 @@ import { createCombinedWorkspaceEdit, sortEditsByYieldTo } from './edit.js';
47
47
  import { PostEditWidgetManager } from './postEditWidget.js';
48
48
  export const changePasteTypeCommandId = 'editor.changePasteType';
49
49
  export const pasteAsPreferenceConfig = 'editor.pasteAs.preferences';
50
- export const pasteWidgetVisibleCtx = new RawContextKey('pasteWidgetVisible', false, localize(909, "Whether the paste widget is showing"));
50
+ export const pasteWidgetVisibleCtx = new RawContextKey('pasteWidgetVisible', false, localize(910, "Whether the paste widget is showing"));
51
51
  const vscodeClipboardMime = 'application/vnd.code.copymetadata';
52
52
  let CopyPasteController = class CopyPasteController extends Disposable {
53
53
  static { CopyPasteController_1 = this; }
@@ -71,7 +71,7 @@ let CopyPasteController = class CopyPasteController extends Disposable {
71
71
  this._register(addDisposableListener(container, 'cut', e => this.handleCopy(e)));
72
72
  this._register(addDisposableListener(container, 'paste', e => this.handlePaste(e), true));
73
73
  this._pasteProgressManager = this._register(new InlineProgressManager('pasteIntoEditor', editor, instantiationService));
74
- this._postPasteWidgetManager = this._register(instantiationService.createInstance(PostEditWidgetManager, 'pasteIntoEditor', editor, pasteWidgetVisibleCtx, { id: changePasteTypeCommandId, label: localize(910, "Show paste options...") }, () => CopyPasteController_1._configureDefaultAction ? [CopyPasteController_1._configureDefaultAction] : []));
74
+ this._postPasteWidgetManager = this._register(instantiationService.createInstance(PostEditWidgetManager, 'pasteIntoEditor', editor, pasteWidgetVisibleCtx, { id: changePasteTypeCommandId, label: localize(911, "Show paste options...") }, () => CopyPasteController_1._configureDefaultAction ? [CopyPasteController_1._configureDefaultAction] : []));
75
75
  }
76
76
  changePasteType() {
77
77
  this._postPasteWidgetManager.tryShowSelector();
@@ -92,7 +92,7 @@ let CopyPasteController = class CopyPasteController extends Disposable {
92
92
  this._postPasteWidgetManager.clear();
93
93
  }
94
94
  isPasteAsEnabled() {
95
- return this._editor.getOption(96 /* EditorOption.pasteAs */).enabled;
95
+ return this._editor.getOption(97 /* EditorOption.pasteAs */).enabled;
96
96
  }
97
97
  async finishedPaste() {
98
98
  await this._currentPasteOperation;
@@ -188,7 +188,7 @@ let CopyPasteController = class CopyPasteController extends Disposable {
188
188
  if (!selections?.length || !model) {
189
189
  return;
190
190
  }
191
- if (this._editor.getOption(103 /* EditorOption.readOnly */) // Never enabled if editor is readonly.
191
+ if (this._editor.getOption(104 /* EditorOption.readOnly */) // Never enabled if editor is readonly.
192
192
  || (!this.isPasteAsEnabled() && !this._pasteAsActionContext) // Or feature disabled (but still enable if paste was explicitly requested)
193
193
  ) {
194
194
  return;
@@ -245,9 +245,9 @@ let CopyPasteController = class CopyPasteController extends Disposable {
245
245
  const kindLabel = 'only' in preference
246
246
  ? preference.only.value
247
247
  : 'preferences' in preference
248
- ? (preference.preferences.length ? preference.preferences.map(preference => preference.value).join(', ') : localize(911, "empty"))
248
+ ? (preference.preferences.length ? preference.preferences.map(preference => preference.value).join(', ') : localize(912, "empty"))
249
249
  : preference.providerId;
250
- MessageController.get(this._editor)?.showMessage(localize(912, "No paste edits for '{0}' found", kindLabel), selections[0].getStartPosition());
250
+ MessageController.get(this._editor)?.showMessage(localize(913, "No paste edits for '{0}' found", kindLabel), selections[0].getStartPosition());
251
251
  }
252
252
  doPasteInline(allProviders, selections, dataTransfer, metadata, clipboardEvent) {
253
253
  this._logService.trace('CopyPasteController#doPasteInline');
@@ -290,14 +290,14 @@ let CopyPasteController = class CopyPasteController extends Disposable {
290
290
  return this.applyDefaultPasteHandler(dataTransfer, metadata, token, clipboardEvent);
291
291
  }
292
292
  if (editSession.edits.length) {
293
- const canShowWidget = editor.getOption(96 /* EditorOption.pasteAs */).showPasteSelector === 'afterPaste';
293
+ const canShowWidget = editor.getOption(97 /* EditorOption.pasteAs */).showPasteSelector === 'afterPaste';
294
294
  return this._postPasteWidgetManager.applyEditAndShowIfNeeded(selections, { activeEditIndex: this.getInitialActiveEditIndex(model, editSession.edits), allEdits: editSession.edits }, canShowWidget, async (edit, resolveToken) => {
295
295
  if (!edit.provider.resolveDocumentPasteEdit) {
296
296
  return edit;
297
297
  }
298
298
  const resolveP = edit.provider.resolveDocumentPasteEdit(edit, resolveToken);
299
299
  const showP = new DeferredPromise();
300
- const resolved = await this._pasteProgressManager.showWhile(selections[0].getEndPosition(), localize(913, "Resolving paste edit for '{0}'. Click to cancel", edit.title), raceCancellation(Promise.race([showP.p, resolveP]), resolveToken), {
300
+ const resolved = await this._pasteProgressManager.showWhile(selections[0].getEndPosition(), localize(914, "Resolving paste edit for '{0}'. Click to cancel", edit.title), raceCancellation(Promise.race([showP.p, resolveP]), resolveToken), {
301
301
  cancel: () => showP.cancel()
302
302
  }, 0);
303
303
  if (resolved) {
@@ -316,7 +316,7 @@ let CopyPasteController = class CopyPasteController extends Disposable {
316
316
  }
317
317
  }
318
318
  });
319
- this._pasteProgressManager.showWhile(selections[0].getEndPosition(), localize(914, "Running paste handlers. Click to cancel and do basic paste"), p, {
319
+ this._pasteProgressManager.showWhile(selections[0].getEndPosition(), localize(915, "Running paste handlers. Click to cancel and do basic paste"), p, {
320
320
  cancel: async () => {
321
321
  p.cancel();
322
322
  if (editorStateCts.token.isCancellationRequested) {
@@ -388,7 +388,7 @@ let CopyPasteController = class CopyPasteController extends Disposable {
388
388
  else {
389
389
  const configureDefaultItem = {
390
390
  id: 'editor.pasteAs.default',
391
- label: localize(915, "Configure default paste action"),
391
+ label: localize(916, "Configure default paste action"),
392
392
  edit: undefined,
393
393
  };
394
394
  const selected = await this._quickInputService.pick([
@@ -405,7 +405,7 @@ let CopyPasteController = class CopyPasteController extends Disposable {
405
405
  }
406
406
  ] : [])
407
407
  ], {
408
- placeHolder: localize(916, "Select Paste Action"),
408
+ placeHolder: localize(917, "Select Paste Action"),
409
409
  });
410
410
  if (selected === configureDefaultItem) {
411
411
  CopyPasteController_1._configureDefaultAction?.run();
@@ -428,7 +428,7 @@ let CopyPasteController = class CopyPasteController extends Disposable {
428
428
  });
429
429
  this._progressService.withProgress({
430
430
  location: 10 /* ProgressLocation.Window */,
431
- title: localize(917, "Running paste handlers"),
431
+ title: localize(918, "Running paste handlers"),
432
432
  }, () => p);
433
433
  }
434
434
  setCopyMetadata(dataTransfer, metadata) {
@@ -72,7 +72,7 @@ export class DefaultTextPasteOrDropEditProvider extends SimplePasteAndDropProvid
72
72
  const insertText = await textEntry.asString();
73
73
  return {
74
74
  handledMimeType: Mimes.text,
75
- title: localize(918, "Insert Plain Text"),
75
+ title: localize(919, "Insert Plain Text"),
76
76
  insertText,
77
77
  kind: this.kind,
78
78
  };
@@ -105,14 +105,14 @@ class PathProvider extends SimplePasteAndDropProvider {
105
105
  if (uriCount > 0) {
106
106
  // Dropping at least one generic uri (such as https) so use most generic label
107
107
  label = entries.length > 1
108
- ? localize(919, "Insert Uris")
109
- : localize(920, "Insert Uri");
108
+ ? localize(920, "Insert Uris")
109
+ : localize(921, "Insert Uri");
110
110
  }
111
111
  else {
112
112
  // All the paths are file paths
113
113
  label = entries.length > 1
114
- ? localize(921, "Insert Paths")
115
- : localize(922, "Insert Path");
114
+ ? localize(922, "Insert Paths")
115
+ : localize(923, "Insert Path");
116
116
  }
117
117
  return {
118
118
  handledMimeType: Mimes.uriList,
@@ -145,8 +145,8 @@ let RelativePathProvider = class RelativePathProvider extends SimplePasteAndDrop
145
145
  handledMimeType: Mimes.uriList,
146
146
  insertText: relativeUris.join(' '),
147
147
  title: entries.length > 1
148
- ? localize(923, "Insert Relative Paths")
149
- : localize(924, "Insert Relative Path"),
148
+ ? localize(924, "Insert Relative Paths")
149
+ : localize(925, "Insert Relative Path"),
150
150
  kind: this.kind,
151
151
  };
152
152
  }
@@ -176,7 +176,7 @@ class PasteHtmlProvider {
176
176
  edits: [{
177
177
  insertText: htmlText,
178
178
  yieldTo: this._yieldTo,
179
- title: localize(925, 'Insert HTML'),
179
+ title: localize(926, 'Insert HTML'),
180
180
  kind: this.kind,
181
181
  }],
182
182
  };
@@ -34,7 +34,7 @@ import { sortEditsByYieldTo } from './edit.js';
34
34
  import { PostEditWidgetManager } from './postEditWidget.js';
35
35
  export const dropAsPreferenceConfig = 'editor.dropIntoEditor.preferences';
36
36
  export const changeDropTypeCommandId = 'editor.changeDropType';
37
- export const dropWidgetVisibleCtx = new RawContextKey('dropWidgetVisible', false, localize(926, "Whether the drop widget is showing"));
37
+ export const dropWidgetVisibleCtx = new RawContextKey('dropWidgetVisible', false, localize(927, "Whether the drop widget is showing"));
38
38
  let DropIntoEditorController = class DropIntoEditorController extends Disposable {
39
39
  static { DropIntoEditorController_1 = this; }
40
40
  static { this.ID = 'editor.contrib.dropIntoEditorController'; }
@@ -48,7 +48,7 @@ let DropIntoEditorController = class DropIntoEditorController extends Disposable
48
48
  this._treeViewsDragAndDropService = _treeViewsDragAndDropService;
49
49
  this.treeItemsTransfer = LocalSelectionTransfer.getInstance();
50
50
  this._dropProgressManager = this._register(instantiationService.createInstance(InlineProgressManager, 'dropIntoEditor', editor));
51
- this._postDropWidgetManager = this._register(instantiationService.createInstance(PostEditWidgetManager, 'dropIntoEditor', editor, dropWidgetVisibleCtx, { id: changeDropTypeCommandId, label: localize(927, "Show drop options...") }, () => DropIntoEditorController_1._configureDefaultAction ? [DropIntoEditorController_1._configureDefaultAction] : []));
51
+ this._postDropWidgetManager = this._register(instantiationService.createInstance(PostEditWidgetManager, 'dropIntoEditor', editor, dropWidgetVisibleCtx, { id: changeDropTypeCommandId, label: localize(928, "Show drop options...") }, () => DropIntoEditorController_1._configureDefaultAction ? [DropIntoEditorController_1._configureDefaultAction] : []));
52
52
  this._register(editor.onDropIntoEditor(e => this.onDropIntoEditor(editor, e.position, e.event)));
53
53
  }
54
54
  clearWidgets() {
@@ -103,7 +103,7 @@ let DropIntoEditorController = class DropIntoEditorController extends Disposable
103
103
  }
104
104
  }
105
105
  });
106
- this._dropProgressManager.showWhile(position, localize(928, "Running drop handlers. Click to cancel"), p, { cancel: () => p.cancel() });
106
+ this._dropProgressManager.showWhile(position, localize(929, "Running drop handlers. Click to cancel"), p, { cancel: () => p.cancel() });
107
107
  DropIntoEditorController_1._currentDropOperation = p;
108
108
  }
109
109
  async getDropEdits(providers, model, position, dataTransfer, token) {
@@ -162,7 +162,7 @@ let PostEditWidgetManager = class PostEditWidgetManager extends Disposable {
162
162
  resolvedEdit = await raceCancellationError(resolve(edit, editorStateCts.token), editorStateCts.token);
163
163
  }
164
164
  catch (e) {
165
- return handleError(e, localize(929, "Error resolving edit '{0}':\n{1}", edit.title, toErrorMessage(e)));
165
+ return handleError(e, localize(930, "Error resolving edit '{0}':\n{1}", edit.title, toErrorMessage(e)));
166
166
  }
167
167
  finally {
168
168
  editorStateCts.dispose();
@@ -185,7 +185,7 @@ let PostEditWidgetManager = class PostEditWidgetManager extends Disposable {
185
185
  editRange = model.getDecorationRange(editTrackingDecoration[0]);
186
186
  }
187
187
  catch (e) {
188
- return handleError(e, localize(930, "Error applying edit '{0}':\n{1}", edit.title, toErrorMessage(e)));
188
+ return handleError(e, localize(931, "Error applying edit '{0}':\n{1}", edit.title, toErrorMessage(e)));
189
189
  }
190
190
  finally {
191
191
  model.deltaDecorations(editTrackingDecoration, []);
@@ -10,7 +10,7 @@ import { createDecorator } from '../../../../platform/instantiation/common/insta
10
10
  import { registerSingleton } from '../../../../platform/instantiation/common/extensions.js';
11
11
  import { localize } from '../../../../nls.js';
12
12
  const IEditorCancellationTokens = createDecorator('IEditorCancelService');
13
- const ctxCancellableOperation = new RawContextKey('cancellableOperation', false, localize(931, 'Whether the editor runs a cancellable operation, e.g. like \'Peek References\''));
13
+ const ctxCancellableOperation = new RawContextKey('cancellableOperation', false, localize(932, 'Whether the editor runs a cancellable operation, e.g. like \'Peek References\''));
14
14
  registerSingleton(IEditorCancellationTokens, class {
15
15
  constructor() {
16
16
  this._tokens = new WeakMap();
@@ -311,7 +311,7 @@ let CommonFindController = class CommonFindController extends Disposable {
311
311
  replaceAll() {
312
312
  if (this._model) {
313
313
  if (this._editor.getModel()?.isTooLargeForHeapOperation()) {
314
- this._notificationService.warn(nls.localize(932, "The file is too large to perform a replace all operation."));
314
+ this._notificationService.warn(nls.localize(933, "The file is too large to perform a replace all operation."));
315
315
  return false;
316
316
  }
317
317
  this._model.replaceAll();
@@ -428,7 +428,7 @@ FindController = __decorate([
428
428
  export { FindController };
429
429
  export const StartFindAction = registerMultiEditorAction(new MultiEditorAction({
430
430
  id: FIND_IDS.StartFindAction,
431
- label: nls.localize2(939, "Find"),
431
+ label: nls.localize2(940, "Find"),
432
432
  precondition: ContextKeyExpr.or(EditorContextKeys.focus, ContextKeyExpr.has('editorIsOpen')),
433
433
  kbOpts: {
434
434
  kbExpr: null,
@@ -438,7 +438,7 @@ export const StartFindAction = registerMultiEditorAction(new MultiEditorAction({
438
438
  menuOpts: {
439
439
  menuId: MenuId.MenubarEditMenu,
440
440
  group: '3_find',
441
- title: nls.localize(933, "&&Find"),
441
+ title: nls.localize(934, "&&Find"),
442
442
  order: 1
443
443
  }
444
444
  }));
@@ -479,7 +479,7 @@ export class StartFindWithArgsAction extends EditorAction {
479
479
  constructor() {
480
480
  super({
481
481
  id: FIND_IDS.StartFindWithArgs,
482
- label: nls.localize2(940, "Find with Arguments"),
482
+ label: nls.localize2(941, "Find with Arguments"),
483
483
  precondition: undefined,
484
484
  kbOpts: {
485
485
  kbExpr: null,
@@ -523,7 +523,7 @@ export class StartFindWithSelectionAction extends EditorAction {
523
523
  constructor() {
524
524
  super({
525
525
  id: FIND_IDS.StartFindWithSelection,
526
- label: nls.localize2(941, "Find with Selection"),
526
+ label: nls.localize2(942, "Find with Selection"),
527
527
  precondition: undefined,
528
528
  kbOpts: {
529
529
  kbExpr: null,
@@ -574,7 +574,7 @@ export class NextMatchFindAction extends MatchFindAction {
574
574
  constructor() {
575
575
  super({
576
576
  id: FIND_IDS.NextMatchFindAction,
577
- label: nls.localize2(942, "Find Next"),
577
+ label: nls.localize2(943, "Find Next"),
578
578
  precondition: undefined,
579
579
  kbOpts: [{
580
580
  kbExpr: EditorContextKeys.focus,
@@ -601,7 +601,7 @@ export class PreviousMatchFindAction extends MatchFindAction {
601
601
  constructor() {
602
602
  super({
603
603
  id: FIND_IDS.PreviousMatchFindAction,
604
- label: nls.localize2(943, "Find Previous"),
604
+ label: nls.localize2(944, "Find Previous"),
605
605
  precondition: undefined,
606
606
  kbOpts: [{
607
607
  kbExpr: EditorContextKeys.focus,
@@ -624,7 +624,7 @@ export class MoveToMatchFindAction extends EditorAction {
624
624
  constructor() {
625
625
  super({
626
626
  id: FIND_IDS.GoToMatchFindAction,
627
- label: nls.localize2(944, "Go to Match..."),
627
+ label: nls.localize2(945, "Go to Match..."),
628
628
  precondition: CONTEXT_FIND_WIDGET_VISIBLE
629
629
  });
630
630
  this._highlightDecorations = [];
@@ -639,14 +639,14 @@ export class MoveToMatchFindAction extends EditorAction {
639
639
  const notificationService = accessor.get(INotificationService);
640
640
  notificationService.notify({
641
641
  severity: Severity.Warning,
642
- message: nls.localize(934, "No matches. Try searching for something else.")
642
+ message: nls.localize(935, "No matches. Try searching for something else.")
643
643
  });
644
644
  return;
645
645
  }
646
646
  const quickInputService = accessor.get(IQuickInputService);
647
647
  const disposables = new DisposableStore();
648
648
  const inputBox = disposables.add(quickInputService.createInputBox());
649
- inputBox.placeholder = nls.localize(935, "Type a number to go to a specific match (between 1 and {0})", matchesCount);
649
+ inputBox.placeholder = nls.localize(936, "Type a number to go to a specific match (between 1 and {0})", matchesCount);
650
650
  const toFindMatchIndex = (value) => {
651
651
  const index = parseInt(value);
652
652
  if (isNaN(index)) {
@@ -673,7 +673,7 @@ export class MoveToMatchFindAction extends EditorAction {
673
673
  }
674
674
  }
675
675
  else {
676
- inputBox.validationMessage = nls.localize(936, "Please type a number between 1 and {0}", controller.getState().matchesCount);
676
+ inputBox.validationMessage = nls.localize(937, "Please type a number between 1 and {0}", controller.getState().matchesCount);
677
677
  this.clearDecorations(editor);
678
678
  }
679
679
  };
@@ -687,7 +687,7 @@ export class MoveToMatchFindAction extends EditorAction {
687
687
  inputBox.hide();
688
688
  }
689
689
  else {
690
- inputBox.validationMessage = nls.localize(937, "Please type a number between 1 and {0}", controller.getState().matchesCount);
690
+ inputBox.validationMessage = nls.localize(938, "Please type a number between 1 and {0}", controller.getState().matchesCount);
691
691
  }
692
692
  }));
693
693
  disposables.add(inputBox.onDidHide(() => {
@@ -755,7 +755,7 @@ export class NextSelectionMatchFindAction extends SelectionMatchFindAction {
755
755
  constructor() {
756
756
  super({
757
757
  id: FIND_IDS.NextSelectionMatchFindAction,
758
- label: nls.localize2(945, "Find Next Selection"),
758
+ label: nls.localize2(946, "Find Next Selection"),
759
759
  precondition: undefined,
760
760
  kbOpts: {
761
761
  kbExpr: EditorContextKeys.focus,
@@ -772,7 +772,7 @@ export class PreviousSelectionMatchFindAction extends SelectionMatchFindAction {
772
772
  constructor() {
773
773
  super({
774
774
  id: FIND_IDS.PreviousSelectionMatchFindAction,
775
- label: nls.localize2(946, "Find Previous Selection"),
775
+ label: nls.localize2(947, "Find Previous Selection"),
776
776
  precondition: undefined,
777
777
  kbOpts: {
778
778
  kbExpr: EditorContextKeys.focus,
@@ -787,7 +787,7 @@ export class PreviousSelectionMatchFindAction extends SelectionMatchFindAction {
787
787
  }
788
788
  export const StartFindReplaceAction = registerMultiEditorAction(new MultiEditorAction({
789
789
  id: FIND_IDS.StartFindReplaceAction,
790
- label: nls.localize2(947, "Replace"),
790
+ label: nls.localize2(948, "Replace"),
791
791
  precondition: ContextKeyExpr.or(EditorContextKeys.focus, ContextKeyExpr.has('editorIsOpen')),
792
792
  kbOpts: {
793
793
  kbExpr: null,
@@ -798,12 +798,12 @@ export const StartFindReplaceAction = registerMultiEditorAction(new MultiEditorA
798
798
  menuOpts: {
799
799
  menuId: MenuId.MenubarEditMenu,
800
800
  group: '3_find',
801
- title: nls.localize(938, "&&Replace"),
801
+ title: nls.localize(939, "&&Replace"),
802
802
  order: 2
803
803
  }
804
804
  }));
805
805
  StartFindReplaceAction.addImplementation(0, (accessor, editor, args) => {
806
- if (!editor.hasModel() || editor.getOption(103 /* EditorOption.readOnly */)) {
806
+ if (!editor.hasModel() || editor.getOption(104 /* EditorOption.readOnly */)) {
807
807
  return false;
808
808
  }
809
809
  const controller = CommonFindController.get(editor);
@@ -261,11 +261,11 @@ export class FindModelBoundToEditorModel {
261
261
  const { lineNumber, column } = before;
262
262
  const model = this._editor.getModel();
263
263
  let position = new Position(lineNumber, column);
264
- let prevMatch = model.findPreviousMatch(this._state.searchString, position, this._state.isRegex, this._state.matchCase, this._state.wholeWord ? this._editor.getOption(147 /* EditorOption.wordSeparators */) : null, false);
264
+ let prevMatch = model.findPreviousMatch(this._state.searchString, position, this._state.isRegex, this._state.matchCase, this._state.wholeWord ? this._editor.getOption(148 /* EditorOption.wordSeparators */) : null, false);
265
265
  if (prevMatch && prevMatch.range.isEmpty() && prevMatch.range.getStartPosition().equals(position)) {
266
266
  // Looks like we're stuck at this position, unacceptable!
267
267
  position = this._prevSearchPosition(position);
268
- prevMatch = model.findPreviousMatch(this._state.searchString, position, this._state.isRegex, this._state.matchCase, this._state.wholeWord ? this._editor.getOption(147 /* EditorOption.wordSeparators */) : null, false);
268
+ prevMatch = model.findPreviousMatch(this._state.searchString, position, this._state.isRegex, this._state.matchCase, this._state.wholeWord ? this._editor.getOption(148 /* EditorOption.wordSeparators */) : null, false);
269
269
  }
270
270
  if (!prevMatch) {
271
271
  // there is precisely one match and selection is on top of it
@@ -342,11 +342,11 @@ export class FindModelBoundToEditorModel {
342
342
  const { lineNumber, column } = after;
343
343
  const model = this._editor.getModel();
344
344
  let position = new Position(lineNumber, column);
345
- let nextMatch = model.findNextMatch(this._state.searchString, position, this._state.isRegex, this._state.matchCase, this._state.wholeWord ? this._editor.getOption(147 /* EditorOption.wordSeparators */) : null, captureMatches);
345
+ let nextMatch = model.findNextMatch(this._state.searchString, position, this._state.isRegex, this._state.matchCase, this._state.wholeWord ? this._editor.getOption(148 /* EditorOption.wordSeparators */) : null, captureMatches);
346
346
  if (forceMove && nextMatch && nextMatch.range.isEmpty() && nextMatch.range.getStartPosition().equals(position)) {
347
347
  // Looks like we're stuck at this position, unacceptable!
348
348
  position = this._nextSearchPosition(position);
349
- nextMatch = model.findNextMatch(this._state.searchString, position, this._state.isRegex, this._state.matchCase, this._state.wholeWord ? this._editor.getOption(147 /* EditorOption.wordSeparators */) : null, captureMatches);
349
+ nextMatch = model.findNextMatch(this._state.searchString, position, this._state.isRegex, this._state.matchCase, this._state.wholeWord ? this._editor.getOption(148 /* EditorOption.wordSeparators */) : null, captureMatches);
350
350
  }
351
351
  if (!nextMatch) {
352
352
  // there is precisely one match and selection is on top of it
@@ -399,7 +399,7 @@ export class FindModelBoundToEditorModel {
399
399
  }
400
400
  _findMatches(findScopes, captureMatches, limitResultCount) {
401
401
  const searchRanges = (findScopes || [null]).map((scope) => FindModelBoundToEditorModel._getSearchRange(this._editor.getModel(), scope));
402
- return this._editor.getModel().findMatches(this._state.searchString, searchRanges, this._state.isRegex, this._state.matchCase, this._state.wholeWord ? this._editor.getOption(147 /* EditorOption.wordSeparators */) : null, captureMatches, limitResultCount);
402
+ return this._editor.getModel().findMatches(this._state.searchString, searchRanges, this._state.isRegex, this._state.matchCase, this._state.wholeWord ? this._editor.getOption(148 /* EditorOption.wordSeparators */) : null, captureMatches, limitResultCount);
403
403
  }
404
404
  replaceAll() {
405
405
  if (!this._hasMatches()) {
@@ -416,7 +416,7 @@ export class FindModelBoundToEditorModel {
416
416
  this.research(false);
417
417
  }
418
418
  _largeReplaceAll() {
419
- const searchParams = new SearchParams(this._state.searchString, this._state.isRegex, this._state.matchCase, this._state.wholeWord ? this._editor.getOption(147 /* EditorOption.wordSeparators */) : null);
419
+ const searchParams = new SearchParams(this._state.searchString, this._state.isRegex, this._state.matchCase, this._state.wholeWord ? this._editor.getOption(148 /* EditorOption.wordSeparators */) : null);
420
420
  const searchData = searchParams.parseSearchRequest();
421
421
  if (!searchData) {
422
422
  return;