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

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 (247) 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/common/codiconsLibrary.js +2 -0
  18. package/esm/vs/base/common/codiconsLibrary.js.map +1 -1
  19. package/esm/vs/editor/browser/config/editorConfiguration.js +1 -1
  20. package/esm/vs/editor/browser/controller/dragScrolling.js +4 -4
  21. package/esm/vs/editor/browser/controller/editContext/native/nativeEditContext.js +3 -3
  22. package/esm/vs/editor/browser/controller/editContext/native/screenReaderContentRich.js +3 -3
  23. package/esm/vs/editor/browser/controller/editContext/native/screenReaderSupport.js +6 -6
  24. package/esm/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +9 -9
  25. package/esm/vs/editor/browser/controller/mouseHandler.js +6 -6
  26. package/esm/vs/editor/browser/controller/mouseTarget.js +3 -3
  27. package/esm/vs/editor/browser/coreCommands.js +2 -2
  28. package/esm/vs/editor/browser/gpu/rectangleRenderer.js +1 -1
  29. package/esm/vs/editor/browser/gpu/viewGpuContext.js +1 -1
  30. package/esm/vs/editor/browser/observableCodeEditor.js +1 -1
  31. package/esm/vs/editor/browser/view/viewController.js +2 -2
  32. package/esm/vs/editor/browser/view/viewLayer.js +1 -1
  33. package/esm/vs/editor/browser/view/viewOverlays.js +4 -4
  34. package/esm/vs/editor/browser/view.js +5 -5
  35. package/esm/vs/editor/browser/viewParts/blockDecorations/blockDecorations.js +1 -1
  36. package/esm/vs/editor/browser/viewParts/contentWidgets/contentWidgets.js +3 -3
  37. package/esm/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.js +6 -6
  38. package/esm/vs/editor/browser/viewParts/editorScrollbar/editorScrollbar.js +8 -8
  39. package/esm/vs/editor/browser/viewParts/glyphMargin/glyphMargin.js +2 -2
  40. package/esm/vs/editor/browser/viewParts/indentGuides/indentGuides.js +2 -2
  41. package/esm/vs/editor/browser/viewParts/lineNumbers/lineNumbers.js +2 -2
  42. package/esm/vs/editor/browser/viewParts/linesDecorations/linesDecorations.js +2 -2
  43. package/esm/vs/editor/browser/viewParts/margin/margin.js +2 -2
  44. package/esm/vs/editor/browser/viewParts/minimap/minimap.js +5 -5
  45. package/esm/vs/editor/browser/viewParts/overlayWidgets/overlayWidgets.js +2 -2
  46. package/esm/vs/editor/browser/viewParts/overviewRuler/decorationsOverviewRuler.js +4 -4
  47. package/esm/vs/editor/browser/viewParts/overviewRuler/overviewRuler.js +3 -3
  48. package/esm/vs/editor/browser/viewParts/rulers/rulers.js +2 -2
  49. package/esm/vs/editor/browser/viewParts/rulersGpu/rulersGpu.js +1 -1
  50. package/esm/vs/editor/browser/viewParts/scrollDecoration/scrollDecoration.js +3 -3
  51. package/esm/vs/editor/browser/viewParts/selections/selections.js +2 -2
  52. package/esm/vs/editor/browser/viewParts/viewCursors/viewCursor.js +2 -2
  53. package/esm/vs/editor/browser/viewParts/viewCursors/viewCursors.js +6 -6
  54. package/esm/vs/editor/browser/viewParts/viewLines/viewLineOptions.js +4 -4
  55. package/esm/vs/editor/browser/viewParts/viewLines/viewLines.js +11 -11
  56. package/esm/vs/editor/browser/viewParts/viewLinesGpu/viewLinesGpu.js +1 -1
  57. package/esm/vs/editor/browser/viewParts/viewZones/viewZones.js +2 -2
  58. package/esm/vs/editor/browser/viewParts/whitespace/whitespace.js +4 -4
  59. package/esm/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +12 -12
  60. package/esm/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +4 -4
  61. package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +3 -3
  62. package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +2 -2
  63. package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/renderLines.js +2 -2
  64. package/esm/vs/editor/browser/widget/diffEditor/features/gutterFeature.js +1 -1
  65. package/esm/vs/editor/browser/widget/diffEditor/features/overviewRulerFeature.js +1 -1
  66. package/esm/vs/editor/common/config/editorOptions.js +155 -154
  67. package/esm/vs/editor/common/config/editorOptions.js.map +1 -1
  68. package/esm/vs/editor/common/core/editorColorRegistry.js +68 -68
  69. package/esm/vs/editor/common/cursorCommon.js +19 -19
  70. package/esm/vs/editor/common/editorContextKeys.js +46 -46
  71. package/esm/vs/editor/common/languages/modesRegistry.js +1 -1
  72. package/esm/vs/editor/common/languages.js +56 -56
  73. package/esm/vs/editor/common/model/editStack.js +1 -1
  74. package/esm/vs/editor/common/standalone/standaloneEnums.js +86 -85
  75. package/esm/vs/editor/common/standalone/standaloneEnums.js.map +1 -1
  76. package/esm/vs/editor/common/standaloneStrings.js +10 -10
  77. package/esm/vs/editor/common/viewLayout/viewLayout.js +15 -15
  78. package/esm/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
  79. package/esm/vs/editor/common/viewModel/monospaceLineBreaksComputer.js +1 -1
  80. package/esm/vs/editor/common/viewModel/viewModelImpl.js +14 -14
  81. package/esm/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
  82. package/esm/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
  83. package/esm/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
  84. package/esm/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
  85. package/esm/vs/editor/contrib/clipboard/browser/clipboard.js +20 -20
  86. package/esm/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
  87. package/esm/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -29
  88. package/esm/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
  89. package/esm/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
  90. package/esm/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
  91. package/esm/vs/editor/contrib/codeAction/browser/codeActionModel.js +1 -1
  92. package/esm/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
  93. package/esm/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
  94. package/esm/vs/editor/contrib/colorPicker/browser/colorDetector.js +3 -3
  95. package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
  96. package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
  97. package/esm/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerContribution.js +1 -1
  98. package/esm/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +2 -2
  99. package/esm/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
  100. package/esm/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerParticipant.js +1 -1
  101. package/esm/vs/editor/contrib/comment/browser/comment.js +6 -6
  102. package/esm/vs/editor/contrib/contextmenu/browser/contextmenu.js +12 -12
  103. package/esm/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
  104. package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
  105. package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +12 -12
  106. package/esm/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
  107. package/esm/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
  108. package/esm/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
  109. package/esm/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
  110. package/esm/vs/editor/contrib/find/browser/findController.js +17 -17
  111. package/esm/vs/editor/contrib/find/browser/findModel.js +6 -6
  112. package/esm/vs/editor/contrib/find/browser/findWidget.js +32 -32
  113. package/esm/vs/editor/contrib/folding/browser/folding.js +23 -23
  114. package/esm/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
  115. package/esm/vs/editor/contrib/folding/browser/foldingDecorations.js.map +1 -1
  116. package/esm/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
  117. package/esm/vs/editor/contrib/format/browser/formatActions.js +2 -2
  118. package/esm/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
  119. package/esm/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
  120. package/esm/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
  121. package/esm/vs/editor/contrib/gotoSymbol/browser/link/clickLinkGesture.js +21 -11
  122. package/esm/vs/editor/contrib/gotoSymbol/browser/link/clickLinkGesture.js.map +1 -1
  123. package/esm/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +2 -2
  124. package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +4 -4
  125. package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
  126. package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
  127. package/esm/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
  128. package/esm/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
  129. package/esm/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
  130. package/esm/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
  131. package/esm/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
  132. package/esm/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +10 -10
  133. package/esm/vs/editor/contrib/hover/browser/markerHoverParticipant.js +6 -6
  134. package/esm/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
  135. package/esm/vs/editor/contrib/indentation/browser/indentation.js +20 -20
  136. package/esm/vs/editor/contrib/inlayHints/browser/inlayHintsController.js +5 -5
  137. package/esm/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
  138. package/esm/vs/editor/contrib/inlayHints/browser/inlayHintsLocations.js +2 -2
  139. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +19 -19
  140. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +12 -12
  141. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +2 -2
  142. package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +1 -1
  143. package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
  144. package/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +1 -1
  145. package/esm/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.js +5 -5
  146. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +5 -5
  147. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +1 -1
  148. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +20 -20
  149. package/esm/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
  150. package/esm/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
  151. package/esm/vs/editor/contrib/linesOperations/browser/linesOperations.js +32 -32
  152. package/esm/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +4 -4
  153. package/esm/vs/editor/contrib/links/browser/links.js +11 -11
  154. package/esm/vs/editor/contrib/links/browser/links.js.map +1 -1
  155. package/esm/vs/editor/contrib/longLinesHelper/browser/longLinesHelper.js +1 -1
  156. package/esm/vs/editor/contrib/message/browser/messageController.js +1 -1
  157. package/esm/vs/editor/contrib/middleScroll/browser/middleScrollController.js +1 -1
  158. package/esm/vs/editor/contrib/multicursor/browser/multicursor.js +36 -36
  159. package/esm/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
  160. package/esm/vs/editor/contrib/parameterHints/browser/parameterHintsModel.js +3 -3
  161. package/esm/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
  162. package/esm/vs/editor/contrib/peekView/browser/peekView.js +18 -18
  163. package/esm/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
  164. package/esm/vs/editor/contrib/placeholderText/browser/placeholderTextContribution.js +1 -1
  165. package/esm/vs/editor/contrib/placeholderText/browser/placeholderTextContribution.js.map +1 -1
  166. package/esm/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +5 -5
  167. package/esm/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
  168. package/esm/vs/editor/contrib/readOnlyMessage/browser/contribution.js +3 -3
  169. package/esm/vs/editor/contrib/rename/browser/rename.js +11 -11
  170. package/esm/vs/editor/contrib/rename/browser/renameWidget.js +7 -7
  171. package/esm/vs/editor/contrib/smartSelect/browser/smartSelect.js +5 -5
  172. package/esm/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
  173. package/esm/vs/editor/contrib/snippet/browser/snippetSession.js +2 -2
  174. package/esm/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
  175. package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
  176. package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +17 -24
  177. package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js.map +1 -1
  178. package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollModelProvider.js +1 -1
  179. package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.js +12 -3
  180. package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.js.map +1 -1
  181. package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +5 -5
  182. package/esm/vs/editor/contrib/suggest/browser/suggest.js +8 -8
  183. package/esm/vs/editor/contrib/suggest/browser/suggestController.js +14 -14
  184. package/esm/vs/editor/contrib/suggest/browser/suggestInlineCompletions.js +2 -2
  185. package/esm/vs/editor/contrib/suggest/browser/suggestModel.js +11 -11
  186. package/esm/vs/editor/contrib/suggest/browser/suggestWidget.js +23 -23
  187. package/esm/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +5 -5
  188. package/esm/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +5 -5
  189. package/esm/vs/editor/contrib/suggest/browser/wordContextKey.js +3 -3
  190. package/esm/vs/editor/contrib/suggest/browser/wordDistance.js +1 -1
  191. package/esm/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
  192. package/esm/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
  193. package/esm/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
  194. package/esm/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
  195. package/esm/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +27 -27
  196. package/esm/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +9 -9
  197. package/esm/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
  198. package/esm/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +7 -7
  199. package/esm/vs/editor/contrib/wordOperations/browser/wordOperations.js +4 -4
  200. package/esm/vs/editor/editor.api.d.ts +93 -85
  201. package/esm/vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard.js +1 -1
  202. package/esm/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
  203. package/esm/vs/platform/action/common/actionCommonCategories.js +6 -6
  204. package/esm/vs/platform/actionWidget/browser/actionList.js +4 -4
  205. package/esm/vs/platform/actionWidget/browser/actionWidget.js +7 -7
  206. package/esm/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
  207. package/esm/vs/platform/actions/browser/toolbar.js +2 -2
  208. package/esm/vs/platform/actions/common/menuService.js +2 -2
  209. package/esm/vs/platform/configuration/common/configurationRegistry.js +10 -10
  210. package/esm/vs/platform/contextkey/browser/contextKeyService.js +1 -1
  211. package/esm/vs/platform/contextkey/common/contextkey.js +9 -9
  212. package/esm/vs/platform/contextkey/common/contextkeys.js +9 -9
  213. package/esm/vs/platform/contextkey/common/scanner.js +5 -5
  214. package/esm/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
  215. package/esm/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
  216. package/esm/vs/platform/list/browser/listService.js +27 -27
  217. package/esm/vs/platform/markers/common/markerService.js +2 -2
  218. package/esm/vs/platform/markers/common/markers.js +6 -6
  219. package/esm/vs/platform/quickinput/browser/commandsQuickAccess.js +7 -7
  220. package/esm/vs/platform/quickinput/browser/helpQuickAccess.js +1 -1
  221. package/esm/vs/platform/quickinput/browser/quickInput.js +20 -12
  222. package/esm/vs/platform/quickinput/browser/quickInput.js.map +1 -1
  223. package/esm/vs/platform/quickinput/browser/quickInputActions.js +42 -8
  224. package/esm/vs/platform/quickinput/browser/quickInputActions.js.map +1 -1
  225. package/esm/vs/platform/quickinput/browser/quickInputController.js +6 -64
  226. package/esm/vs/platform/quickinput/browser/quickInputController.js.map +1 -1
  227. package/esm/vs/platform/quickinput/browser/quickInputList.js +1 -1
  228. package/esm/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
  229. package/esm/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
  230. package/esm/vs/platform/quickinput/common/quickInput.js.map +1 -1
  231. package/esm/vs/platform/theme/common/colorUtils.js +2 -2
  232. package/esm/vs/platform/theme/common/colors/baseColors.js +17 -17
  233. package/esm/vs/platform/theme/common/colors/chartsColors.js +8 -8
  234. package/esm/vs/platform/theme/common/colors/editorColors.js +95 -95
  235. package/esm/vs/platform/theme/common/colors/inputColors.js +47 -47
  236. package/esm/vs/platform/theme/common/colors/listColors.js +36 -36
  237. package/esm/vs/platform/theme/common/colors/menuColors.js +7 -7
  238. package/esm/vs/platform/theme/common/colors/minimapColors.js +11 -11
  239. package/esm/vs/platform/theme/common/colors/miscColors.js +15 -15
  240. package/esm/vs/platform/theme/common/colors/quickpickColors.js +9 -9
  241. package/esm/vs/platform/theme/common/colors/searchColors.js +3 -3
  242. package/esm/vs/platform/theme/common/iconRegistry.js +6 -6
  243. package/esm/vs/platform/undoRedo/common/undoRedoService.js +20 -20
  244. package/esm/vs/platform/workspace/common/workspace.js +1 -1
  245. package/monaco.d.ts +93 -85
  246. package/package.json +2 -2
  247. package/version.txt +1 -1
@@ -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;
@@ -27,28 +27,28 @@ import { isHighContrast } from '../../../../platform/theme/common/theme.js';
27
27
  import { assertReturnsDefined } from '../../../../base/common/types.js';
28
28
  import { defaultInputBoxStyles, defaultToggleStyles } from '../../../../platform/theme/browser/defaultStyles.js';
29
29
  import { createInstantHoverDelegate, getDefaultHoverDelegate } from '../../../../base/browser/ui/hover/hoverDelegateFactory.js';
30
- const findCollapsedIcon = registerIcon('find-collapsed', Codicon.chevronRight, nls.localize(948, 'Icon to indicate that the editor find widget is collapsed.'));
31
- const findExpandedIcon = registerIcon('find-expanded', Codicon.chevronDown, nls.localize(949, 'Icon to indicate that the editor find widget is expanded.'));
32
- export const findSelectionIcon = registerIcon('find-selection', Codicon.selection, nls.localize(950, 'Icon for \'Find in Selection\' in the editor find widget.'));
33
- export const findReplaceIcon = registerIcon('find-replace', Codicon.replace, nls.localize(951, 'Icon for \'Replace\' in the editor find widget.'));
34
- export const findReplaceAllIcon = registerIcon('find-replace-all', Codicon.replaceAll, nls.localize(952, 'Icon for \'Replace All\' in the editor find widget.'));
35
- export const findPreviousMatchIcon = registerIcon('find-previous-match', Codicon.arrowUp, nls.localize(953, 'Icon for \'Find Previous\' in the editor find widget.'));
36
- export const findNextMatchIcon = registerIcon('find-next-match', Codicon.arrowDown, nls.localize(954, 'Icon for \'Find Next\' in the editor find widget.'));
37
- const NLS_FIND_DIALOG_LABEL = nls.localize(955, "Find / Replace");
38
- const NLS_FIND_INPUT_LABEL = nls.localize(956, "Find");
39
- const NLS_FIND_INPUT_PLACEHOLDER = nls.localize(957, "Find");
40
- const NLS_PREVIOUS_MATCH_BTN_LABEL = nls.localize(958, "Previous Match");
41
- const NLS_NEXT_MATCH_BTN_LABEL = nls.localize(959, "Next Match");
42
- const NLS_TOGGLE_SELECTION_FIND_TITLE = nls.localize(960, "Find in Selection");
43
- const NLS_CLOSE_BTN_LABEL = nls.localize(961, "Close");
44
- const NLS_REPLACE_INPUT_LABEL = nls.localize(962, "Replace");
45
- const NLS_REPLACE_INPUT_PLACEHOLDER = nls.localize(963, "Replace");
46
- const NLS_REPLACE_BTN_LABEL = nls.localize(964, "Replace");
47
- const NLS_REPLACE_ALL_BTN_LABEL = nls.localize(965, "Replace All");
48
- const NLS_TOGGLE_REPLACE_MODE_BTN_LABEL = nls.localize(966, "Toggle Replace");
49
- const NLS_MATCHES_COUNT_LIMIT_TITLE = nls.localize(967, "Only the first {0} results are highlighted, but all find operations work on the entire text.", MATCHES_LIMIT);
50
- export const NLS_MATCHES_LOCATION = nls.localize(968, "{0} of {1}");
51
- export const NLS_NO_RESULTS = nls.localize(969, "No results");
30
+ const findCollapsedIcon = registerIcon('find-collapsed', Codicon.chevronRight, nls.localize(949, 'Icon to indicate that the editor find widget is collapsed.'));
31
+ const findExpandedIcon = registerIcon('find-expanded', Codicon.chevronDown, nls.localize(950, 'Icon to indicate that the editor find widget is expanded.'));
32
+ export const findSelectionIcon = registerIcon('find-selection', Codicon.selection, nls.localize(951, 'Icon for \'Find in Selection\' in the editor find widget.'));
33
+ export const findReplaceIcon = registerIcon('find-replace', Codicon.replace, nls.localize(952, 'Icon for \'Replace\' in the editor find widget.'));
34
+ export const findReplaceAllIcon = registerIcon('find-replace-all', Codicon.replaceAll, nls.localize(953, 'Icon for \'Replace All\' in the editor find widget.'));
35
+ export const findPreviousMatchIcon = registerIcon('find-previous-match', Codicon.arrowUp, nls.localize(954, 'Icon for \'Find Previous\' in the editor find widget.'));
36
+ export const findNextMatchIcon = registerIcon('find-next-match', Codicon.arrowDown, nls.localize(955, 'Icon for \'Find Next\' in the editor find widget.'));
37
+ const NLS_FIND_DIALOG_LABEL = nls.localize(956, "Find / Replace");
38
+ const NLS_FIND_INPUT_LABEL = nls.localize(957, "Find");
39
+ const NLS_FIND_INPUT_PLACEHOLDER = nls.localize(958, "Find");
40
+ const NLS_PREVIOUS_MATCH_BTN_LABEL = nls.localize(959, "Previous Match");
41
+ const NLS_NEXT_MATCH_BTN_LABEL = nls.localize(960, "Next Match");
42
+ const NLS_TOGGLE_SELECTION_FIND_TITLE = nls.localize(961, "Find in Selection");
43
+ const NLS_CLOSE_BTN_LABEL = nls.localize(962, "Close");
44
+ const NLS_REPLACE_INPUT_LABEL = nls.localize(963, "Replace");
45
+ const NLS_REPLACE_INPUT_PLACEHOLDER = nls.localize(964, "Replace");
46
+ const NLS_REPLACE_BTN_LABEL = nls.localize(965, "Replace");
47
+ const NLS_REPLACE_ALL_BTN_LABEL = nls.localize(966, "Replace All");
48
+ const NLS_TOGGLE_REPLACE_MODE_BTN_LABEL = nls.localize(967, "Toggle Replace");
49
+ const NLS_MATCHES_COUNT_LIMIT_TITLE = nls.localize(968, "Only the first {0} results are highlighted, but all find operations work on the entire text.", MATCHES_LIMIT);
50
+ export const NLS_MATCHES_LOCATION = nls.localize(969, "{0} of {1}");
51
+ export const NLS_NO_RESULTS = nls.localize(970, "No results");
52
52
  const FIND_WIDGET_INITIAL_WIDTH = 419;
53
53
  const PART_WIDTH = 275;
54
54
  const FIND_INPUT_AREA_WIDTH = PART_WIDTH - 54;
@@ -105,14 +105,14 @@ export class FindWidget extends Widget {
105
105
  this._tryUpdateWidgetWidth();
106
106
  this._findInput.inputBox.layout();
107
107
  this._register(this._codeEditor.onDidChangeConfiguration((e) => {
108
- if (e.hasChanged(103 /* EditorOption.readOnly */)) {
109
- if (this._codeEditor.getOption(103 /* EditorOption.readOnly */)) {
108
+ if (e.hasChanged(104 /* EditorOption.readOnly */)) {
109
+ if (this._codeEditor.getOption(104 /* EditorOption.readOnly */)) {
110
110
  // Hide replace part if editor becomes read only
111
111
  this._state.change({ isReplaceRevealed: false }, false);
112
112
  }
113
113
  this._updateButtons();
114
114
  }
115
- if (e.hasChanged(164 /* EditorOption.layoutInfo */)) {
115
+ if (e.hasChanged(165 /* EditorOption.layoutInfo */)) {
116
116
  this._tryUpdateWidgetWidth();
117
117
  }
118
118
  if (e.hasChanged(2 /* EditorOption.accessibilitySupport */)) {
@@ -225,7 +225,7 @@ export class FindWidget extends Widget {
225
225
  }
226
226
  if (e.isReplaceRevealed) {
227
227
  if (this._state.isReplaceRevealed) {
228
- if (!this._codeEditor.getOption(103 /* EditorOption.readOnly */) && !this._isReplaceVisible) {
228
+ if (!this._codeEditor.getOption(104 /* EditorOption.readOnly */) && !this._isReplaceVisible) {
229
229
  this._isReplaceVisible = true;
230
230
  this._replaceInput.width = dom.getTotalWidth(this._findInput.domNode);
231
231
  this._updateButtons();
@@ -325,11 +325,11 @@ export class FindWidget extends Widget {
325
325
  _getAriaLabel(label, currentMatch, searchString) {
326
326
  if (label === NLS_NO_RESULTS) {
327
327
  return searchString === ''
328
- ? nls.localize(970, "{0} found", label)
329
- : nls.localize(971, "{0} found for '{1}'", label, searchString);
328
+ ? nls.localize(971, "{0} found", label)
329
+ : nls.localize(972, "{0} found for '{1}'", label, searchString);
330
330
  }
331
331
  if (currentMatch) {
332
- const ariaLabel = nls.localize(972, "{0} found for '{1}', at {2}", label, searchString, currentMatch.startLineNumber + ':' + currentMatch.startColumn);
332
+ const ariaLabel = nls.localize(973, "{0} found for '{1}', at {2}", label, searchString, currentMatch.startLineNumber + ':' + currentMatch.startColumn);
333
333
  const model = this._codeEditor.getModel();
334
334
  if (model && (currentMatch.startLineNumber <= model.getLineCount()) && (currentMatch.startLineNumber >= 1)) {
335
335
  const lineContent = model.getLineContent(currentMatch.startLineNumber);
@@ -337,7 +337,7 @@ export class FindWidget extends Widget {
337
337
  }
338
338
  return ariaLabel;
339
339
  }
340
- return nls.localize(973, "{0} found for '{1}'", label, searchString);
340
+ return nls.localize(974, "{0} found for '{1}'", label, searchString);
341
341
  }
342
342
  /**
343
343
  * If 'selection find' is ON we should not disable the button (its function is to cancel 'selection find').
@@ -367,7 +367,7 @@ export class FindWidget extends Widget {
367
367
  this._replaceAllBtn.setEnabled(this._isVisible && this._isReplaceVisible && findInputIsNonEmpty);
368
368
  this._domNode.classList.toggle('replaceToggled', this._isReplaceVisible);
369
369
  this._toggleReplaceBtn.setExpanded(this._isReplaceVisible);
370
- const canReplace = !this._codeEditor.getOption(103 /* EditorOption.readOnly */);
370
+ const canReplace = !this._codeEditor.getOption(104 /* EditorOption.readOnly */);
371
371
  this._toggleReplaceBtn.setEnabled(this._isVisible && canReplace);
372
372
  }
373
373
  _reveal() {
@@ -499,7 +499,7 @@ export class FindWidget extends Widget {
499
499
  else {
500
500
  let scrollAdjustment = this._getHeight();
501
501
  // if the editor has top padding, factor that into the zone height
502
- scrollAdjustment -= this._codeEditor.getOption(95 /* EditorOption.padding */).top;
502
+ scrollAdjustment -= this._codeEditor.getOption(96 /* EditorOption.padding */).top;
503
503
  if (scrollAdjustment <= 0) {
504
504
  return;
505
505
  }
@@ -78,7 +78,7 @@ let FoldingController = class FoldingController extends Disposable {
78
78
  this.cursorChangedScheduler = null;
79
79
  this.mouseDownInfo = null;
80
80
  this.foldingDecorationProvider = new FoldingDecorationProvider(editor);
81
- this.foldingDecorationProvider.showFoldingControls = options.get(125 /* EditorOption.showFoldingControls */);
81
+ this.foldingDecorationProvider.showFoldingControls = options.get(126 /* EditorOption.showFoldingControls */);
82
82
  this.foldingDecorationProvider.showFoldingHighlights = options.get(54 /* EditorOption.foldingHighlight */);
83
83
  this.foldingEnabled = CONTEXT_FOLDING_ENABLED.bindTo(this.contextKeyService);
84
84
  this.foldingEnabled.set(this._isEnabled);
@@ -92,9 +92,9 @@ let FoldingController = class FoldingController extends Disposable {
92
92
  if (e.hasChanged(56 /* EditorOption.foldingMaximumRegions */)) {
93
93
  this.onModelChanged();
94
94
  }
95
- if (e.hasChanged(125 /* EditorOption.showFoldingControls */) || e.hasChanged(54 /* EditorOption.foldingHighlight */)) {
95
+ if (e.hasChanged(126 /* EditorOption.showFoldingControls */) || e.hasChanged(54 /* EditorOption.foldingHighlight */)) {
96
96
  const options = this.editor.getOptions();
97
- this.foldingDecorationProvider.showFoldingControls = options.get(125 /* EditorOption.showFoldingControls */);
97
+ this.foldingDecorationProvider.showFoldingControls = options.get(126 /* EditorOption.showFoldingControls */);
98
98
  this.foldingDecorationProvider.showFoldingHighlights = options.get(54 /* EditorOption.foldingHighlight */);
99
99
  this.triggerFoldingModelChanged();
100
100
  }
@@ -507,7 +507,7 @@ class UnfoldAction extends FoldingAction {
507
507
  constructor() {
508
508
  super({
509
509
  id: 'editor.unfold',
510
- label: nls.localize2(974, "Unfold"),
510
+ label: nls.localize2(975, "Unfold"),
511
511
  precondition: CONTEXT_FOLDING_ENABLED,
512
512
  kbOpts: {
513
513
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -568,7 +568,7 @@ class UnFoldRecursivelyAction extends FoldingAction {
568
568
  constructor() {
569
569
  super({
570
570
  id: 'editor.unfoldRecursively',
571
- label: nls.localize2(975, "Unfold Recursively"),
571
+ label: nls.localize2(976, "Unfold Recursively"),
572
572
  precondition: CONTEXT_FOLDING_ENABLED,
573
573
  kbOpts: {
574
574
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -585,7 +585,7 @@ class FoldAction extends FoldingAction {
585
585
  constructor() {
586
586
  super({
587
587
  id: 'editor.fold',
588
- label: nls.localize2(976, "Fold"),
588
+ label: nls.localize2(977, "Fold"),
589
589
  precondition: CONTEXT_FOLDING_ENABLED,
590
590
  kbOpts: {
591
591
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -652,7 +652,7 @@ class ToggleFoldAction extends FoldingAction {
652
652
  constructor() {
653
653
  super({
654
654
  id: 'editor.toggleFold',
655
- label: nls.localize2(977, "Toggle Fold"),
655
+ label: nls.localize2(978, "Toggle Fold"),
656
656
  precondition: CONTEXT_FOLDING_ENABLED,
657
657
  kbOpts: {
658
658
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -670,7 +670,7 @@ class FoldRecursivelyAction extends FoldingAction {
670
670
  constructor() {
671
671
  super({
672
672
  id: 'editor.foldRecursively',
673
- label: nls.localize2(978, "Fold Recursively"),
673
+ label: nls.localize2(979, "Fold Recursively"),
674
674
  precondition: CONTEXT_FOLDING_ENABLED,
675
675
  kbOpts: {
676
676
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -688,7 +688,7 @@ class ToggleFoldRecursivelyAction extends FoldingAction {
688
688
  constructor() {
689
689
  super({
690
690
  id: 'editor.toggleFoldRecursively',
691
- label: nls.localize2(979, "Toggle Fold Recursively"),
691
+ label: nls.localize2(980, "Toggle Fold Recursively"),
692
692
  precondition: CONTEXT_FOLDING_ENABLED,
693
693
  kbOpts: {
694
694
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -706,7 +706,7 @@ class FoldAllBlockCommentsAction extends FoldingAction {
706
706
  constructor() {
707
707
  super({
708
708
  id: 'editor.foldAllBlockComments',
709
- label: nls.localize2(980, "Fold All Block Comments"),
709
+ label: nls.localize2(981, "Fold All Block Comments"),
710
710
  precondition: CONTEXT_FOLDING_ENABLED,
711
711
  kbOpts: {
712
712
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -736,7 +736,7 @@ class FoldAllRegionsAction extends FoldingAction {
736
736
  constructor() {
737
737
  super({
738
738
  id: 'editor.foldAllMarkerRegions',
739
- label: nls.localize2(981, "Fold All Regions"),
739
+ label: nls.localize2(982, "Fold All Regions"),
740
740
  precondition: CONTEXT_FOLDING_ENABLED,
741
741
  kbOpts: {
742
742
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -766,7 +766,7 @@ class UnfoldAllRegionsAction extends FoldingAction {
766
766
  constructor() {
767
767
  super({
768
768
  id: 'editor.unfoldAllMarkerRegions',
769
- label: nls.localize2(982, "Unfold All Regions"),
769
+ label: nls.localize2(983, "Unfold All Regions"),
770
770
  precondition: CONTEXT_FOLDING_ENABLED,
771
771
  kbOpts: {
772
772
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -796,7 +796,7 @@ class FoldAllExceptAction extends FoldingAction {
796
796
  constructor() {
797
797
  super({
798
798
  id: 'editor.foldAllExcept',
799
- label: nls.localize2(983, "Fold All Except Selected"),
799
+ label: nls.localize2(984, "Fold All Except Selected"),
800
800
  precondition: CONTEXT_FOLDING_ENABLED,
801
801
  kbOpts: {
802
802
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -814,7 +814,7 @@ class UnfoldAllExceptAction extends FoldingAction {
814
814
  constructor() {
815
815
  super({
816
816
  id: 'editor.unfoldAllExcept',
817
- label: nls.localize2(984, "Unfold All Except Selected"),
817
+ label: nls.localize2(985, "Unfold All Except Selected"),
818
818
  precondition: CONTEXT_FOLDING_ENABLED,
819
819
  kbOpts: {
820
820
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -832,7 +832,7 @@ class FoldAllAction extends FoldingAction {
832
832
  constructor() {
833
833
  super({
834
834
  id: 'editor.foldAll',
835
- label: nls.localize2(985, "Fold All"),
835
+ label: nls.localize2(986, "Fold All"),
836
836
  precondition: CONTEXT_FOLDING_ENABLED,
837
837
  kbOpts: {
838
838
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -849,7 +849,7 @@ class UnfoldAllAction extends FoldingAction {
849
849
  constructor() {
850
850
  super({
851
851
  id: 'editor.unfoldAll',
852
- label: nls.localize2(986, "Unfold All"),
852
+ label: nls.localize2(987, "Unfold All"),
853
853
  precondition: CONTEXT_FOLDING_ENABLED,
854
854
  kbOpts: {
855
855
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -877,7 +877,7 @@ class GotoParentFoldAction extends FoldingAction {
877
877
  constructor() {
878
878
  super({
879
879
  id: 'editor.gotoParentFold',
880
- label: nls.localize2(987, "Go to Parent Fold"),
880
+ label: nls.localize2(988, "Go to Parent Fold"),
881
881
  precondition: CONTEXT_FOLDING_ENABLED,
882
882
  kbOpts: {
883
883
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -905,7 +905,7 @@ class GotoPreviousFoldAction extends FoldingAction {
905
905
  constructor() {
906
906
  super({
907
907
  id: 'editor.gotoPreviousFold',
908
- label: nls.localize2(988, "Go to Previous Folding Range"),
908
+ label: nls.localize2(989, "Go to Previous Folding Range"),
909
909
  precondition: CONTEXT_FOLDING_ENABLED,
910
910
  kbOpts: {
911
911
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -933,7 +933,7 @@ class GotoNextFoldAction extends FoldingAction {
933
933
  constructor() {
934
934
  super({
935
935
  id: 'editor.gotoNextFold',
936
- label: nls.localize2(989, "Go to Next Folding Range"),
936
+ label: nls.localize2(990, "Go to Next Folding Range"),
937
937
  precondition: CONTEXT_FOLDING_ENABLED,
938
938
  kbOpts: {
939
939
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -960,7 +960,7 @@ class FoldRangeFromSelectionAction extends FoldingAction {
960
960
  constructor() {
961
961
  super({
962
962
  id: 'editor.createFoldingRangeFromSelection',
963
- label: nls.localize2(990, "Create Folding Range from Selection"),
963
+ label: nls.localize2(991, "Create Folding Range from Selection"),
964
964
  precondition: CONTEXT_FOLDING_ENABLED,
965
965
  kbOpts: {
966
966
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -1008,7 +1008,7 @@ class RemoveFoldRangeFromSelectionAction extends FoldingAction {
1008
1008
  constructor() {
1009
1009
  super({
1010
1010
  id: 'editor.removeManualFoldingRanges',
1011
- label: nls.localize2(991, "Remove Manual Folding Ranges"),
1011
+ label: nls.localize2(992, "Remove Manual Folding Ranges"),
1012
1012
  precondition: CONTEXT_FOLDING_ENABLED,
1013
1013
  kbOpts: {
1014
1014
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -1034,7 +1034,7 @@ class ToggleImportFoldAction extends FoldingAction {
1034
1034
  constructor() {
1035
1035
  super({
1036
1036
  id: 'editor.toggleImportFold',
1037
- label: nls.localize2(992, "Toggle Import Fold"),
1037
+ label: nls.localize2(993, "Toggle Import Fold"),
1038
1038
  precondition: CONTEXT_FOLDING_ENABLED,
1039
1039
  kbOpts: {
1040
1040
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -1077,7 +1077,7 @@ registerEditorAction(ToggleImportFoldAction);
1077
1077
  for (let i = 1; i <= 7; i++) {
1078
1078
  registerInstantiatedEditorAction(new FoldLevelAction({
1079
1079
  id: FoldLevelAction.ID(i),
1080
- label: nls.localize2(993, "Fold Level {0}", i),
1080
+ label: nls.localize2(994, "Fold Level {0}", i),
1081
1081
  precondition: CONTEXT_FOLDING_ENABLED,
1082
1082
  kbOpts: {
1083
1083
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -9,16 +9,16 @@ import { editorSelectionBackground, iconForeground, registerColor, transparent }
9
9
  import { registerIcon } from '../../../../platform/theme/common/iconRegistry.js';
10
10
  import { themeColorFromId } from '../../../../platform/theme/common/themeService.js';
11
11
  import { ThemeIcon } from '../../../../base/common/themables.js';
12
- const foldBackground = registerColor('editor.foldBackground', { light: transparent(editorSelectionBackground, 0.3), dark: transparent(editorSelectionBackground, 0.3), hcDark: null, hcLight: null }, localize(994, "Background color behind folded ranges. The color must not be opaque so as not to hide underlying decorations."), true);
13
- registerColor('editor.foldPlaceholderForeground', { light: '#808080', dark: '#808080', hcDark: null, hcLight: null }, localize(995, "Color of the collapsed text after the first line of a folded range."));
14
- registerColor('editorGutter.foldingControlForeground', iconForeground, localize(996, 'Color of the folding control in the editor gutter.'));
15
- export const foldingExpandedIcon = registerIcon('folding-expanded', Codicon.chevronDown, localize(997, 'Icon for expanded ranges in the editor glyph margin.'));
16
- export const foldingCollapsedIcon = registerIcon('folding-collapsed', Codicon.chevronRight, localize(998, 'Icon for collapsed ranges in the editor glyph margin.'));
17
- export const foldingManualCollapsedIcon = registerIcon('folding-manual-collapsed', foldingCollapsedIcon, localize(999, 'Icon for manually collapsed ranges in the editor glyph margin.'));
18
- export const foldingManualExpandedIcon = registerIcon('folding-manual-expanded', foldingExpandedIcon, localize(1000, 'Icon for manually expanded ranges in the editor glyph margin.'));
12
+ const foldBackground = registerColor('editor.foldBackground', { light: transparent(editorSelectionBackground, 0.3), dark: transparent(editorSelectionBackground, 0.3), hcDark: null, hcLight: null }, localize(995, "Background color behind folded ranges. The color must not be opaque so as not to hide underlying decorations."), true);
13
+ registerColor('editor.foldPlaceholderForeground', { light: '#808080', dark: '#808080', hcDark: null, hcLight: null }, localize(996, "Color of the collapsed text after the first line of a folded range."));
14
+ registerColor('editorGutter.foldingControlForeground', iconForeground, localize(997, 'Color of the folding control in the editor gutter.'));
15
+ export const foldingExpandedIcon = registerIcon('folding-expanded', Codicon.chevronDown, localize(998, 'Icon for expanded ranges in the editor glyph margin.'));
16
+ export const foldingCollapsedIcon = registerIcon('folding-collapsed', Codicon.chevronRight, localize(999, 'Icon for collapsed ranges in the editor glyph margin.'));
17
+ export const foldingManualCollapsedIcon = registerIcon('folding-manual-collapsed', foldingCollapsedIcon, localize(1000, 'Icon for manually collapsed ranges in the editor glyph margin.'));
18
+ export const foldingManualExpandedIcon = registerIcon('folding-manual-expanded', foldingExpandedIcon, localize(1001, 'Icon for manually expanded ranges in the editor glyph margin.'));
19
19
  const foldedBackgroundMinimap = { color: themeColorFromId(foldBackground), position: 1 /* MinimapPosition.Inline */ };
20
- const collapsed = localize(1001, "Click to expand the range.");
21
- const expanded = localize(1002, "Click to collapse the range.");
20
+ const collapsed = localize(1002, "Click to expand the range.");
21
+ const expanded = localize(1003, "Click to collapse the range.");
22
22
  export class FoldingDecorationProvider {
23
23
  static { this.COLLAPSED_VISUAL_DECORATION = ModelDecorationOptions.register({
24
24
  description: 'folding-collapsed-visual-decoration',