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
@@ -11,7 +11,7 @@ export class ToggleTabFocusModeAction extends Action2 {
11
11
  constructor() {
12
12
  super({
13
13
  id: ToggleTabFocusModeAction.ID,
14
- title: nls.localize2(1512, 'Toggle Tab Key Moves Focus'),
14
+ title: nls.localize2(1513, 'Toggle Tab Key Moves Focus'),
15
15
  precondition: undefined,
16
16
  keybinding: {
17
17
  primary: 2048 /* KeyMod.CtrlCmd */ | 43 /* KeyCode.KeyM */,
@@ -19,7 +19,7 @@ export class ToggleTabFocusModeAction extends Action2 {
19
19
  weight: 100 /* KeybindingWeight.EditorContrib */
20
20
  },
21
21
  metadata: {
22
- description: nls.localize2(1513, "Determines whether the tab key moves focus around the workbench or inserts the tab character in the current editor. This is also called tab trapping, tab navigation, or tab focus mode."),
22
+ description: nls.localize2(1514, "Determines whether the tab key moves focus around the workbench or inserts the tab character in the current editor. This is also called tab trapping, tab navigation, or tab focus mode."),
23
23
  },
24
24
  f1: true
25
25
  });
@@ -29,10 +29,10 @@ export class ToggleTabFocusModeAction extends Action2 {
29
29
  const newValue = !oldValue;
30
30
  TabFocus.setTabFocusMode(newValue);
31
31
  if (newValue) {
32
- alert(nls.localize(1510, "Pressing Tab will now move focus to the next focusable element"));
32
+ alert(nls.localize(1511, "Pressing Tab will now move focus to the next focusable element"));
33
33
  }
34
34
  else {
35
- alert(nls.localize(1511, "Pressing Tab will now insert the tab character"));
35
+ alert(nls.localize(1512, "Pressing Tab will now insert the tab character"));
36
36
  }
37
37
  }
38
38
  }
@@ -9,7 +9,7 @@ class ForceRetokenizeAction extends EditorAction {
9
9
  constructor() {
10
10
  super({
11
11
  id: 'editor.action.forceRetokenize',
12
- label: nls.localize2(1514, "Developer: Force Retokenize"),
12
+ label: nls.localize2(1515, "Developer: Force Retokenize"),
13
13
  precondition: undefined
14
14
  });
15
15
  }
@@ -106,7 +106,7 @@ let Banner = class Banner extends Disposable {
106
106
  // Action
107
107
  const actionBarContainer = append(this.element, $('div.action-container'));
108
108
  this.actionBar = this._register(new ActionBar(actionBarContainer));
109
- this.actionBar.push(this._register(new Action('banner.close', localize(1515, "Close Banner"), ThemeIcon.asClassName(widgetClose), true, () => {
109
+ this.actionBar.push(this._register(new Action('banner.close', localize(1516, "Close Banner"), ThemeIcon.asClassName(widgetClose), true, () => {
110
110
  if (typeof item.onClose === 'function') {
111
111
  item.onClose();
112
112
  }
@@ -37,7 +37,7 @@ import { IWorkspaceTrustManagementService } from '../../../../platform/workspace
37
37
  import { Action2, registerAction2 } from '../../../../platform/actions/common/actions.js';
38
38
  import { safeIntl } from '../../../../base/common/date.js';
39
39
  import { isModelDecorationInComment, isModelDecorationInString, isModelDecorationVisible } from '../../../common/viewModel/viewModelDecoration.js';
40
- export const warningIcon = registerIcon('extensions-warning-message', Codicon.warning, nls.localize(1516, 'Icon shown with a warning message in the extensions editor.'));
40
+ export const warningIcon = registerIcon('extensions-warning-message', Codicon.warning, nls.localize(1517, 'Icon shown with a warning message in the extensions editor.'));
41
41
  let UnicodeHighlighter = class UnicodeHighlighter extends Disposable {
42
42
  static { this.ID = 'editor.contrib.unicodeHighlighter'; }
43
43
  constructor(_editor, _editorWorkerService, _workspaceTrustService, instantiationService) {
@@ -57,19 +57,19 @@ let UnicodeHighlighter = class UnicodeHighlighter extends Disposable {
57
57
  let data;
58
58
  if (state.nonBasicAsciiCharacterCount >= max) {
59
59
  data = {
60
- message: nls.localize(1517, 'This document contains many non-basic ASCII unicode characters'),
60
+ message: nls.localize(1518, 'This document contains many non-basic ASCII unicode characters'),
61
61
  command: new DisableHighlightingOfNonBasicAsciiCharactersAction(),
62
62
  };
63
63
  }
64
64
  else if (state.ambiguousCharacterCount >= max) {
65
65
  data = {
66
- message: nls.localize(1518, 'This document contains many ambiguous unicode characters'),
66
+ message: nls.localize(1519, 'This document contains many ambiguous unicode characters'),
67
67
  command: new DisableHighlightingOfAmbiguousCharactersAction(),
68
68
  };
69
69
  }
70
70
  else if (state.invisibleCharacterCount >= max) {
71
71
  data = {
72
- message: nls.localize(1519, 'This document contains many invisible unicode characters'),
72
+ message: nls.localize(1520, 'This document contains many invisible unicode characters'),
73
73
  command: new DisableHighlightingOfInvisibleCharactersAction(),
74
74
  };
75
75
  }
@@ -100,13 +100,13 @@ let UnicodeHighlighter = class UnicodeHighlighter extends Disposable {
100
100
  this._bannerClosed = false;
101
101
  this._updateHighlighter();
102
102
  }));
103
- this._options = _editor.getOption(141 /* EditorOption.unicodeHighlighting */);
103
+ this._options = _editor.getOption(142 /* EditorOption.unicodeHighlighting */);
104
104
  this._register(_workspaceTrustService.onDidChangeTrust(e => {
105
105
  this._updateHighlighter();
106
106
  }));
107
107
  this._register(_editor.onDidChangeConfiguration(e => {
108
- if (e.hasChanged(141 /* EditorOption.unicodeHighlighting */)) {
109
- this._options = _editor.getOption(141 /* EditorOption.unicodeHighlighting */);
108
+ if (e.hasChanged(142 /* EditorOption.unicodeHighlighting */)) {
109
+ this._options = _editor.getOption(142 /* EditorOption.unicodeHighlighting */);
110
110
  this._updateHighlighter();
111
111
  }
112
112
  }));
@@ -338,7 +338,7 @@ class ViewportUnicodeHighlighter extends Disposable {
338
338
  };
339
339
  }
340
340
  }
341
- const configureUnicodeHighlightOptionsStr = nls.localize(1520, 'Configure Unicode Highlight Options');
341
+ const configureUnicodeHighlightOptionsStr = nls.localize(1521, 'Configure Unicode Highlight Options');
342
342
  let UnicodeHighlighterHoverParticipant = class UnicodeHighlighterHoverParticipant {
343
343
  constructor(_editor, _languageService, _openerService) {
344
344
  this._editor = _editor;
@@ -371,18 +371,18 @@ let UnicodeHighlighterHoverParticipant = class UnicodeHighlighterHoverParticipan
371
371
  switch (highlightInfo.reason.kind) {
372
372
  case 0 /* UnicodeHighlighterReasonKind.Ambiguous */: {
373
373
  if (isBasicASCII(highlightInfo.reason.confusableWith)) {
374
- reason = nls.localize(1521, 'The character {0} could be confused with the ASCII character {1}, which is more common in source code.', codePointStr, formatCodePointMarkdown(highlightInfo.reason.confusableWith.codePointAt(0)));
374
+ reason = nls.localize(1522, 'The character {0} could be confused with the ASCII character {1}, which is more common in source code.', codePointStr, formatCodePointMarkdown(highlightInfo.reason.confusableWith.codePointAt(0)));
375
375
  }
376
376
  else {
377
- reason = nls.localize(1522, 'The character {0} could be confused with the character {1}, which is more common in source code.', codePointStr, formatCodePointMarkdown(highlightInfo.reason.confusableWith.codePointAt(0)));
377
+ reason = nls.localize(1523, 'The character {0} could be confused with the character {1}, which is more common in source code.', codePointStr, formatCodePointMarkdown(highlightInfo.reason.confusableWith.codePointAt(0)));
378
378
  }
379
379
  break;
380
380
  }
381
381
  case 1 /* UnicodeHighlighterReasonKind.Invisible */:
382
- reason = nls.localize(1523, 'The character {0} is invisible.', codePointStr);
382
+ reason = nls.localize(1524, 'The character {0} is invisible.', codePointStr);
383
383
  break;
384
384
  case 2 /* UnicodeHighlighterReasonKind.NonBasicAscii */:
385
- reason = nls.localize(1524, 'The character {0} is not a basic ASCII character.', codePointStr);
385
+ reason = nls.localize(1525, 'The character {0} is not a basic ASCII character.', codePointStr);
386
386
  break;
387
387
  }
388
388
  if (existedReason.has(reason)) {
@@ -395,7 +395,7 @@ let UnicodeHighlighterHoverParticipant = class UnicodeHighlighterHoverParticipan
395
395
  inComment: highlightInfo.inComment,
396
396
  inString: highlightInfo.inString,
397
397
  };
398
- const adjustSettings = nls.localize(1525, 'Adjust settings');
398
+ const adjustSettings = nls.localize(1526, 'Adjust settings');
399
399
  const uri = `command:${ShowExcludeOptions.ID}?${encodeURIComponent(JSON.stringify(adjustSettingsArgs))}`;
400
400
  const markdown = new MarkdownString('', true)
401
401
  .appendMarkdown(reason)
@@ -465,10 +465,10 @@ export class DisableHighlightingInCommentsAction extends EditorAction {
465
465
  constructor() {
466
466
  super({
467
467
  id: DisableHighlightingOfAmbiguousCharactersAction.ID,
468
- label: nls.localize2(1534, "Disable highlighting of characters in comments"),
468
+ label: nls.localize2(1535, "Disable highlighting of characters in comments"),
469
469
  precondition: undefined
470
470
  });
471
- this.shortLabel = nls.localize(1526, 'Disable Highlight In Comments');
471
+ this.shortLabel = nls.localize(1527, 'Disable Highlight In Comments');
472
472
  }
473
473
  async run(accessor, editor, args) {
474
474
  const configurationService = accessor.get(IConfigurationService);
@@ -484,10 +484,10 @@ export class DisableHighlightingInStringsAction extends EditorAction {
484
484
  constructor() {
485
485
  super({
486
486
  id: DisableHighlightingOfAmbiguousCharactersAction.ID,
487
- label: nls.localize2(1535, "Disable highlighting of characters in strings"),
487
+ label: nls.localize2(1536, "Disable highlighting of characters in strings"),
488
488
  precondition: undefined
489
489
  });
490
- this.shortLabel = nls.localize(1527, 'Disable Highlight In Strings');
490
+ this.shortLabel = nls.localize(1528, 'Disable Highlight In Strings');
491
491
  }
492
492
  async run(accessor, editor, args) {
493
493
  const configurationService = accessor.get(IConfigurationService);
@@ -504,11 +504,11 @@ export class DisableHighlightingOfAmbiguousCharactersAction extends Action2 {
504
504
  constructor() {
505
505
  super({
506
506
  id: DisableHighlightingOfAmbiguousCharactersAction.ID,
507
- title: nls.localize2(1536, "Disable highlighting of ambiguous characters"),
507
+ title: nls.localize2(1537, "Disable highlighting of ambiguous characters"),
508
508
  precondition: undefined,
509
509
  f1: false,
510
510
  });
511
- this.shortLabel = nls.localize(1528, 'Disable Ambiguous Highlight');
511
+ this.shortLabel = nls.localize(1529, 'Disable Ambiguous Highlight');
512
512
  }
513
513
  async run(accessor, editor, args) {
514
514
  const configurationService = accessor.get(IConfigurationService);
@@ -525,11 +525,11 @@ export class DisableHighlightingOfInvisibleCharactersAction extends Action2 {
525
525
  constructor() {
526
526
  super({
527
527
  id: DisableHighlightingOfInvisibleCharactersAction.ID,
528
- title: nls.localize2(1537, "Disable highlighting of invisible characters"),
528
+ title: nls.localize2(1538, "Disable highlighting of invisible characters"),
529
529
  precondition: undefined,
530
530
  f1: false,
531
531
  });
532
- this.shortLabel = nls.localize(1529, 'Disable Invisible Highlight');
532
+ this.shortLabel = nls.localize(1530, 'Disable Invisible Highlight');
533
533
  }
534
534
  async run(accessor, editor, args) {
535
535
  const configurationService = accessor.get(IConfigurationService);
@@ -546,11 +546,11 @@ export class DisableHighlightingOfNonBasicAsciiCharactersAction extends Action2
546
546
  constructor() {
547
547
  super({
548
548
  id: DisableHighlightingOfNonBasicAsciiCharactersAction.ID,
549
- title: nls.localize2(1538, "Disable highlighting of non basic ASCII characters"),
549
+ title: nls.localize2(1539, "Disable highlighting of non basic ASCII characters"),
550
550
  precondition: undefined,
551
551
  f1: false,
552
552
  });
553
- this.shortLabel = nls.localize(1530, 'Disable Non ASCII Highlight');
553
+ this.shortLabel = nls.localize(1531, 'Disable Non ASCII Highlight');
554
554
  }
555
555
  async run(accessor, editor, args) {
556
556
  const configurationService = accessor.get(IConfigurationService);
@@ -567,7 +567,7 @@ export class ShowExcludeOptions extends Action2 {
567
567
  constructor() {
568
568
  super({
569
569
  id: ShowExcludeOptions.ID,
570
- title: nls.localize2(1539, "Show Exclude Options"),
570
+ title: nls.localize2(1540, "Show Exclude Options"),
571
571
  precondition: undefined,
572
572
  f1: false,
573
573
  });
@@ -579,15 +579,15 @@ export class ShowExcludeOptions extends Action2 {
579
579
  const configurationService = accessor.get(IConfigurationService);
580
580
  function getExcludeCharFromBeingHighlightedLabel(codePoint) {
581
581
  if (InvisibleCharacters.isInvisibleCharacter(codePoint)) {
582
- return nls.localize(1531, 'Exclude {0} (invisible character) from being highlighted', codePointToHex(codePoint));
582
+ return nls.localize(1532, 'Exclude {0} (invisible character) from being highlighted', codePointToHex(codePoint));
583
583
  }
584
- return nls.localize(1532, 'Exclude {0} from being highlighted', `${codePointToHex(codePoint)} "${char}"`);
584
+ return nls.localize(1533, 'Exclude {0} from being highlighted', `${codePointToHex(codePoint)} "${char}"`);
585
585
  }
586
586
  const options = [];
587
587
  if (reason.kind === 0 /* UnicodeHighlighterReasonKind.Ambiguous */) {
588
588
  for (const locale of reason.notAmbiguousInLocales) {
589
589
  options.push({
590
- label: nls.localize(1533, "Allow unicode characters that are more common in the language \"{0}\".", locale),
590
+ label: nls.localize(1534, "Allow unicode characters that are more common in the language \"{0}\".", locale),
591
591
  run: async () => {
592
592
  excludeLocaleFromBeingHighlighted(configurationService, [locale]);
593
593
  },
@@ -32,10 +32,10 @@ let UnusualLineTerminatorsDetector = class UnusualLineTerminatorsDetector extend
32
32
  this._dialogService = _dialogService;
33
33
  this._codeEditorService = _codeEditorService;
34
34
  this._isPresentingDialog = false;
35
- this._config = this._editor.getOption(142 /* EditorOption.unusualLineTerminators */);
35
+ this._config = this._editor.getOption(143 /* EditorOption.unusualLineTerminators */);
36
36
  this._register(this._editor.onDidChangeConfiguration((e) => {
37
- if (e.hasChanged(142 /* EditorOption.unusualLineTerminators */)) {
38
- this._config = this._editor.getOption(142 /* EditorOption.unusualLineTerminators */);
37
+ if (e.hasChanged(143 /* EditorOption.unusualLineTerminators */)) {
38
+ this._config = this._editor.getOption(143 /* EditorOption.unusualLineTerminators */);
39
39
  this._checkForUnusualLineTerminators();
40
40
  }
41
41
  }));
@@ -67,7 +67,7 @@ let UnusualLineTerminatorsDetector = class UnusualLineTerminatorsDetector extend
67
67
  // this model should be ignored
68
68
  return;
69
69
  }
70
- if (this._editor.getOption(103 /* EditorOption.readOnly */)) {
70
+ if (this._editor.getOption(104 /* EditorOption.readOnly */)) {
71
71
  // read only editor => sorry!
72
72
  return;
73
73
  }
@@ -85,11 +85,11 @@ let UnusualLineTerminatorsDetector = class UnusualLineTerminatorsDetector extend
85
85
  try {
86
86
  this._isPresentingDialog = true;
87
87
  result = await this._dialogService.confirm({
88
- title: nls.localize(1540, "Unusual Line Terminators"),
89
- message: nls.localize(1541, "Detected unusual line terminators"),
90
- detail: nls.localize(1542, "The file '{0}' contains one or more unusual line terminator characters, like Line Separator (LS) or Paragraph Separator (PS).\n\nIt is recommended to remove them from the file. This can be configured via `editor.unusualLineTerminators`.", basename(model.uri)),
91
- primaryButton: nls.localize(1543, "&&Remove Unusual Line Terminators"),
92
- cancelButton: nls.localize(1544, "Ignore")
88
+ title: nls.localize(1541, "Unusual Line Terminators"),
89
+ message: nls.localize(1542, "Detected unusual line terminators"),
90
+ detail: nls.localize(1543, "The file '{0}' contains one or more unusual line terminator characters, like Line Separator (LS) or Paragraph Separator (PS).\n\nIt is recommended to remove them from the file. This can be configured via `editor.unusualLineTerminators`.", basename(model.uri)),
91
+ primaryButton: nls.localize(1544, "&&Remove Unusual Line Terminators"),
92
+ cancelButton: nls.localize(1545, "Ignore")
93
93
  });
94
94
  }
95
95
  finally {
@@ -9,15 +9,15 @@ import { DocumentHighlightKind } from '../../../common/languages.js';
9
9
  import * as nls from '../../../../nls.js';
10
10
  import { activeContrastBorder, editorSelectionHighlight, minimapSelectionOccurrenceHighlight, overviewRulerSelectionHighlightForeground, registerColor } from '../../../../platform/theme/common/colorRegistry.js';
11
11
  import { registerThemingParticipant, themeColorFromId } from '../../../../platform/theme/common/themeService.js';
12
- const wordHighlightBackground = registerColor('editor.wordHighlightBackground', { dark: '#575757B8', light: '#57575740', hcDark: null, hcLight: null }, nls.localize(1545, 'Background color of a symbol during read-access, like reading a variable. The color must not be opaque so as not to hide underlying decorations.'), true);
13
- registerColor('editor.wordHighlightStrongBackground', { dark: '#004972B8', light: '#0e639c40', hcDark: null, hcLight: null }, nls.localize(1546, 'Background color of a symbol during write-access, like writing to a variable. The color must not be opaque so as not to hide underlying decorations.'), true);
14
- registerColor('editor.wordHighlightTextBackground', wordHighlightBackground, nls.localize(1547, 'Background color of a textual occurrence for a symbol. The color must not be opaque so as not to hide underlying decorations.'), true);
15
- const wordHighlightBorder = registerColor('editor.wordHighlightBorder', { light: null, dark: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, nls.localize(1548, 'Border color of a symbol during read-access, like reading a variable.'));
16
- registerColor('editor.wordHighlightStrongBorder', { light: null, dark: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, nls.localize(1549, 'Border color of a symbol during write-access, like writing to a variable.'));
17
- registerColor('editor.wordHighlightTextBorder', wordHighlightBorder, nls.localize(1550, "Border color of a textual occurrence for a symbol."));
18
- const overviewRulerWordHighlightForeground = registerColor('editorOverviewRuler.wordHighlightForeground', '#A0A0A0CC', nls.localize(1551, 'Overview ruler marker color for symbol highlights. The color must not be opaque so as not to hide underlying decorations.'), true);
19
- const overviewRulerWordHighlightStrongForeground = registerColor('editorOverviewRuler.wordHighlightStrongForeground', '#C0A0C0CC', nls.localize(1552, 'Overview ruler marker color for write-access symbol highlights. The color must not be opaque so as not to hide underlying decorations.'), true);
20
- const overviewRulerWordHighlightTextForeground = registerColor('editorOverviewRuler.wordHighlightTextForeground', overviewRulerSelectionHighlightForeground, nls.localize(1553, 'Overview ruler marker color of a textual occurrence for a symbol. The color must not be opaque so as not to hide underlying decorations.'), true);
12
+ const wordHighlightBackground = registerColor('editor.wordHighlightBackground', { dark: '#575757B8', light: '#57575740', hcDark: null, hcLight: null }, nls.localize(1546, 'Background color of a symbol during read-access, like reading a variable. The color must not be opaque so as not to hide underlying decorations.'), true);
13
+ registerColor('editor.wordHighlightStrongBackground', { dark: '#004972B8', light: '#0e639c40', hcDark: null, hcLight: null }, nls.localize(1547, 'Background color of a symbol during write-access, like writing to a variable. The color must not be opaque so as not to hide underlying decorations.'), true);
14
+ registerColor('editor.wordHighlightTextBackground', wordHighlightBackground, nls.localize(1548, 'Background color of a textual occurrence for a symbol. The color must not be opaque so as not to hide underlying decorations.'), true);
15
+ const wordHighlightBorder = registerColor('editor.wordHighlightBorder', { light: null, dark: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, nls.localize(1549, 'Border color of a symbol during read-access, like reading a variable.'));
16
+ registerColor('editor.wordHighlightStrongBorder', { light: null, dark: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, nls.localize(1550, 'Border color of a symbol during write-access, like writing to a variable.'));
17
+ registerColor('editor.wordHighlightTextBorder', wordHighlightBorder, nls.localize(1551, "Border color of a textual occurrence for a symbol."));
18
+ const overviewRulerWordHighlightForeground = registerColor('editorOverviewRuler.wordHighlightForeground', '#A0A0A0CC', nls.localize(1552, 'Overview ruler marker color for symbol highlights. The color must not be opaque so as not to hide underlying decorations.'), true);
19
+ const overviewRulerWordHighlightStrongForeground = registerColor('editorOverviewRuler.wordHighlightStrongForeground', '#C0A0C0CC', nls.localize(1553, 'Overview ruler marker color for write-access symbol highlights. The color must not be opaque so as not to hide underlying decorations.'), true);
20
+ const overviewRulerWordHighlightTextForeground = registerColor('editorOverviewRuler.wordHighlightTextForeground', overviewRulerSelectionHighlightForeground, nls.localize(1554, 'Overview ruler marker color of a textual occurrence for a symbol. The color must not be opaque so as not to hide underlying decorations.'), true);
21
21
  const _WRITE_OPTIONS = ModelDecorationOptions.register({
22
22
  description: 'word-highlight-strong',
23
23
  stickiness: 1 /* TrackedRangeStickiness.NeverGrowsWhenTypingAtEdges */,
@@ -157,7 +157,7 @@ let WordHighlighter = class WordHighlighter {
157
157
  this.logService = logService;
158
158
  this._hasWordHighlights = ctxHasWordHighlights.bindTo(contextKeyService);
159
159
  this._ignorePositionChangeEvent = false;
160
- this.occurrencesHighlightEnablement = this.editor.getOption(89 /* EditorOption.occurrencesHighlight */);
160
+ this.occurrencesHighlightEnablement = this.editor.getOption(90 /* EditorOption.occurrencesHighlight */);
161
161
  this.occurrencesHighlightDelay = this.configurationService.getValue('editor.occurrencesHighlightDelay');
162
162
  this.model = this.editor.getModel();
163
163
  this.toUnhook.add(editor.onDidChangeCursorPosition((e) => {
@@ -195,7 +195,7 @@ let WordHighlighter = class WordHighlighter {
195
195
  }
196
196
  }));
197
197
  this.toUnhook.add(editor.onDidChangeConfiguration((e) => {
198
- const newEnablement = this.editor.getOption(89 /* EditorOption.occurrencesHighlight */);
198
+ const newEnablement = this.editor.getOption(90 /* EditorOption.occurrencesHighlight */);
199
199
  if (this.occurrencesHighlightEnablement !== newEnablement) {
200
200
  this.occurrencesHighlightEnablement = newEnablement;
201
201
  switch (newEnablement) {
@@ -584,10 +584,10 @@ let WordHighlighter = class WordHighlighter {
584
584
  }
585
585
  computeWithModel(model, selection, otherModels) {
586
586
  if (!otherModels.length) {
587
- return computeOccurencesAtPosition(this.providers, model, selection, this.editor.getOption(147 /* EditorOption.wordSeparators */));
587
+ return computeOccurencesAtPosition(this.providers, model, selection, this.editor.getOption(148 /* EditorOption.wordSeparators */));
588
588
  }
589
589
  else {
590
- return computeOccurencesMultiModel(this.multiDocumentProviders, model, selection, this.editor.getOption(147 /* EditorOption.wordSeparators */), otherModels);
590
+ return computeOccurencesMultiModel(this.multiDocumentProviders, model, selection, this.editor.getOption(148 /* EditorOption.wordSeparators */), otherModels);
591
591
  }
592
592
  }
593
593
  _beginRenderDecorations(delay) {
@@ -742,7 +742,7 @@ class NextWordHighlightAction extends WordHighlightNavigationAction {
742
742
  constructor() {
743
743
  super(true, {
744
744
  id: 'editor.action.wordHighlight.next',
745
- label: nls.localize2(1554, "Go to Next Symbol Highlight"),
745
+ label: nls.localize2(1555, "Go to Next Symbol Highlight"),
746
746
  precondition: ctxHasWordHighlights,
747
747
  kbOpts: {
748
748
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -756,7 +756,7 @@ class PrevWordHighlightAction extends WordHighlightNavigationAction {
756
756
  constructor() {
757
757
  super(false, {
758
758
  id: 'editor.action.wordHighlight.prev',
759
- label: nls.localize2(1555, "Go to Previous Symbol Highlight"),
759
+ label: nls.localize2(1556, "Go to Previous Symbol Highlight"),
760
760
  precondition: ctxHasWordHighlights,
761
761
  kbOpts: {
762
762
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -770,7 +770,7 @@ class TriggerWordHighlightAction extends EditorAction {
770
770
  constructor() {
771
771
  super({
772
772
  id: 'editor.action.wordHighlight.trigger',
773
- label: nls.localize2(1556, "Trigger Symbol Highlight"),
773
+ label: nls.localize2(1557, "Trigger Symbol Highlight"),
774
774
  precondition: undefined,
775
775
  kbOpts: {
776
776
  kbExpr: EditorContextKeys.editorTextFocus,
@@ -27,7 +27,7 @@ export class MoveWordCommand extends EditorCommand {
27
27
  if (!editor.hasModel()) {
28
28
  return;
29
29
  }
30
- const wordSeparators = getMapForWordSeparators(editor.getOption(147 /* EditorOption.wordSeparators */), editor.getOption(146 /* EditorOption.wordSegmenterLocales */));
30
+ const wordSeparators = getMapForWordSeparators(editor.getOption(148 /* EditorOption.wordSeparators */), editor.getOption(147 /* EditorOption.wordSegmenterLocales */));
31
31
  const model = editor.getModel();
32
32
  const selections = editor.getSelections();
33
33
  const hasMulticursor = selections.length > 1;
@@ -272,7 +272,7 @@ export class DeleteWordCommand extends EditorCommand {
272
272
  if (!editor.hasModel() || !languageConfigurationService) {
273
273
  return;
274
274
  }
275
- const wordSeparators = getMapForWordSeparators(editor.getOption(147 /* EditorOption.wordSeparators */), editor.getOption(146 /* EditorOption.wordSegmenterLocales */));
275
+ const wordSeparators = getMapForWordSeparators(editor.getOption(148 /* EditorOption.wordSeparators */), editor.getOption(147 /* EditorOption.wordSegmenterLocales */));
276
276
  const model = editor.getModel();
277
277
  const selections = editor.getSelections();
278
278
  const autoClosingBrackets = editor.getOption(10 /* EditorOption.autoClosingBrackets */);
@@ -395,14 +395,14 @@ export class DeleteInsideWord extends EditorAction {
395
395
  super({
396
396
  id: 'deleteInsideWord',
397
397
  precondition: EditorContextKeys.writable,
398
- label: nls.localize2(1557, "Delete Word"),
398
+ label: nls.localize2(1558, "Delete Word"),
399
399
  });
400
400
  }
401
401
  run(accessor, editor, args) {
402
402
  if (!editor.hasModel()) {
403
403
  return;
404
404
  }
405
- const wordSeparators = getMapForWordSeparators(editor.getOption(147 /* EditorOption.wordSeparators */), editor.getOption(146 /* EditorOption.wordSegmenterLocales */));
405
+ const wordSeparators = getMapForWordSeparators(editor.getOption(148 /* EditorOption.wordSeparators */), editor.getOption(147 /* EditorOption.wordSegmenterLocales */));
406
406
  const model = editor.getModel();
407
407
  const selections = editor.getSelections();
408
408
  const commands = selections.map((sel) => {
@@ -3610,6 +3610,10 @@ export namespace editor {
3610
3610
  * Controls the max number of text cursors that can be in an active editor at once.
3611
3611
  */
3612
3612
  multiCursorLimit?: number;
3613
+ /**
3614
+ * Enables middle mouse button to open links and Go To Definition
3615
+ */
3616
+ mouseMiddleClickAction?: MouseMiddleClickAction;
3613
3617
  /**
3614
3618
  * Configure the editor's accessibility support.
3615
3619
  * Defaults to 'auto'. It is best to leave this to 'auto'.
@@ -5141,91 +5145,92 @@ export namespace editor {
5141
5145
  mouseWheelZoom = 84,
5142
5146
  multiCursorMergeOverlapping = 85,
5143
5147
  multiCursorModifier = 86,
5144
- multiCursorPaste = 87,
5145
- multiCursorLimit = 88,
5146
- occurrencesHighlight = 89,
5147
- occurrencesHighlightDelay = 90,
5148
- overtypeCursorStyle = 91,
5149
- overtypeOnPaste = 92,
5150
- overviewRulerBorder = 93,
5151
- overviewRulerLanes = 94,
5152
- padding = 95,
5153
- pasteAs = 96,
5154
- parameterHints = 97,
5155
- peekWidgetDefaultFocus = 98,
5156
- placeholder = 99,
5157
- definitionLinkOpensInPeek = 100,
5158
- quickSuggestions = 101,
5159
- quickSuggestionsDelay = 102,
5160
- readOnly = 103,
5161
- readOnlyMessage = 104,
5162
- renameOnType = 105,
5163
- renderRichScreenReaderContent = 106,
5164
- renderControlCharacters = 107,
5165
- renderFinalNewline = 108,
5166
- renderLineHighlight = 109,
5167
- renderLineHighlightOnlyWhenFocus = 110,
5168
- renderValidationDecorations = 111,
5169
- renderWhitespace = 112,
5170
- revealHorizontalRightPadding = 113,
5171
- roundedSelection = 114,
5172
- rulers = 115,
5173
- scrollbar = 116,
5174
- scrollBeyondLastColumn = 117,
5175
- scrollBeyondLastLine = 118,
5176
- scrollPredominantAxis = 119,
5177
- selectionClipboard = 120,
5178
- selectionHighlight = 121,
5179
- selectionHighlightMaxLength = 122,
5180
- selectionHighlightMultiline = 123,
5181
- selectOnLineNumbers = 124,
5182
- showFoldingControls = 125,
5183
- showUnused = 126,
5184
- snippetSuggestions = 127,
5185
- smartSelect = 128,
5186
- smoothScrolling = 129,
5187
- stickyScroll = 130,
5188
- stickyTabStops = 131,
5189
- stopRenderingLineAfter = 132,
5190
- suggest = 133,
5191
- suggestFontSize = 134,
5192
- suggestLineHeight = 135,
5193
- suggestOnTriggerCharacters = 136,
5194
- suggestSelection = 137,
5195
- tabCompletion = 138,
5196
- tabIndex = 139,
5197
- trimWhitespaceOnDelete = 140,
5198
- unicodeHighlighting = 141,
5199
- unusualLineTerminators = 142,
5200
- useShadowDOM = 143,
5201
- useTabStops = 144,
5202
- wordBreak = 145,
5203
- wordSegmenterLocales = 146,
5204
- wordSeparators = 147,
5205
- wordWrap = 148,
5206
- wordWrapBreakAfterCharacters = 149,
5207
- wordWrapBreakBeforeCharacters = 150,
5208
- wordWrapColumn = 151,
5209
- wordWrapOverride1 = 152,
5210
- wordWrapOverride2 = 153,
5211
- wrappingIndent = 154,
5212
- wrappingStrategy = 155,
5213
- showDeprecated = 156,
5214
- inertialScroll = 157,
5215
- inlayHints = 158,
5216
- wrapOnEscapedLineFeeds = 159,
5217
- effectiveCursorStyle = 160,
5218
- editorClassName = 161,
5219
- pixelRatio = 162,
5220
- tabFocusMode = 163,
5221
- layoutInfo = 164,
5222
- wrappingInfo = 165,
5223
- defaultColorDecorators = 166,
5224
- colorDecoratorsActivatedOn = 167,
5225
- inlineCompletionsAccessibilityVerbose = 168,
5226
- effectiveEditContext = 169,
5227
- scrollOnMiddleClick = 170,
5228
- effectiveAllowVariableFonts = 171
5148
+ mouseMiddleClickAction = 87,
5149
+ multiCursorPaste = 88,
5150
+ multiCursorLimit = 89,
5151
+ occurrencesHighlight = 90,
5152
+ occurrencesHighlightDelay = 91,
5153
+ overtypeCursorStyle = 92,
5154
+ overtypeOnPaste = 93,
5155
+ overviewRulerBorder = 94,
5156
+ overviewRulerLanes = 95,
5157
+ padding = 96,
5158
+ pasteAs = 97,
5159
+ parameterHints = 98,
5160
+ peekWidgetDefaultFocus = 99,
5161
+ placeholder = 100,
5162
+ definitionLinkOpensInPeek = 101,
5163
+ quickSuggestions = 102,
5164
+ quickSuggestionsDelay = 103,
5165
+ readOnly = 104,
5166
+ readOnlyMessage = 105,
5167
+ renameOnType = 106,
5168
+ renderRichScreenReaderContent = 107,
5169
+ renderControlCharacters = 108,
5170
+ renderFinalNewline = 109,
5171
+ renderLineHighlight = 110,
5172
+ renderLineHighlightOnlyWhenFocus = 111,
5173
+ renderValidationDecorations = 112,
5174
+ renderWhitespace = 113,
5175
+ revealHorizontalRightPadding = 114,
5176
+ roundedSelection = 115,
5177
+ rulers = 116,
5178
+ scrollbar = 117,
5179
+ scrollBeyondLastColumn = 118,
5180
+ scrollBeyondLastLine = 119,
5181
+ scrollPredominantAxis = 120,
5182
+ selectionClipboard = 121,
5183
+ selectionHighlight = 122,
5184
+ selectionHighlightMaxLength = 123,
5185
+ selectionHighlightMultiline = 124,
5186
+ selectOnLineNumbers = 125,
5187
+ showFoldingControls = 126,
5188
+ showUnused = 127,
5189
+ snippetSuggestions = 128,
5190
+ smartSelect = 129,
5191
+ smoothScrolling = 130,
5192
+ stickyScroll = 131,
5193
+ stickyTabStops = 132,
5194
+ stopRenderingLineAfter = 133,
5195
+ suggest = 134,
5196
+ suggestFontSize = 135,
5197
+ suggestLineHeight = 136,
5198
+ suggestOnTriggerCharacters = 137,
5199
+ suggestSelection = 138,
5200
+ tabCompletion = 139,
5201
+ tabIndex = 140,
5202
+ trimWhitespaceOnDelete = 141,
5203
+ unicodeHighlighting = 142,
5204
+ unusualLineTerminators = 143,
5205
+ useShadowDOM = 144,
5206
+ useTabStops = 145,
5207
+ wordBreak = 146,
5208
+ wordSegmenterLocales = 147,
5209
+ wordSeparators = 148,
5210
+ wordWrap = 149,
5211
+ wordWrapBreakAfterCharacters = 150,
5212
+ wordWrapBreakBeforeCharacters = 151,
5213
+ wordWrapColumn = 152,
5214
+ wordWrapOverride1 = 153,
5215
+ wordWrapOverride2 = 154,
5216
+ wrappingIndent = 155,
5217
+ wrappingStrategy = 156,
5218
+ showDeprecated = 157,
5219
+ inertialScroll = 158,
5220
+ inlayHints = 159,
5221
+ wrapOnEscapedLineFeeds = 160,
5222
+ effectiveCursorStyle = 161,
5223
+ editorClassName = 162,
5224
+ pixelRatio = 163,
5225
+ tabFocusMode = 164,
5226
+ layoutInfo = 165,
5227
+ wrappingInfo = 166,
5228
+ defaultColorDecorators = 167,
5229
+ colorDecoratorsActivatedOn = 168,
5230
+ inlineCompletionsAccessibilityVerbose = 169,
5231
+ effectiveEditContext = 170,
5232
+ scrollOnMiddleClick = 171,
5233
+ effectiveAllowVariableFonts = 172
5229
5234
  }
5230
5235
 
5231
5236
  export const EditorOptions: {
@@ -5321,6 +5326,7 @@ export namespace editor {
5321
5326
  mouseWheelZoom: IEditorOption<EditorOption.mouseWheelZoom, boolean>;
5322
5327
  multiCursorMergeOverlapping: IEditorOption<EditorOption.multiCursorMergeOverlapping, boolean>;
5323
5328
  multiCursorModifier: IEditorOption<EditorOption.multiCursorModifier, 'altKey' | 'metaKey' | 'ctrlKey'>;
5329
+ mouseMiddleClickAction: IEditorOption<EditorOption.mouseMiddleClickAction, MouseMiddleClickAction>;
5324
5330
  multiCursorPaste: IEditorOption<EditorOption.multiCursorPaste, 'spread' | 'full'>;
5325
5331
  multiCursorLimit: IEditorOption<EditorOption.multiCursorLimit, number>;
5326
5332
  occurrencesHighlight: IEditorOption<EditorOption.occurrencesHighlight, 'off' | 'singleFile' | 'multiFile'>;
@@ -5413,6 +5419,8 @@ export namespace editor {
5413
5419
 
5414
5420
  export type FindComputedEditorOptionValueById<T extends EditorOption> = NonNullable<ComputedEditorOptionValue<EditorOptionsType[FindEditorOptionsKeyById<T>]>>;
5415
5421
 
5422
+ export type MouseMiddleClickAction = 'default' | 'openLink' | 'ctrlLeftClick';
5423
+
5416
5424
  export interface IEditorConstructionOptions extends IEditorOptions {
5417
5425
  /**
5418
5426
  * The initial editor dimension (to avoid measuring the container).
@@ -19,7 +19,7 @@ export class IPadShowKeyboard extends Disposable {
19
19
  }
20
20
  }
21
21
  update() {
22
- const shouldHaveWidget = (!this.editor.getOption(103 /* EditorOption.readOnly */));
22
+ const shouldHaveWidget = (!this.editor.getOption(104 /* EditorOption.readOnly */));
23
23
  if (!this.widget && shouldHaveWidget) {
24
24
  this.widget = new ShowKeyboardWidget(this.editor);
25
25
  }