monaco-editor-core 0.55.0 → 0.56.0-dev-20251121

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 (416) hide show
  1. package/esm/nls.keys.json +1 -1
  2. package/esm/nls.messages.cs.js +2 -2
  3. package/esm/nls.messages.de.js +2 -2
  4. package/esm/nls.messages.es.js +2 -2
  5. package/esm/nls.messages.fr.js +2 -2
  6. package/esm/nls.messages.it.js +2 -2
  7. package/esm/nls.messages.ja.js +2 -2
  8. package/esm/nls.messages.js +1 -1
  9. package/esm/nls.messages.json +1 -1
  10. package/esm/nls.messages.ko.js +2 -2
  11. package/esm/nls.messages.pl.js +2 -2
  12. package/esm/nls.messages.pt-br.js +2 -2
  13. package/esm/nls.messages.ru.js +2 -2
  14. package/esm/nls.messages.tr.js +2 -2
  15. package/esm/nls.messages.zh-cn.js +2 -2
  16. package/esm/nls.messages.zh-tw.js +2 -2
  17. package/esm/nls.metadata.json +27 -8
  18. package/esm/vs/base/browser/dom.js +31 -34
  19. package/esm/vs/base/browser/dom.js.map +1 -1
  20. package/esm/vs/base/browser/dompurify/dompurify.js +0 -1
  21. package/esm/vs/base/browser/keyboardEvent.js +3 -3
  22. package/esm/vs/base/browser/keyboardEvent.js.map +1 -1
  23. package/esm/vs/base/browser/markdownRenderer.js +5 -2
  24. package/esm/vs/base/browser/markdownRenderer.js.map +1 -1
  25. package/esm/vs/base/browser/pixelRatio.js +5 -5
  26. package/esm/vs/base/browser/pixelRatio.js.map +1 -1
  27. package/esm/vs/base/browser/trustedTypes.js +1 -1
  28. package/esm/vs/base/browser/trustedTypes.js.map +1 -1
  29. package/esm/vs/base/browser/ui/actionbar/actionbar.js +3 -0
  30. package/esm/vs/base/browser/ui/actionbar/actionbar.js.map +1 -1
  31. package/esm/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
  32. package/esm/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +7 -0
  33. package/esm/vs/base/browser/ui/dropdown/dropdownActionViewItem.js.map +1 -1
  34. package/esm/vs/base/browser/ui/hover/hoverWidget.css +0 -13
  35. package/esm/vs/base/browser/ui/inputbox/inputBox.js +7 -0
  36. package/esm/vs/base/browser/ui/inputbox/inputBox.js.map +1 -1
  37. package/esm/vs/base/browser/ui/keybindingLabel/keybindingLabel.css +4 -2
  38. package/esm/vs/base/browser/ui/list/listView.js +7 -2
  39. package/esm/vs/base/browser/ui/list/listView.js.map +1 -1
  40. package/esm/vs/base/browser/ui/selectBox/selectBox.js +4 -0
  41. package/esm/vs/base/browser/ui/selectBox/selectBox.js.map +1 -1
  42. package/esm/vs/base/browser/ui/selectBox/selectBoxCustom.css +12 -32
  43. package/esm/vs/base/browser/ui/selectBox/selectBoxCustom.js +8 -18
  44. package/esm/vs/base/browser/ui/selectBox/selectBoxCustom.js.map +1 -1
  45. package/esm/vs/base/browser/ui/toolbar/toolbar.js +41 -14
  46. package/esm/vs/base/browser/ui/toolbar/toolbar.js.map +1 -1
  47. package/esm/vs/base/browser/ui/tree/abstractTree.js +11 -0
  48. package/esm/vs/base/browser/ui/tree/abstractTree.js.map +1 -1
  49. package/esm/vs/base/browser/ui/tree/asyncDataTree.js +1 -0
  50. package/esm/vs/base/browser/ui/tree/asyncDataTree.js.map +1 -1
  51. package/esm/vs/base/browser/ui/tree/compressedObjectTreeModel.js.map +1 -1
  52. package/esm/vs/base/browser/ui/tree/dataTree.js.map +1 -1
  53. package/esm/vs/base/browser/ui/tree/indexTreeModel.js.map +1 -1
  54. package/esm/vs/base/browser/ui/tree/objectTree.js.map +1 -1
  55. package/esm/vs/base/browser/ui/tree/objectTreeModel.js.map +1 -1
  56. package/esm/vs/base/browser/ui/tree/tree.js.map +1 -1
  57. package/esm/vs/base/common/arrays.js +10 -0
  58. package/esm/vs/base/common/arrays.js.map +1 -1
  59. package/esm/vs/base/common/async.js +34 -0
  60. package/esm/vs/base/common/async.js.map +1 -1
  61. package/esm/vs/base/common/buffer.js +1 -1
  62. package/esm/vs/base/common/buffer.js.map +1 -1
  63. package/esm/vs/base/common/cancellation.js.map +1 -1
  64. package/esm/vs/base/common/codiconsLibrary.js +3 -0
  65. package/esm/vs/base/common/codiconsLibrary.js.map +1 -1
  66. package/esm/vs/base/common/collections.js.map +1 -1
  67. package/esm/vs/base/common/equals.js.map +1 -1
  68. package/esm/vs/base/common/event.js +32 -15
  69. package/esm/vs/base/common/event.js.map +1 -1
  70. package/esm/vs/base/common/filters.js +22 -3
  71. package/esm/vs/base/common/filters.js.map +1 -1
  72. package/esm/vs/base/common/hotReload.js +2 -2
  73. package/esm/vs/base/common/hotReload.js.map +1 -1
  74. package/esm/vs/base/common/iterator.js +1 -1
  75. package/esm/vs/base/common/iterator.js.map +1 -1
  76. package/esm/vs/base/common/keyCodes.js +7 -6
  77. package/esm/vs/base/common/keyCodes.js.map +1 -1
  78. package/esm/vs/base/common/linkedList.js.map +1 -1
  79. package/esm/vs/base/common/map.js.map +1 -1
  80. package/esm/vs/base/common/marked/marked.js +0 -1
  81. package/esm/vs/base/common/network.js +26 -1
  82. package/esm/vs/base/common/network.js.map +1 -1
  83. package/esm/vs/base/common/normalization.js +19 -6
  84. package/esm/vs/base/common/normalization.js.map +1 -1
  85. package/esm/vs/base/common/observableInternal/debugLocation.js +1 -2
  86. package/esm/vs/base/common/observableInternal/debugLocation.js.map +1 -1
  87. package/esm/vs/base/common/observableInternal/debugName.js +0 -1
  88. package/esm/vs/base/common/observableInternal/debugName.js.map +1 -1
  89. package/esm/vs/base/common/observableInternal/index.js +4 -4
  90. package/esm/vs/base/common/observableInternal/index.js.map +1 -1
  91. package/esm/vs/base/common/observableInternal/logging/debugGetDependencyGraph.js +38 -10
  92. package/esm/vs/base/common/observableInternal/logging/debugGetDependencyGraph.js.map +1 -1
  93. package/esm/vs/base/common/observableInternal/observables/baseObservable.js +3 -3
  94. package/esm/vs/base/common/observableInternal/observables/baseObservable.js.map +1 -1
  95. package/esm/vs/base/common/observableInternal/utils/utils.js +46 -5
  96. package/esm/vs/base/common/observableInternal/utils/utils.js.map +1 -1
  97. package/esm/vs/base/common/path.js +1 -0
  98. package/esm/vs/base/common/path.js.map +1 -1
  99. package/esm/vs/base/common/strings.js +27 -19
  100. package/esm/vs/base/common/strings.js.map +1 -1
  101. package/esm/vs/editor/browser/config/elementSizeObserver.js +5 -5
  102. package/esm/vs/editor/browser/config/elementSizeObserver.js.map +1 -1
  103. package/esm/vs/editor/browser/config/fontMeasurements.js.map +1 -1
  104. package/esm/vs/editor/browser/config/migrateOptions.js +6 -0
  105. package/esm/vs/editor/browser/config/migrateOptions.js.map +1 -1
  106. package/esm/vs/editor/browser/config/tabFocus.js +4 -2
  107. package/esm/vs/editor/browser/config/tabFocus.js.map +1 -1
  108. package/esm/vs/editor/browser/controller/editContext/native/nativeEditContext.js +8 -0
  109. package/esm/vs/editor/browser/controller/editContext/native/nativeEditContext.js.map +1 -1
  110. package/esm/vs/editor/browser/coreCommands.js +1 -2
  111. package/esm/vs/editor/browser/coreCommands.js.map +1 -1
  112. package/esm/vs/editor/browser/editorBrowser.js.map +1 -1
  113. package/esm/vs/editor/browser/observableCodeEditor.js +32 -1
  114. package/esm/vs/editor/browser/observableCodeEditor.js.map +1 -1
  115. package/esm/vs/editor/browser/services/contribution.js +9 -0
  116. package/esm/vs/editor/browser/services/contribution.js.map +1 -0
  117. package/esm/vs/editor/browser/services/editorWorkerService.js +27 -14
  118. package/esm/vs/editor/browser/services/editorWorkerService.js.map +1 -1
  119. package/esm/vs/editor/browser/services/openerService.js +5 -1
  120. package/esm/vs/editor/browser/services/openerService.js.map +1 -1
  121. package/esm/vs/editor/browser/view/domLineBreaksComputer.js +1 -1
  122. package/esm/vs/editor/browser/view/domLineBreaksComputer.js.map +1 -1
  123. package/esm/vs/editor/browser/view/renderingContext.js +1 -1
  124. package/esm/vs/editor/browser/view/renderingContext.js.map +1 -1
  125. package/esm/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.js +10 -3
  126. package/esm/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.js.map +1 -1
  127. package/esm/vs/editor/browser/viewParts/glyphMargin/glyphMargin.js +3 -4
  128. package/esm/vs/editor/browser/viewParts/glyphMargin/glyphMargin.js.map +1 -1
  129. package/esm/vs/editor/browser/viewParts/minimap/minimap.js +1 -1
  130. package/esm/vs/editor/browser/viewParts/minimap/minimap.js.map +1 -1
  131. package/esm/vs/editor/browser/viewParts/overlayWidgets/overlayWidgets.js +1 -1
  132. package/esm/vs/editor/browser/viewParts/overlayWidgets/overlayWidgets.js.map +1 -1
  133. package/esm/vs/editor/browser/viewParts/overviewRuler/overviewRuler.js +4 -2
  134. package/esm/vs/editor/browser/viewParts/overviewRuler/overviewRuler.js.map +1 -1
  135. package/esm/vs/editor/browser/viewParts/rulers/rulers.js +1 -3
  136. package/esm/vs/editor/browser/viewParts/rulers/rulers.js.map +1 -1
  137. package/esm/vs/editor/browser/viewParts/scrollDecoration/scrollDecoration.js +1 -1
  138. package/esm/vs/editor/browser/viewParts/scrollDecoration/scrollDecoration.js.map +1 -1
  139. package/esm/vs/editor/browser/viewParts/viewLines/domReadingContext.js +2 -1
  140. package/esm/vs/editor/browser/viewParts/viewLines/domReadingContext.js.map +1 -1
  141. package/esm/vs/editor/browser/viewParts/viewLines/viewLines.js +6 -18
  142. package/esm/vs/editor/browser/viewParts/viewLines/viewLines.js.map +1 -1
  143. package/esm/vs/editor/browser/viewParts/whitespace/whitespace.js +0 -7
  144. package/esm/vs/editor/browser/viewParts/whitespace/whitespace.js.map +1 -1
  145. package/esm/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +7 -2
  146. package/esm/vs/editor/browser/widget/codeEditor/codeEditorWidget.js.map +1 -1
  147. package/esm/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +1 -0
  148. package/esm/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js.map +1 -1
  149. package/esm/vs/editor/common/commands/replaceCommand.js +2 -2
  150. package/esm/vs/editor/common/commands/replaceCommand.js.map +1 -1
  151. package/esm/vs/editor/common/config/editorOptions.js +374 -360
  152. package/esm/vs/editor/common/config/editorOptions.js.map +1 -1
  153. package/esm/vs/editor/common/core/2d/rect.js +7 -0
  154. package/esm/vs/editor/common/core/2d/rect.js.map +1 -1
  155. package/esm/vs/editor/common/core/2d/size.js +20 -0
  156. package/esm/vs/editor/common/core/2d/size.js.map +1 -0
  157. package/esm/vs/editor/common/core/editorColorRegistry.js +69 -68
  158. package/esm/vs/editor/common/core/editorColorRegistry.js.map +1 -1
  159. package/esm/vs/editor/common/core/ranges/offsetRange.js +9 -0
  160. package/esm/vs/editor/common/core/ranges/offsetRange.js.map +1 -1
  161. package/esm/vs/editor/common/cursor/cursorMoveCommands.js +4 -4
  162. package/esm/vs/editor/common/cursor/cursorMoveCommands.js.map +1 -1
  163. package/esm/vs/editor/common/editorContextKeys.js +47 -47
  164. package/esm/vs/editor/common/languages/modesRegistry.js +1 -1
  165. package/esm/vs/editor/common/languages.js +56 -56
  166. package/esm/vs/editor/common/languages.js.map +1 -1
  167. package/esm/vs/editor/common/model/editStack.js +1 -1
  168. package/esm/vs/editor/common/services/languagesAssociations.js +6 -8
  169. package/esm/vs/editor/common/services/languagesAssociations.js.map +1 -1
  170. package/esm/vs/editor/common/standaloneStrings.js +11 -10
  171. package/esm/vs/editor/common/standaloneStrings.js.map +1 -1
  172. package/esm/vs/editor/common/textModelEditSource.js +1 -1
  173. package/esm/vs/editor/common/textModelEditSource.js.map +1 -1
  174. package/esm/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
  175. package/esm/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
  176. package/esm/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
  177. package/esm/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
  178. package/esm/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
  179. package/esm/vs/editor/contrib/clipboard/browser/clipboard.js +17 -17
  180. package/esm/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
  181. package/esm/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -29
  182. package/esm/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
  183. package/esm/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
  184. package/esm/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
  185. package/esm/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
  186. package/esm/vs/editor/contrib/codelens/browser/codelens.js.map +1 -1
  187. package/esm/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
  188. package/esm/vs/editor/contrib/codelens/browser/codelensController.js.map +1 -1
  189. package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
  190. package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
  191. package/esm/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +1 -1
  192. package/esm/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
  193. package/esm/vs/editor/contrib/comment/browser/comment.js +6 -6
  194. package/esm/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
  195. package/esm/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
  196. package/esm/vs/editor/contrib/diffEditorBreadcrumbs/browser/contribution.js +14 -0
  197. package/esm/vs/editor/contrib/diffEditorBreadcrumbs/browser/contribution.js.map +1 -1
  198. package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
  199. package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +9 -9
  200. package/esm/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
  201. package/esm/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
  202. package/esm/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
  203. package/esm/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
  204. package/esm/vs/editor/contrib/find/browser/findController.js +17 -17
  205. package/esm/vs/editor/contrib/find/browser/findController.js.map +1 -1
  206. package/esm/vs/editor/contrib/find/browser/findWidget.js +26 -26
  207. package/esm/vs/editor/contrib/floatingMenu/browser/floatingMenu.css +1 -1
  208. package/esm/vs/editor/contrib/folding/browser/folding.js +20 -20
  209. package/esm/vs/editor/contrib/folding/browser/folding.js.map +1 -1
  210. package/esm/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
  211. package/esm/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
  212. package/esm/vs/editor/contrib/format/browser/format.js +21 -6
  213. package/esm/vs/editor/contrib/format/browser/format.js.map +1 -1
  214. package/esm/vs/editor/contrib/format/browser/formatActions.js +2 -2
  215. package/esm/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
  216. package/esm/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
  217. package/esm/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
  218. package/esm/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
  219. package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
  220. package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
  221. package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
  222. package/esm/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
  223. package/esm/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
  224. package/esm/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
  225. package/esm/vs/editor/contrib/hover/browser/contentHoverController.js +5 -10
  226. package/esm/vs/editor/contrib/hover/browser/contentHoverController.js.map +1 -1
  227. package/esm/vs/editor/contrib/hover/browser/glyphHoverController.js +11 -6
  228. package/esm/vs/editor/contrib/hover/browser/glyphHoverController.js.map +1 -1
  229. package/esm/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
  230. package/esm/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
  231. package/esm/vs/editor/contrib/hover/browser/hoverCopyButton.js +2 -2
  232. package/esm/vs/editor/contrib/hover/browser/hoverUtils.js +24 -0
  233. package/esm/vs/editor/contrib/hover/browser/hoverUtils.js.map +1 -1
  234. package/esm/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +9 -9
  235. package/esm/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
  236. package/esm/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
  237. package/esm/vs/editor/contrib/indentation/browser/indentation.js +20 -20
  238. package/esm/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
  239. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +20 -20
  240. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +12 -12
  241. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +18 -16
  242. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js.map +1 -1
  243. package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
  244. package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
  245. package/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +42 -37
  246. package/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js.map +1 -1
  247. package/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineEdit.js +3 -3
  248. package/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineEdit.js.map +1 -1
  249. package/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.js +8 -8
  250. package/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.js.map +1 -1
  251. package/esm/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.js +54 -43
  252. package/esm/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.js.map +1 -1
  253. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +12 -12
  254. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js.map +1 -1
  255. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +74 -48
  256. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js.map +1 -1
  257. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +8 -36
  258. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js.map +1 -1
  259. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsNewUsers.js +10 -11
  260. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsNewUsers.js.map +1 -1
  261. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js +105 -119
  262. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js.map +1 -1
  263. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewInterface.js.map +1 -1
  264. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewProducer.js +8 -36
  265. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewProducer.js.map +1 -1
  266. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/debugVisualization.js +95 -0
  267. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/debugVisualization.js.map +1 -0
  268. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsInsertionView.js +17 -9
  269. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsInsertionView.js.map +1 -1
  270. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/longDistanceHint/inlineEditsLongDistanceHint.js +415 -0
  271. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/longDistanceHint/inlineEditsLongDistanceHint.js.map +1 -0
  272. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/longDistanceHint/longDistancePreviewEditor.js +253 -0
  273. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/longDistanceHint/longDistancePreviewEditor.js.map +1 -0
  274. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +20 -20
  275. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/flexBoxLayout.js +103 -0
  276. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/flexBoxLayout.js.map +1 -0
  277. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/towersLayout.js +32 -0
  278. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/towersLayout.js.map +1 -0
  279. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/utils.js +44 -11
  280. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/utils.js.map +1 -1
  281. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineSuggestionsView.js +181 -0
  282. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineSuggestionsView.js.map +1 -0
  283. package/esm/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
  284. package/esm/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
  285. package/esm/vs/editor/contrib/linesOperations/browser/linesOperations.js +32 -31
  286. package/esm/vs/editor/contrib/linesOperations/browser/linesOperations.js.map +1 -1
  287. package/esm/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
  288. package/esm/vs/editor/contrib/links/browser/links.js +10 -10
  289. package/esm/vs/editor/contrib/message/browser/messageController.js +1 -1
  290. package/esm/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
  291. package/esm/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
  292. package/esm/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
  293. package/esm/vs/editor/contrib/peekView/browser/peekView.js +18 -18
  294. package/esm/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
  295. package/esm/vs/editor/contrib/quickAccess/browser/editorNavigationQuickAccess.js +2 -2
  296. package/esm/vs/editor/contrib/quickAccess/browser/editorNavigationQuickAccess.js.map +1 -1
  297. package/esm/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +18 -13
  298. package/esm/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js.map +1 -1
  299. package/esm/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
  300. package/esm/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
  301. package/esm/vs/editor/contrib/rename/browser/rename.js +12 -12
  302. package/esm/vs/editor/contrib/rename/browser/rename.js.map +1 -1
  303. package/esm/vs/editor/contrib/rename/browser/renameWidget.js +7 -7
  304. package/esm/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
  305. package/esm/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
  306. package/esm/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
  307. package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
  308. package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +1 -1
  309. package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js.map +1 -1
  310. package/esm/vs/editor/contrib/suggest/browser/suggest.js +8 -8
  311. package/esm/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
  312. package/esm/vs/editor/contrib/suggest/browser/suggestWidget.js +17 -17
  313. package/esm/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
  314. package/esm/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
  315. package/esm/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
  316. package/esm/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
  317. package/esm/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
  318. package/esm/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
  319. package/esm/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
  320. package/esm/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +29 -29
  321. package/esm/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js.map +1 -1
  322. package/esm/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
  323. package/esm/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
  324. package/esm/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +4 -4
  325. package/esm/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js.map +1 -1
  326. package/esm/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
  327. package/esm/vs/editor/editor.all.js +1 -0
  328. package/esm/vs/editor/editor.all.js.map +1 -1
  329. package/esm/vs/editor/editor.api.d.ts +9 -5
  330. package/esm/vs/editor/standalone/browser/quickAccess/standaloneGotoLineQuickAccess.js +22 -2
  331. package/esm/vs/editor/standalone/browser/quickAccess/standaloneGotoLineQuickAccess.js.map +1 -1
  332. package/esm/vs/editor/standalone/browser/services/standaloneWebWorkerService.js +39 -0
  333. package/esm/vs/editor/standalone/browser/services/standaloneWebWorkerService.js.map +1 -0
  334. package/esm/vs/editor/standalone/browser/standaloneEditor.js +2 -1
  335. package/esm/vs/editor/standalone/browser/standaloneEditor.js.map +1 -1
  336. package/esm/vs/editor/standalone/browser/standaloneServices.js +3 -21
  337. package/esm/vs/editor/standalone/browser/standaloneServices.js.map +1 -1
  338. package/esm/vs/editor/standalone/browser/standaloneWebWorker.js +4 -4
  339. package/esm/vs/editor/standalone/browser/standaloneWebWorker.js.map +1 -1
  340. package/esm/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
  341. package/esm/vs/platform/action/common/actionCommonCategories.js +6 -6
  342. package/esm/vs/platform/actionWidget/browser/actionList.js +4 -4
  343. package/esm/vs/platform/actionWidget/browser/actionWidget.js +7 -7
  344. package/esm/vs/platform/actions/browser/menuEntryActionViewItem.js +7 -9
  345. package/esm/vs/platform/actions/browser/menuEntryActionViewItem.js.map +1 -1
  346. package/esm/vs/platform/actions/browser/toolbar.js +2 -2
  347. package/esm/vs/platform/actions/common/actions.js +2 -0
  348. package/esm/vs/platform/actions/common/actions.js.map +1 -1
  349. package/esm/vs/platform/actions/common/menuService.js +2 -2
  350. package/esm/vs/platform/configuration/common/configuration.js +5 -4
  351. package/esm/vs/platform/configuration/common/configuration.js.map +1 -1
  352. package/esm/vs/platform/configuration/common/configurationModels.js +21 -10
  353. package/esm/vs/platform/configuration/common/configurationModels.js.map +1 -1
  354. package/esm/vs/platform/configuration/common/configurationRegistry.js +10 -10
  355. package/esm/vs/platform/configuration/common/configurationRegistry.js.map +1 -1
  356. package/esm/vs/platform/configuration/common/configurations.js.map +1 -1
  357. package/esm/vs/platform/contextkey/browser/contextKeyService.js +3 -3
  358. package/esm/vs/platform/contextkey/browser/contextKeyService.js.map +1 -1
  359. package/esm/vs/platform/contextkey/common/contextkey.js +9 -9
  360. package/esm/vs/platform/contextkey/common/contextkeys.js +9 -9
  361. package/esm/vs/platform/contextkey/common/scanner.js +5 -5
  362. package/esm/vs/platform/contextview/browser/contextViewService.js.map +1 -1
  363. package/esm/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
  364. package/esm/vs/platform/hover/browser/hoverWidget.js +1 -1
  365. package/esm/vs/platform/hover/browser/updatableHoverWidget.js +1 -1
  366. package/esm/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
  367. package/esm/vs/platform/list/browser/listService.js +27 -27
  368. package/esm/vs/platform/list/browser/listService.js.map +1 -1
  369. package/esm/vs/platform/markers/common/markerService.js +2 -2
  370. package/esm/vs/platform/markers/common/markers.js +6 -6
  371. package/esm/vs/platform/quickinput/browser/commandsQuickAccess.js +11 -32
  372. package/esm/vs/platform/quickinput/browser/commandsQuickAccess.js.map +1 -1
  373. package/esm/vs/platform/quickinput/browser/helpQuickAccess.js +1 -1
  374. package/esm/vs/platform/quickinput/browser/media/quickInput.css +9 -3
  375. package/esm/vs/platform/quickinput/browser/quickInput.js +10 -10
  376. package/esm/vs/platform/quickinput/browser/quickInputActions.js +5 -5
  377. package/esm/vs/platform/quickinput/browser/quickInputController.js +35 -14
  378. package/esm/vs/platform/quickinput/browser/quickInputController.js.map +1 -1
  379. package/esm/vs/platform/quickinput/browser/quickInputList.js +4 -1
  380. package/esm/vs/platform/quickinput/browser/quickInputList.js.map +1 -1
  381. package/esm/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
  382. package/esm/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
  383. package/esm/vs/platform/quickinput/browser/tree/quickInputTreeController.js +71 -40
  384. package/esm/vs/platform/quickinput/browser/tree/quickInputTreeController.js.map +1 -1
  385. package/esm/vs/platform/quickinput/browser/tree/quickInputTreeRenderer.js +21 -8
  386. package/esm/vs/platform/quickinput/browser/tree/quickInputTreeRenderer.js.map +1 -1
  387. package/esm/vs/platform/telemetry/common/gdprTypings.js.map +1 -1
  388. package/esm/vs/platform/telemetry/common/telemetry.js.map +1 -1
  389. package/esm/vs/platform/theme/common/colorUtils.js +2 -2
  390. package/esm/vs/platform/theme/common/colors/baseColors.js +17 -17
  391. package/esm/vs/platform/theme/common/colors/chartsColors.js +8 -8
  392. package/esm/vs/platform/theme/common/colors/editorColors.js +95 -95
  393. package/esm/vs/platform/theme/common/colors/editorColors.js.map +1 -1
  394. package/esm/vs/platform/theme/common/colors/inputColors.js +47 -47
  395. package/esm/vs/platform/theme/common/colors/listColors.js +36 -36
  396. package/esm/vs/platform/theme/common/colors/menuColors.js +7 -7
  397. package/esm/vs/platform/theme/common/colors/minimapColors.js +11 -11
  398. package/esm/vs/platform/theme/common/colors/miscColors.js +16 -16
  399. package/esm/vs/platform/theme/common/colors/miscColors.js.map +1 -1
  400. package/esm/vs/platform/theme/common/colors/quickpickColors.js +9 -9
  401. package/esm/vs/platform/theme/common/colors/searchColors.js +3 -3
  402. package/esm/vs/platform/theme/common/iconRegistry.js +6 -6
  403. package/esm/vs/platform/undoRedo/common/undoRedoService.js +20 -20
  404. package/esm/vs/platform/webWorker/browser/webWorkerDescriptor.js +12 -0
  405. package/esm/vs/platform/webWorker/browser/webWorkerDescriptor.js.map +1 -0
  406. package/esm/vs/platform/webWorker/browser/webWorkerService.js +7 -0
  407. package/esm/vs/platform/webWorker/browser/webWorkerService.js.map +1 -0
  408. package/esm/vs/{base/browser/webWorkerFactory.js → platform/webWorker/browser/webWorkerServiceImpl.js} +47 -66
  409. package/esm/vs/platform/webWorker/browser/webWorkerServiceImpl.js.map +1 -0
  410. package/esm/vs/platform/workspace/common/workspace.js +1 -1
  411. package/monaco.d.ts +9 -5
  412. package/package.json +2 -2
  413. package/version.txt +1 -1
  414. package/esm/vs/base/browser/webWorkerFactory.js.map +0 -1
  415. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineCompletionsView.js +0 -82
  416. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineCompletionsView.js.map +0 -1
@@ -4,6 +4,7 @@
4
4
  *--------------------------------------------------------------------------------------------*/
5
5
  import { BugIndicatingError } from '../../../../base/common/errors.js';
6
6
  import { Point } from './point.js';
7
+ import { Size2D } from './size.js';
7
8
  export class Rect {
8
9
  static fromPoints(topLeft, bottomRight) {
9
10
  return new Rect(topLeft.x, topLeft.y, bottomRight.x, bottomRight.y);
@@ -157,5 +158,11 @@ export class Rect {
157
158
  height: `${this.height}px`,
158
159
  };
159
160
  }
161
+ withHorizontalRange(range) {
162
+ return new Rect(range.start, this.top, range.endExclusive, this.bottom);
163
+ }
164
+ getSize() {
165
+ return new Size2D(this.width, this.height);
166
+ }
160
167
  }
161
168
  //# sourceMappingURL=rect.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["file:///mnt/vss/_work/1/s/dependencies/vscode/out-editor-src/vs/editor/common/core/2d/rect.ts","vs/editor/common/core/2d/rect.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAEhG,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAEvE,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAEnC,MAAM,OAAO,IAAI;IAET,MAAM,CAAC,UAAU,CAAC,OAAc,EAAE,WAAkB;QAC1D,OAAO,IAAI,IAAI,CAAC,OAAO,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC;IACrE,CAAC;IAEM,MAAM,CAAC,aAAa,CAAC,KAAY,EAAE,IAAW;QACpD,OAAO,IAAI,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;IACvE,CAAC;IAEM,MAAM,CAAC,sBAAsB,CAAC,IAAY,EAAE,GAAW,EAAE,KAAa,EAAE,MAAc;QAC5F,OAAO,IAAI,IAAI,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC;IAC3C,CAAC;IAEM,MAAM,CAAC,sBAAsB,CAAC,IAAY,EAAE,GAAW,EAAE,KAAa,EAAE,MAAc;QAC5F,OAAO,IAAI,IAAI,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,GAAG,KAAK,EAAE,GAAG,GAAG,MAAM,CAAC,CAAC;IACxD,CAAC;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CAAC;IAED,UAAU,CAAC,KAAa;QACvB,OAAO,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,GAAG,GAAG,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,CAAC;IAC/E,CAAC;IAED,aAAa;QACZ,OAAO,IAAI,KAAK,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;IAC1C,CAAC;IAED,cAAc;QACb,OAAO,IAAI,KAAK,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;IAC3C,CAAC;IAED,WAAW;QACV,OAAO,IAAI,KAAK,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;IACxC,CAAC;IAED,QAAQ;QACP,OAAO;YACN,QAAQ,EAAE,UAAU;YACpB,IAAI,EAAE,GAAG,IAAI,CAAC,IAAI,IAAI;YACtB,GAAG,EAAE,GAAG,IAAI,CAAC,GAAG,IAAI;YACpB,KAAK,EAAE,GAAG,IAAI,CAAC,KAAK,IAAI;YACxB,MAAM,EAAE,GAAG,IAAI,CAAC,MAAM,IAAI;SAC1B,CAAC;IACH,CAAC;CACD","file":"rect.js","sourceRoot":"file:///mnt/vss/_work/1/s/dependencies/vscode/out-editor-src","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\nimport { BugIndicatingError } from '../../../../base/common/errors.js';\nimport { OffsetRange } from '../ranges/offsetRange.js';\nimport { Point } from './point.js';\n\nexport class Rect {\n\n\tpublic static fromPoints(topLeft: Point, bottomRight: Point): Rect {\n\t\treturn new Rect(topLeft.x, topLeft.y, bottomRight.x, bottomRight.y);\n\t}\n\n\tpublic static fromPointSize(point: Point, size: Point): Rect {\n\t\treturn new Rect(point.x, point.y, point.x + size.x, point.y + size.y);\n\t}\n\n\tpublic static fromLeftTopRightBottom(left: number, top: number, right: number, bottom: number): Rect {\n\t\treturn new Rect(left, top, right, bottom);\n\t}\n\n\tpublic static fromLeftTopWidthHeight(left: number, top: number, width: number, height: number): Rect {\n\t\treturn new Rect(left, top, left + width, top + height);\n\t}\n\n\tpublic static fromRanges(leftRight: OffsetRange, topBottom: OffsetRange): Rect {\n\t\treturn new Rect(leftRight.start, topBottom.start, leftRight.endExclusive, topBottom.endExclusive);\n\t}\n\n\tpublic static hull(rects: Rect[]): Rect {\n\t\tlet left = Number.MAX_SAFE_INTEGER;\n\t\tlet top = Number.MAX_SAFE_INTEGER;\n\t\tlet right = Number.MIN_SAFE_INTEGER;\n\t\tlet bottom = Number.MIN_SAFE_INTEGER;\n\n\t\tfor (const rect of rects) {\n\t\t\tleft = Math.min(left, rect.left);\n\t\t\ttop = Math.min(top, rect.top);\n\t\t\tright = Math.max(right, rect.right);\n\t\t\tbottom = Math.max(bottom, rect.bottom);\n\t\t}\n\n\t\treturn new Rect(left, top, right, bottom);\n\t}\n\n\tpublic get width() { return this.right - this.left; }\n\tpublic get height() { return this.bottom - this.top; }\n\n\tconstructor(\n\t\tpublic readonly left: number,\n\t\tpublic readonly top: number,\n\t\tpublic readonly right: number,\n\t\tpublic readonly bottom: number,\n\t) {\n\t\tif (left > right) {\n\t\t\tthrow new BugIndicatingError('Invalid arguments: Horizontally offset by ' + (left - right));\n\t\t}\n\t\tif (top > bottom) {\n\t\t\tthrow new BugIndicatingError('Invalid arguments: Vertically offset by ' + (top - bottom));\n\t\t}\n\t}\n\n\twithMargin(margin: number): Rect;\n\twithMargin(marginVertical: number, marginHorizontal: number): Rect;\n\twithMargin(marginTop: number, marginRight: number, marginBottom: number, marginLeft: number): Rect;\n\twithMargin(marginOrVerticalOrTop: number, rightOrHorizontal?: number, bottom?: number, left?: number): Rect {\n\t\tlet marginLeft, marginRight, marginTop, marginBottom;\n\n\t\t// Single margin value\n\t\tif (rightOrHorizontal === undefined && bottom === undefined && left === undefined) {\n\t\t\tmarginLeft = marginRight = marginTop = marginBottom = marginOrVerticalOrTop;\n\t\t}\n\t\t// Vertical and horizontal margins\n\t\telse if (bottom === undefined && left === undefined) {\n\t\t\tmarginLeft = marginRight = rightOrHorizontal!;\n\t\t\tmarginTop = marginBottom = marginOrVerticalOrTop;\n\t\t}\n\t\t// Individual margins for all sides\n\t\telse {\n\t\t\tmarginLeft = left!;\n\t\t\tmarginRight = rightOrHorizontal!;\n\t\t\tmarginTop = marginOrVerticalOrTop;\n\t\t\tmarginBottom = bottom!;\n\t\t}\n\n\t\treturn new Rect(\n\t\t\tthis.left - marginLeft,\n\t\t\tthis.top - marginTop,\n\t\t\tthis.right + marginRight,\n\t\t\tthis.bottom + marginBottom,\n\t\t);\n\t}\n\n\tintersectVertical(range: OffsetRange): Rect {\n\t\tconst newTop = Math.max(this.top, range.start);\n\t\tconst newBottom = Math.min(this.bottom, range.endExclusive);\n\t\treturn new Rect(\n\t\t\tthis.left,\n\t\t\tnewTop,\n\t\t\tthis.right,\n\t\t\tMath.max(newTop, newBottom),\n\t\t);\n\t}\n\n\tintersectHorizontal(range: OffsetRange): Rect {\n\t\tconst newLeft = Math.max(this.left, range.start);\n\t\tconst newRight = Math.min(this.right, range.endExclusive);\n\t\treturn new Rect(\n\t\t\tnewLeft,\n\t\t\tthis.top,\n\t\t\tMath.max(newLeft, newRight),\n\t\t\tthis.bottom,\n\t\t);\n\t}\n\n\ttoString(): string {\n\t\treturn `Rect{(${this.left},${this.top}), (${this.right},${this.bottom})}`;\n\t}\n\n\tintersect(parent: Rect): Rect | undefined {\n\t\tconst left = Math.max(this.left, parent.left);\n\t\tconst right = Math.min(this.right, parent.right);\n\t\tconst top = Math.max(this.top, parent.top);\n\t\tconst bottom = Math.min(this.bottom, parent.bottom);\n\n\t\tif (left > right || top > bottom) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\treturn new Rect(left, top, right, bottom);\n\t}\n\n\tcontainsRect(other: Rect): boolean {\n\t\treturn this.left <= other.left\n\t\t\t&& this.top <= other.top\n\t\t\t&& this.right >= other.right\n\t\t\t&& this.bottom >= other.bottom;\n\t}\n\n\tcontainsPoint(point: Point): boolean {\n\t\treturn this.left <= point.x\n\t\t\t&& this.top <= point.y\n\t\t\t&& this.right >= point.x\n\t\t\t&& this.bottom >= point.y;\n\t}\n\n\tmoveToBeContainedIn(parent: Rect): Rect {\n\t\tconst width = this.width;\n\t\tconst height = this.height;\n\n\t\tlet left = this.left;\n\t\tlet top = this.top;\n\n\t\tif (left < parent.left) {\n\t\t\tleft = parent.left;\n\t\t} else if (left + width > parent.right) {\n\t\t\tleft = parent.right - width;\n\t\t}\n\n\t\tif (top < parent.top) {\n\t\t\ttop = parent.top;\n\t\t} else if (top + height > parent.bottom) {\n\t\t\ttop = parent.bottom - height;\n\t\t}\n\n\t\treturn new Rect(left, top, left + width, top + height);\n\t}\n\n\twithWidth(width: number): Rect {\n\t\treturn new Rect(this.left, this.top, this.left + width, this.bottom);\n\t}\n\n\twithHeight(height: number): Rect {\n\t\treturn new Rect(this.left, this.top, this.right, this.top + height);\n\t}\n\n\twithTop(top: number): Rect {\n\t\treturn new Rect(this.left, top, this.right, this.bottom);\n\t}\n\n\twithLeft(left: number): Rect {\n\t\treturn new Rect(left, this.top, this.right, this.bottom);\n\t}\n\n\ttranslateX(delta: number): Rect {\n\t\treturn new Rect(this.left + delta, this.top, this.right + delta, this.bottom);\n\t}\n\n\ttranslateY(delta: number): Rect {\n\t\treturn new Rect(this.left, this.top + delta, this.right, this.bottom + delta);\n\t}\n\n\tgetLeftBottom(): Point {\n\t\treturn new Point(this.left, this.bottom);\n\t}\n\n\tgetRightBottom(): Point {\n\t\treturn new Point(this.right, this.bottom);\n\t}\n\n\tgetRightTop(): Point {\n\t\treturn new Point(this.right, this.top);\n\t}\n\n\ttoStyles() {\n\t\treturn {\n\t\t\tposition: 'absolute',\n\t\t\tleft: `${this.left}px`,\n\t\t\ttop: `${this.top}px`,\n\t\t\twidth: `${this.width}px`,\n\t\t\theight: `${this.height}px`,\n\t\t};\n\t}\n}\n","/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\nimport { BugIndicatingError } from '../../../../base/common/errors.js';\nimport { OffsetRange } from '../ranges/offsetRange.js';\nimport { Point } from './point.js';\n\nexport class Rect {\n\n\tpublic static fromPoints(topLeft: Point, bottomRight: Point): Rect {\n\t\treturn new Rect(topLeft.x, topLeft.y, bottomRight.x, bottomRight.y);\n\t}\n\n\tpublic static fromPointSize(point: Point, size: Point): Rect {\n\t\treturn new Rect(point.x, point.y, point.x + size.x, point.y + size.y);\n\t}\n\n\tpublic static fromLeftTopRightBottom(left: number, top: number, right: number, bottom: number): Rect {\n\t\treturn new Rect(left, top, right, bottom);\n\t}\n\n\tpublic static fromLeftTopWidthHeight(left: number, top: number, width: number, height: number): Rect {\n\t\treturn new Rect(left, top, left + width, top + height);\n\t}\n\n\tpublic static fromRanges(leftRight: OffsetRange, topBottom: OffsetRange): Rect {\n\t\treturn new Rect(leftRight.start, topBottom.start, leftRight.endExclusive, topBottom.endExclusive);\n\t}\n\n\tpublic static hull(rects: Rect[]): Rect {\n\t\tlet left = Number.MAX_SAFE_INTEGER;\n\t\tlet top = Number.MAX_SAFE_INTEGER;\n\t\tlet right = Number.MIN_SAFE_INTEGER;\n\t\tlet bottom = Number.MIN_SAFE_INTEGER;\n\n\t\tfor (const rect of rects) {\n\t\t\tleft = Math.min(left, rect.left);\n\t\t\ttop = Math.min(top, rect.top);\n\t\t\tright = Math.max(right, rect.right);\n\t\t\tbottom = Math.max(bottom, rect.bottom);\n\t\t}\n\n\t\treturn new Rect(left, top, right, bottom);\n\t}\n\n\tpublic get width() { return this.right - this.left; }\n\tpublic get height() { return this.bottom - this.top; }\n\n\tconstructor(\n\t\tpublic readonly left: number,\n\t\tpublic readonly top: number,\n\t\tpublic readonly right: number,\n\t\tpublic readonly bottom: number,\n\t) {\n\t\tif (left > right) {\n\t\t\tthrow new BugIndicatingError('Invalid arguments: Horizontally offset by ' + (left - right));\n\t\t}\n\t\tif (top > bottom) {\n\t\t\tthrow new BugIndicatingError('Invalid arguments: Vertically offset by ' + (top - bottom));\n\t\t}\n\t}\n\n\twithMargin(margin: number): Rect;\n\twithMargin(marginVertical: number, marginHorizontal: number): Rect;\n\twithMargin(marginTop: number, marginRight: number, marginBottom: number, marginLeft: number): Rect;\n\twithMargin(marginOrVerticalOrTop: number, rightOrHorizontal?: number, bottom?: number, left?: number): Rect {\n\t\tlet marginLeft, marginRight, marginTop, marginBottom;\n\n\t\t// Single margin value\n\t\tif (rightOrHorizontal === undefined && bottom === undefined && left === undefined) {\n\t\t\tmarginLeft = marginRight = marginTop = marginBottom = marginOrVerticalOrTop;\n\t\t}\n\t\t// Vertical and horizontal margins\n\t\telse if (bottom === undefined && left === undefined) {\n\t\t\tmarginLeft = marginRight = rightOrHorizontal!;\n\t\t\tmarginTop = marginBottom = marginOrVerticalOrTop;\n\t\t}\n\t\t// Individual margins for all sides\n\t\telse {\n\t\t\tmarginLeft = left!;\n\t\t\tmarginRight = rightOrHorizontal!;\n\t\t\tmarginTop = marginOrVerticalOrTop;\n\t\t\tmarginBottom = bottom!;\n\t\t}\n\n\t\treturn new Rect(\n\t\t\tthis.left - marginLeft,\n\t\t\tthis.top - marginTop,\n\t\t\tthis.right + marginRight,\n\t\t\tthis.bottom + marginBottom,\n\t\t);\n\t}\n\n\tintersectVertical(range: OffsetRange): Rect {\n\t\tconst newTop = Math.max(this.top, range.start);\n\t\tconst newBottom = Math.min(this.bottom, range.endExclusive);\n\t\treturn new Rect(\n\t\t\tthis.left,\n\t\t\tnewTop,\n\t\t\tthis.right,\n\t\t\tMath.max(newTop, newBottom),\n\t\t);\n\t}\n\n\tintersectHorizontal(range: OffsetRange): Rect {\n\t\tconst newLeft = Math.max(this.left, range.start);\n\t\tconst newRight = Math.min(this.right, range.endExclusive);\n\t\treturn new Rect(\n\t\t\tnewLeft,\n\t\t\tthis.top,\n\t\t\tMath.max(newLeft, newRight),\n\t\t\tthis.bottom,\n\t\t);\n\t}\n\n\ttoString(): string {\n\t\treturn `Rect{(${this.left},${this.top}), (${this.right},${this.bottom})}`;\n\t}\n\n\tintersect(parent: Rect): Rect | undefined {\n\t\tconst left = Math.max(this.left, parent.left);\n\t\tconst right = Math.min(this.right, parent.right);\n\t\tconst top = Math.max(this.top, parent.top);\n\t\tconst bottom = Math.min(this.bottom, parent.bottom);\n\n\t\tif (left > right || top > bottom) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\treturn new Rect(left, top, right, bottom);\n\t}\n\n\tcontainsRect(other: Rect): boolean {\n\t\treturn this.left <= other.left\n\t\t\t&& this.top <= other.top\n\t\t\t&& this.right >= other.right\n\t\t\t&& this.bottom >= other.bottom;\n\t}\n\n\tcontainsPoint(point: Point): boolean {\n\t\treturn this.left <= point.x\n\t\t\t&& this.top <= point.y\n\t\t\t&& this.right >= point.x\n\t\t\t&& this.bottom >= point.y;\n\t}\n\n\tmoveToBeContainedIn(parent: Rect): Rect {\n\t\tconst width = this.width;\n\t\tconst height = this.height;\n\n\t\tlet left = this.left;\n\t\tlet top = this.top;\n\n\t\tif (left < parent.left) {\n\t\t\tleft = parent.left;\n\t\t} else if (left + width > parent.right) {\n\t\t\tleft = parent.right - width;\n\t\t}\n\n\t\tif (top < parent.top) {\n\t\t\ttop = parent.top;\n\t\t} else if (top + height > parent.bottom) {\n\t\t\ttop = parent.bottom - height;\n\t\t}\n\n\t\treturn new Rect(left, top, left + width, top + height);\n\t}\n\n\twithWidth(width: number): Rect {\n\t\treturn new Rect(this.left, this.top, this.left + width, this.bottom);\n\t}\n\n\twithHeight(height: number): Rect {\n\t\treturn new Rect(this.left, this.top, this.right, this.top + height);\n\t}\n\n\twithTop(top: number): Rect {\n\t\treturn new Rect(this.left, top, this.right, this.bottom);\n\t}\n\n\twithLeft(left: number): Rect {\n\t\treturn new Rect(left, this.top, this.right, this.bottom);\n\t}\n\n\ttranslateX(delta: number): Rect {\n\t\treturn new Rect(this.left + delta, this.top, this.right + delta, this.bottom);\n\t}\n\n\ttranslateY(delta: number): Rect {\n\t\treturn new Rect(this.left, this.top + delta, this.right, this.bottom + delta);\n\t}\n\n\tgetLeftBottom(): Point {\n\t\treturn new Point(this.left, this.bottom);\n\t}\n\n\tgetRightBottom(): Point {\n\t\treturn new Point(this.right, this.bottom);\n\t}\n\n\tgetRightTop(): Point {\n\t\treturn new Point(this.right, this.top);\n\t}\n\n\ttoStyles() {\n\t\treturn {\n\t\t\tposition: 'absolute',\n\t\t\tleft: `${this.left}px`,\n\t\t\ttop: `${this.top}px`,\n\t\t\twidth: `${this.width}px`,\n\t\t\theight: `${this.height}px`,\n\t\t};\n\t}\n}\n"]}
1
+ {"version":3,"sources":["file:///mnt/vss/_work/1/s/dependencies/vscode/out-editor-src/vs/editor/common/core/2d/rect.ts","vs/editor/common/core/2d/rect.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAEhG,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAEvE,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAEnC,MAAM,OAAO,IAAI;IAET,MAAM,CAAC,UAAU,CAAC,OAAc,EAAE,WAAkB;QAC1D,OAAO,IAAI,IAAI,CAAC,OAAO,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC;IACrE,CAAC;IAEM,MAAM,CAAC,aAAa,CAAC,KAAY,EAAE,IAAW;QACpD,OAAO,IAAI,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,EAAE,KAAK,CAAC,CA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ACrC,OAAO,IAAI,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,EAAE,KAAK,CAAC,YAAY,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;IACzE,CAAC;IAED,OAAO;QACN,OAAO,IAAI,MAAM,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;IAC5C,CAAC;CACD","file":"rect.js","sourceRoot":"file:///mnt/vss/_work/1/s/dependencies/vscode/out-editor-src","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\nimport { BugIndicatingError } from '../../../../base/common/errors.js';\nimport { OffsetRange } from '../ranges/offsetRange.js';\nimport { Point } from './point.js';\nimport { Size2D } from './size.js';\n\nexport class Rect {\n\n\tpublic static fromPoints(topLeft: Point, bottomRight: Point): Rect {\n\t\treturn new Rect(topLeft.x, topLeft.y, bottomRight.x, bottomRight.y);\n\t}\n\n\tpublic static fromPointSize(point: Point, size: Point): Rect {\n\t\treturn new Rect(point.x, point.y, point.x + size.x, point.y + size.y);\n\t}\n\n\tpublic static fromLeftTopRightBottom(left: number, top: number, right: number, bottom: number): Rect {\n\t\treturn new Rect(left, top, right, bottom);\n\t}\n\n\tpublic static fromLeftTopWidthHeight(left: number, top: number, width: number, height: number): Rect {\n\t\treturn new Rect(left, top, left + width, top + height);\n\t}\n\n\tpublic static fromRanges(leftRight: OffsetRange, topBottom: OffsetRange): Rect {\n\t\treturn new Rect(leftRight.start, topBottom.start, leftRight.endExclusive, topBottom.endExclusive);\n\t}\n\n\tpublic static hull(rects: Rect[]): Rect {\n\t\tlet left = Number.MAX_SAFE_INTEGER;\n\t\tlet top = Number.MAX_SAFE_INTEGER;\n\t\tlet right = Number.MIN_SAFE_INTEGER;\n\t\tlet bottom = Number.MIN_SAFE_INTEGER;\n\n\t\tfor (const rect of rects) {\n\t\t\tleft = Math.min(left, rect.left);\n\t\t\ttop = Math.min(top, rect.top);\n\t\t\tright = Math.max(right, rect.right);\n\t\t\tbottom = Math.max(bottom, rect.bottom);\n\t\t}\n\n\t\treturn new Rect(left, top, right, bottom);\n\t}\n\n\tpublic get width() { return this.right - this.left; }\n\tpublic get height() { return this.bottom - this.top; }\n\n\tconstructor(\n\t\tpublic readonly left: number,\n\t\tpublic readonly top: number,\n\t\tpublic readonly right: number,\n\t\tpublic readonly bottom: number,\n\t) {\n\t\tif (left > right) {\n\t\t\tthrow new BugIndicatingError('Invalid arguments: Horizontally offset by ' + (left - right));\n\t\t}\n\t\tif (top > bottom) {\n\t\t\tthrow new BugIndicatingError('Invalid arguments: Vertically offset by ' + (top - bottom));\n\t\t}\n\t}\n\n\twithMargin(margin: number): Rect;\n\twithMargin(marginVertical: number, marginHorizontal: number): Rect;\n\twithMargin(marginTop: number, marginRight: number, marginBottom: number, marginLeft: number): Rect;\n\twithMargin(marginOrVerticalOrTop: number, rightOrHorizontal?: number, bottom?: number, left?: number): Rect {\n\t\tlet marginLeft, marginRight, marginTop, marginBottom;\n\n\t\t// Single margin value\n\t\tif (rightOrHorizontal === undefined && bottom === undefined && left === undefined) {\n\t\t\tmarginLeft = marginRight = marginTop = marginBottom = marginOrVerticalOrTop;\n\t\t}\n\t\t// Vertical and horizontal margins\n\t\telse if (bottom === undefined && left === undefined) {\n\t\t\tmarginLeft = marginRight = rightOrHorizontal!;\n\t\t\tmarginTop = marginBottom = marginOrVerticalOrTop;\n\t\t}\n\t\t// Individual margins for all sides\n\t\telse {\n\t\t\tmarginLeft = left!;\n\t\t\tmarginRight = rightOrHorizontal!;\n\t\t\tmarginTop = marginOrVerticalOrTop;\n\t\t\tmarginBottom = bottom!;\n\t\t}\n\n\t\treturn new Rect(\n\t\t\tthis.left - marginLeft,\n\t\t\tthis.top - marginTop,\n\t\t\tthis.right + marginRight,\n\t\t\tthis.bottom + marginBottom,\n\t\t);\n\t}\n\n\tintersectVertical(range: OffsetRange): Rect {\n\t\tconst newTop = Math.max(this.top, range.start);\n\t\tconst newBottom = Math.min(this.bottom, range.endExclusive);\n\t\treturn new Rect(\n\t\t\tthis.left,\n\t\t\tnewTop,\n\t\t\tthis.right,\n\t\t\tMath.max(newTop, newBottom),\n\t\t);\n\t}\n\n\tintersectHorizontal(range: OffsetRange): Rect {\n\t\tconst newLeft = Math.max(this.left, range.start);\n\t\tconst newRight = Math.min(this.right, range.endExclusive);\n\t\treturn new Rect(\n\t\t\tnewLeft,\n\t\t\tthis.top,\n\t\t\tMath.max(newLeft, newRight),\n\t\t\tthis.bottom,\n\t\t);\n\t}\n\n\ttoString(): string {\n\t\treturn `Rect{(${this.left},${this.top}), (${this.right},${this.bottom})}`;\n\t}\n\n\tintersect(parent: Rect): Rect | undefined {\n\t\tconst left = Math.max(this.left, parent.left);\n\t\tconst right = Math.min(this.right, parent.right);\n\t\tconst top = Math.max(this.top, parent.top);\n\t\tconst bottom = Math.min(this.bottom, parent.bottom);\n\n\t\tif (left > right || top > bottom) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\treturn new Rect(left, top, right, bottom);\n\t}\n\n\tcontainsRect(other: Rect): boolean {\n\t\treturn this.left <= other.left\n\t\t\t&& this.top <= other.top\n\t\t\t&& this.right >= other.right\n\t\t\t&& this.bottom >= other.bottom;\n\t}\n\n\tcontainsPoint(point: Point): boolean {\n\t\treturn this.left <= point.x\n\t\t\t&& this.top <= point.y\n\t\t\t&& this.right >= point.x\n\t\t\t&& this.bottom >= point.y;\n\t}\n\n\tmoveToBeContainedIn(parent: Rect): Rect {\n\t\tconst width = this.width;\n\t\tconst height = this.height;\n\n\t\tlet left = this.left;\n\t\tlet top = this.top;\n\n\t\tif (left < parent.left) {\n\t\t\tleft = parent.left;\n\t\t} else if (left + width > parent.right) {\n\t\t\tleft = parent.right - width;\n\t\t}\n\n\t\tif (top < parent.top) {\n\t\t\ttop = parent.top;\n\t\t} else if (top + height > parent.bottom) {\n\t\t\ttop = parent.bottom - height;\n\t\t}\n\n\t\treturn new Rect(left, top, left + width, top + height);\n\t}\n\n\twithWidth(width: number): Rect {\n\t\treturn new Rect(this.left, this.top, this.left + width, this.bottom);\n\t}\n\n\twithHeight(height: number): Rect {\n\t\treturn new Rect(this.left, this.top, this.right, this.top + height);\n\t}\n\n\twithTop(top: number): Rect {\n\t\treturn new Rect(this.left, top, this.right, this.bottom);\n\t}\n\n\twithLeft(left: number): Rect {\n\t\treturn new Rect(left, this.top, this.right, this.bottom);\n\t}\n\n\ttranslateX(delta: number): Rect {\n\t\treturn new Rect(this.left + delta, this.top, this.right + delta, this.bottom);\n\t}\n\n\ttranslateY(delta: number): Rect {\n\t\treturn new Rect(this.left, this.top + delta, this.right, this.bottom + delta);\n\t}\n\n\tgetLeftBottom(): Point {\n\t\treturn new Point(this.left, this.bottom);\n\t}\n\n\tgetRightBottom(): Point {\n\t\treturn new Point(this.right, this.bottom);\n\t}\n\n\tgetRightTop(): Point {\n\t\treturn new Point(this.right, this.top);\n\t}\n\n\ttoStyles() {\n\t\treturn {\n\t\t\tposition: 'absolute',\n\t\t\tleft: `${this.left}px`,\n\t\t\ttop: `${this.top}px`,\n\t\t\twidth: `${this.width}px`,\n\t\t\theight: `${this.height}px`,\n\t\t};\n\t}\n\n\twithHorizontalRange(range: OffsetRange): Rect {\n\t\treturn new Rect(range.start, this.top, range.endExclusive, this.bottom);\n\t}\n\n\tgetSize(): Size2D {\n\t\treturn new Size2D(this.width, this.height);\n\t}\n}\n","/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\nimport { BugIndicatingError } from '../../../../base/common/errors.js';\nimport { OffsetRange } from '../ranges/offsetRange.js';\nimport { Point } from './point.js';\nimport { Size2D } from './size.js';\n\nexport class Rect {\n\n\tpublic static fromPoints(topLeft: Point, bottomRight: Point): Rect {\n\t\treturn new Rect(topLeft.x, topLeft.y, bottomRight.x, bottomRight.y);\n\t}\n\n\tpublic static fromPointSize(point: Point, size: Point): Rect {\n\t\treturn new Rect(point.x, point.y, point.x + size.x, point.y + size.y);\n\t}\n\n\tpublic static fromLeftTopRightBottom(left: number, top: number, right: number, bottom: number): Rect {\n\t\treturn new Rect(left, top, right, bottom);\n\t}\n\n\tpublic static fromLeftTopWidthHeight(left: number, top: number, width: number, height: number): Rect {\n\t\treturn new Rect(left, top, left + width, top + height);\n\t}\n\n\tpublic static fromRanges(leftRight: OffsetRange, topBottom: OffsetRange): Rect {\n\t\treturn new Rect(leftRight.start, topBottom.start, leftRight.endExclusive, topBottom.endExclusive);\n\t}\n\n\tpublic static hull(rects: Rect[]): Rect {\n\t\tlet left = Number.MAX_SAFE_INTEGER;\n\t\tlet top = Number.MAX_SAFE_INTEGER;\n\t\tlet right = Number.MIN_SAFE_INTEGER;\n\t\tlet bottom = Number.MIN_SAFE_INTEGER;\n\n\t\tfor (const rect of rects) {\n\t\t\tleft = Math.min(left, rect.left);\n\t\t\ttop = Math.min(top, rect.top);\n\t\t\tright = Math.max(right, rect.right);\n\t\t\tbottom = Math.max(bottom, rect.bottom);\n\t\t}\n\n\t\treturn new Rect(left, top, right, bottom);\n\t}\n\n\tpublic get width() { return this.right - this.left; }\n\tpublic get height() { return this.bottom - this.top; }\n\n\tconstructor(\n\t\tpublic readonly left: number,\n\t\tpublic readonly top: number,\n\t\tpublic readonly right: number,\n\t\tpublic readonly bottom: number,\n\t) {\n\t\tif (left > right) {\n\t\t\tthrow new BugIndicatingError('Invalid arguments: Horizontally offset by ' + (left - right));\n\t\t}\n\t\tif (top > bottom) {\n\t\t\tthrow new BugIndicatingError('Invalid arguments: Vertically offset by ' + (top - bottom));\n\t\t}\n\t}\n\n\twithMargin(margin: number): Rect;\n\twithMargin(marginVertical: number, marginHorizontal: number): Rect;\n\twithMargin(marginTop: number, marginRight: number, marginBottom: number, marginLeft: number): Rect;\n\twithMargin(marginOrVerticalOrTop: number, rightOrHorizontal?: number, bottom?: number, left?: number): Rect {\n\t\tlet marginLeft, marginRight, marginTop, marginBottom;\n\n\t\t// Single margin value\n\t\tif (rightOrHorizontal === undefined && bottom === undefined && left === undefined) {\n\t\t\tmarginLeft = marginRight = marginTop = marginBottom = marginOrVerticalOrTop;\n\t\t}\n\t\t// Vertical and horizontal margins\n\t\telse if (bottom === undefined && left === undefined) {\n\t\t\tmarginLeft = marginRight = rightOrHorizontal!;\n\t\t\tmarginTop = marginBottom = marginOrVerticalOrTop;\n\t\t}\n\t\t// Individual margins for all sides\n\t\telse {\n\t\t\tmarginLeft = left!;\n\t\t\tmarginRight = rightOrHorizontal!;\n\t\t\tmarginTop = marginOrVerticalOrTop;\n\t\t\tmarginBottom = bottom!;\n\t\t}\n\n\t\treturn new Rect(\n\t\t\tthis.left - marginLeft,\n\t\t\tthis.top - marginTop,\n\t\t\tthis.right + marginRight,\n\t\t\tthis.bottom + marginBottom,\n\t\t);\n\t}\n\n\tintersectVertical(range: OffsetRange): Rect {\n\t\tconst newTop = Math.max(this.top, range.start);\n\t\tconst newBottom = Math.min(this.bottom, range.endExclusive);\n\t\treturn new Rect(\n\t\t\tthis.left,\n\t\t\tnewTop,\n\t\t\tthis.right,\n\t\t\tMath.max(newTop, newBottom),\n\t\t);\n\t}\n\n\tintersectHorizontal(range: OffsetRange): Rect {\n\t\tconst newLeft = Math.max(this.left, range.start);\n\t\tconst newRight = Math.min(this.right, range.endExclusive);\n\t\treturn new Rect(\n\t\t\tnewLeft,\n\t\t\tthis.top,\n\t\t\tMath.max(newLeft, newRight),\n\t\t\tthis.bottom,\n\t\t);\n\t}\n\n\ttoString(): string {\n\t\treturn `Rect{(${this.left},${this.top}), (${this.right},${this.bottom})}`;\n\t}\n\n\tintersect(parent: Rect): Rect | undefined {\n\t\tconst left = Math.max(this.left, parent.left);\n\t\tconst right = Math.min(this.right, parent.right);\n\t\tconst top = Math.max(this.top, parent.top);\n\t\tconst bottom = Math.min(this.bottom, parent.bottom);\n\n\t\tif (left > right || top > bottom) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\treturn new Rect(left, top, right, bottom);\n\t}\n\n\tcontainsRect(other: Rect): boolean {\n\t\treturn this.left <= other.left\n\t\t\t&& this.top <= other.top\n\t\t\t&& this.right >= other.right\n\t\t\t&& this.bottom >= other.bottom;\n\t}\n\n\tcontainsPoint(point: Point): boolean {\n\t\treturn this.left <= point.x\n\t\t\t&& this.top <= point.y\n\t\t\t&& this.right >= point.x\n\t\t\t&& this.bottom >= point.y;\n\t}\n\n\tmoveToBeContainedIn(parent: Rect): Rect {\n\t\tconst width = this.width;\n\t\tconst height = this.height;\n\n\t\tlet left = this.left;\n\t\tlet top = this.top;\n\n\t\tif (left < parent.left) {\n\t\t\tleft = parent.left;\n\t\t} else if (left + width > parent.right) {\n\t\t\tleft = parent.right - width;\n\t\t}\n\n\t\tif (top < parent.top) {\n\t\t\ttop = parent.top;\n\t\t} else if (top + height > parent.bottom) {\n\t\t\ttop = parent.bottom - height;\n\t\t}\n\n\t\treturn new Rect(left, top, left + width, top + height);\n\t}\n\n\twithWidth(width: number): Rect {\n\t\treturn new Rect(this.left, this.top, this.left + width, this.bottom);\n\t}\n\n\twithHeight(height: number): Rect {\n\t\treturn new Rect(this.left, this.top, this.right, this.top + height);\n\t}\n\n\twithTop(top: number): Rect {\n\t\treturn new Rect(this.left, top, this.right, this.bottom);\n\t}\n\n\twithLeft(left: number): Rect {\n\t\treturn new Rect(left, this.top, this.right, this.bottom);\n\t}\n\n\ttranslateX(delta: number): Rect {\n\t\treturn new Rect(this.left + delta, this.top, this.right + delta, this.bottom);\n\t}\n\n\ttranslateY(delta: number): Rect {\n\t\treturn new Rect(this.left, this.top + delta, this.right, this.bottom + delta);\n\t}\n\n\tgetLeftBottom(): Point {\n\t\treturn new Point(this.left, this.bottom);\n\t}\n\n\tgetRightBottom(): Point {\n\t\treturn new Point(this.right, this.bottom);\n\t}\n\n\tgetRightTop(): Point {\n\t\treturn new Point(this.right, this.top);\n\t}\n\n\ttoStyles() {\n\t\treturn {\n\t\t\tposition: 'absolute',\n\t\t\tleft: `${this.left}px`,\n\t\t\ttop: `${this.top}px`,\n\t\t\twidth: `${this.width}px`,\n\t\t\theight: `${this.height}px`,\n\t\t};\n\t}\n\n\twithHorizontalRange(range: OffsetRange): Rect {\n\t\treturn new Rect(range.start, this.top, range.endExclusive, this.bottom);\n\t}\n\n\tgetSize(): Size2D {\n\t\treturn new Size2D(this.width, this.height);\n\t}\n}\n"]}
@@ -0,0 +1,20 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Licensed under the MIT License. See License.txt in the project root for license information.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ export class Size2D {
6
+ constructor(width, height) {
7
+ this.width = width;
8
+ this.height = height;
9
+ }
10
+ toString() {
11
+ return `(${this.width},${this.height})`;
12
+ }
13
+ transpose() {
14
+ return new Size2D(this.height, this.width);
15
+ }
16
+ toDimension() {
17
+ return { width: this.width, height: this.height };
18
+ }
19
+ }
20
+ //# sourceMappingURL=size.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["file:///mnt/vss/_work/1/s/dependencies/vscode/out-editor-src/vs/editor/common/core/2d/size.ts","vs/editor/common/core/2d/size.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAIhG,MAAM,OAAO,MAAM;IAElB,YACiB,KAAa,EACb,MAAc;QADd,UAAK,GAAL,KAAK,CAAQ;QACb,WAAM,GAAN,MAAM,CAAQ;IAC3B,CAAC;IAEE,QAAQ;QACd,OAAO,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,MAAM,GAAG,CAAC;IACzC,CAAC;IAEM,SAAS;QACf,OAAO,IAAI,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;IAC5C,CAAC;IAEM,WAAW;QACjB,OAAO,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC;IACnD,CAAC;CACD","file":"size.js","sourceRoot":"file:///mnt/vss/_work/1/s/dependencies/vscode/out-editor-src","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\nimport { IDimension } from './dimension.js';\n\nexport class Size2D {\n\n\tconstructor(\n\t\tpublic readonly width: number,\n\t\tpublic readonly height: number,\n\t) { }\n\n\tpublic toString() {\n\t\treturn `(${this.width},${this.height})`;\n\t}\n\n\tpublic transpose(): Size2D {\n\t\treturn new Size2D(this.height, this.width);\n\t}\n\n\tpublic toDimension(): IDimension {\n\t\treturn { width: this.width, height: this.height };\n\t}\n}\n","/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\nimport { IDimension } from './dimension.js';\n\nexport class Size2D {\n\n\tconstructor(\n\t\tpublic readonly width: number,\n\t\tpublic readonly height: number,\n\t) { }\n\n\tpublic toString() {\n\t\treturn `(${this.width},${this.height})`;\n\t}\n\n\tpublic transpose(): Size2D {\n\t\treturn new Size2D(this.height, this.width);\n\t}\n\n\tpublic toDimension(): IDimension {\n\t\treturn { width: this.width, height: this.height };\n\t}\n}\n"]}
@@ -9,75 +9,76 @@ import { registerThemingParticipant } from '../../../platform/theme/common/theme
9
9
  /**
10
10
  * Definition of the editor colors
11
11
  */
12
- export const editorLineHighlight = registerColor('editor.lineHighlightBackground', null, nls.localize(610, 'Background color for the highlight of line at the cursor position.'));
13
- export const editorLineHighlightBorder = registerColor('editor.lineHighlightBorder', { dark: '#282828', light: '#eeeeee', hcDark: '#f38518', hcLight: contrastBorder }, nls.localize(611, 'Background color for the border around the line at the cursor position.'));
14
- export const editorRangeHighlight = registerColor('editor.rangeHighlightBackground', { dark: '#ffffff0b', light: '#fdff0033', hcDark: null, hcLight: null }, nls.localize(612, 'Background color of highlighted ranges, like by quick open and find features. The color must not be opaque so as not to hide underlying decorations.'), true);
15
- export const editorRangeHighlightBorder = registerColor('editor.rangeHighlightBorder', { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, nls.localize(613, 'Background color of the border around highlighted ranges.'));
16
- export const editorSymbolHighlight = registerColor('editor.symbolHighlightBackground', { dark: editorFindMatchHighlight, light: editorFindMatchHighlight, hcDark: null, hcLight: null }, nls.localize(614, 'Background color of highlighted symbol, like for go to definition or go next/previous symbol. The color must not be opaque so as not to hide underlying decorations.'), true);
17
- export const editorSymbolHighlightBorder = registerColor('editor.symbolHighlightBorder', { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, nls.localize(615, 'Background color of the border around highlighted symbols.'));
18
- export const editorCursorForeground = registerColor('editorCursor.foreground', { dark: '#AEAFAD', light: Color.black, hcDark: Color.white, hcLight: '#0F4A85' }, nls.localize(616, 'Color of the editor cursor.'));
19
- export const editorCursorBackground = registerColor('editorCursor.background', null, nls.localize(617, 'The background color of the editor cursor. Allows customizing the color of a character overlapped by a block cursor.'));
20
- export const editorMultiCursorPrimaryForeground = registerColor('editorMultiCursor.primary.foreground', editorCursorForeground, nls.localize(618, 'Color of the primary editor cursor when multiple cursors are present.'));
21
- export const editorMultiCursorPrimaryBackground = registerColor('editorMultiCursor.primary.background', editorCursorBackground, nls.localize(619, 'The background color of the primary editor cursor when multiple cursors are present. Allows customizing the color of a character overlapped by a block cursor.'));
22
- export const editorMultiCursorSecondaryForeground = registerColor('editorMultiCursor.secondary.foreground', editorCursorForeground, nls.localize(620, 'Color of secondary editor cursors when multiple cursors are present.'));
23
- export const editorMultiCursorSecondaryBackground = registerColor('editorMultiCursor.secondary.background', editorCursorBackground, nls.localize(621, 'The background color of secondary editor cursors when multiple cursors are present. Allows customizing the color of a character overlapped by a block cursor.'));
24
- export const editorWhitespaces = registerColor('editorWhitespace.foreground', { dark: '#e3e4e229', light: '#33333333', hcDark: '#e3e4e229', hcLight: '#CCCCCC' }, nls.localize(622, 'Color of whitespace characters in the editor.'));
25
- export const editorLineNumbers = registerColor('editorLineNumber.foreground', { dark: '#858585', light: '#237893', hcDark: Color.white, hcLight: '#292929' }, nls.localize(623, 'Color of editor line numbers.'));
26
- export const deprecatedEditorIndentGuides = registerColor('editorIndentGuide.background', editorWhitespaces, nls.localize(624, 'Color of the editor indentation guides.'), false, nls.localize(625, '\'editorIndentGuide.background\' is deprecated. Use \'editorIndentGuide.background1\' instead.'));
27
- export const deprecatedEditorActiveIndentGuides = registerColor('editorIndentGuide.activeBackground', editorWhitespaces, nls.localize(626, 'Color of the active editor indentation guides.'), false, nls.localize(627, '\'editorIndentGuide.activeBackground\' is deprecated. Use \'editorIndentGuide.activeBackground1\' instead.'));
28
- export const editorIndentGuide1 = registerColor('editorIndentGuide.background1', deprecatedEditorIndentGuides, nls.localize(628, 'Color of the editor indentation guides (1).'));
29
- export const editorIndentGuide2 = registerColor('editorIndentGuide.background2', '#00000000', nls.localize(629, 'Color of the editor indentation guides (2).'));
30
- export const editorIndentGuide3 = registerColor('editorIndentGuide.background3', '#00000000', nls.localize(630, 'Color of the editor indentation guides (3).'));
31
- export const editorIndentGuide4 = registerColor('editorIndentGuide.background4', '#00000000', nls.localize(631, 'Color of the editor indentation guides (4).'));
32
- export const editorIndentGuide5 = registerColor('editorIndentGuide.background5', '#00000000', nls.localize(632, 'Color of the editor indentation guides (5).'));
33
- export const editorIndentGuide6 = registerColor('editorIndentGuide.background6', '#00000000', nls.localize(633, 'Color of the editor indentation guides (6).'));
34
- export const editorActiveIndentGuide1 = registerColor('editorIndentGuide.activeBackground1', deprecatedEditorActiveIndentGuides, nls.localize(634, 'Color of the active editor indentation guides (1).'));
35
- export const editorActiveIndentGuide2 = registerColor('editorIndentGuide.activeBackground2', '#00000000', nls.localize(635, 'Color of the active editor indentation guides (2).'));
36
- export const editorActiveIndentGuide3 = registerColor('editorIndentGuide.activeBackground3', '#00000000', nls.localize(636, 'Color of the active editor indentation guides (3).'));
37
- export const editorActiveIndentGuide4 = registerColor('editorIndentGuide.activeBackground4', '#00000000', nls.localize(637, 'Color of the active editor indentation guides (4).'));
38
- export const editorActiveIndentGuide5 = registerColor('editorIndentGuide.activeBackground5', '#00000000', nls.localize(638, 'Color of the active editor indentation guides (5).'));
39
- export const editorActiveIndentGuide6 = registerColor('editorIndentGuide.activeBackground6', '#00000000', nls.localize(639, 'Color of the active editor indentation guides (6).'));
40
- const deprecatedEditorActiveLineNumber = registerColor('editorActiveLineNumber.foreground', { dark: '#c6c6c6', light: '#0B216F', hcDark: activeContrastBorder, hcLight: activeContrastBorder }, nls.localize(640, 'Color of editor active line number'), false, nls.localize(641, 'Id is deprecated. Use \'editorLineNumber.activeForeground\' instead.'));
41
- export const editorActiveLineNumber = registerColor('editorLineNumber.activeForeground', deprecatedEditorActiveLineNumber, nls.localize(642, 'Color of editor active line number'));
42
- export const editorDimmedLineNumber = registerColor('editorLineNumber.dimmedForeground', null, nls.localize(643, 'Color of the final editor line when editor.renderFinalNewline is set to dimmed.'));
43
- export const editorRuler = registerColor('editorRuler.foreground', { dark: '#5A5A5A', light: Color.lightgrey, hcDark: Color.white, hcLight: '#292929' }, nls.localize(644, 'Color of the editor rulers.'));
44
- export const editorCodeLensForeground = registerColor('editorCodeLens.foreground', { dark: '#999999', light: '#919191', hcDark: '#999999', hcLight: '#292929' }, nls.localize(645, 'Foreground color of editor CodeLens'));
45
- export const editorBracketMatchBackground = registerColor('editorBracketMatch.background', { dark: '#0064001a', light: '#0064001a', hcDark: '#0064001a', hcLight: '#0000' }, nls.localize(646, 'Background color behind matching brackets'));
46
- export const editorBracketMatchBorder = registerColor('editorBracketMatch.border', { dark: '#888', light: '#B9B9B9', hcDark: contrastBorder, hcLight: contrastBorder }, nls.localize(647, 'Color for matching brackets boxes'));
47
- export const editorOverviewRulerBorder = registerColor('editorOverviewRuler.border', { dark: '#7f7f7f4d', light: '#7f7f7f4d', hcDark: '#7f7f7f4d', hcLight: '#666666' }, nls.localize(648, 'Color of the overview ruler border.'));
48
- export const editorOverviewRulerBackground = registerColor('editorOverviewRuler.background', null, nls.localize(649, 'Background color of the editor overview ruler.'));
49
- export const editorGutter = registerColor('editorGutter.background', editorBackground, nls.localize(650, 'Background color of the editor gutter. The gutter contains the glyph margins and the line numbers.'));
50
- export const editorUnnecessaryCodeBorder = registerColor('editorUnnecessaryCode.border', { dark: null, light: null, hcDark: Color.fromHex('#fff').transparent(0.8), hcLight: contrastBorder }, nls.localize(651, 'Border color of unnecessary (unused) source code in the editor.'));
51
- export const editorUnnecessaryCodeOpacity = registerColor('editorUnnecessaryCode.opacity', { dark: Color.fromHex('#000a'), light: Color.fromHex('#0007'), hcDark: null, hcLight: null }, nls.localize(652, 'Opacity of unnecessary (unused) source code in the editor. For example, "#000000c0" will render the code with 75% opacity. For high contrast themes, use the \'editorUnnecessaryCode.border\' theme color to underline unnecessary code instead of fading it out.'));
52
- export const ghostTextBorder = registerColor('editorGhostText.border', { dark: null, light: null, hcDark: Color.fromHex('#fff').transparent(0.8), hcLight: Color.fromHex('#292929').transparent(0.8) }, nls.localize(653, 'Border color of ghost text in the editor.'));
53
- export const ghostTextForeground = registerColor('editorGhostText.foreground', { dark: Color.fromHex('#ffffff56'), light: Color.fromHex('#0007'), hcDark: null, hcLight: null }, nls.localize(654, 'Foreground color of the ghost text in the editor.'));
54
- export const ghostTextBackground = registerColor('editorGhostText.background', null, nls.localize(655, 'Background color of the ghost text in the editor.'));
12
+ export const editorLineHighlight = registerColor('editor.lineHighlightBackground', null, nls.localize(614, 'Background color for the highlight of line at the cursor position.'));
13
+ export const editorInactiveLineHighlight = registerColor('editor.inactiveLineHighlightBackground', editorLineHighlight, nls.localize(615, 'Background color for the highlight of line at the cursor position when the editor is not focused.'));
14
+ export const editorLineHighlightBorder = registerColor('editor.lineHighlightBorder', { dark: '#282828', light: '#eeeeee', hcDark: '#f38518', hcLight: contrastBorder }, nls.localize(616, 'Background color for the border around the line at the cursor position.'));
15
+ export const editorRangeHighlight = registerColor('editor.rangeHighlightBackground', { dark: '#ffffff0b', light: '#fdff0033', hcDark: null, hcLight: null }, nls.localize(617, 'Background color of highlighted ranges, like by quick open and find features. The color must not be opaque so as not to hide underlying decorations.'), true);
16
+ export const editorRangeHighlightBorder = registerColor('editor.rangeHighlightBorder', { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, nls.localize(618, 'Background color of the border around highlighted ranges.'));
17
+ export const editorSymbolHighlight = registerColor('editor.symbolHighlightBackground', { dark: editorFindMatchHighlight, light: editorFindMatchHighlight, hcDark: null, hcLight: null }, nls.localize(619, 'Background color of highlighted symbol, like for go to definition or go next/previous symbol. The color must not be opaque so as not to hide underlying decorations.'), true);
18
+ export const editorSymbolHighlightBorder = registerColor('editor.symbolHighlightBorder', { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, nls.localize(620, 'Background color of the border around highlighted symbols.'));
19
+ export const editorCursorForeground = registerColor('editorCursor.foreground', { dark: '#AEAFAD', light: Color.black, hcDark: Color.white, hcLight: '#0F4A85' }, nls.localize(621, 'Color of the editor cursor.'));
20
+ export const editorCursorBackground = registerColor('editorCursor.background', null, nls.localize(622, 'The background color of the editor cursor. Allows customizing the color of a character overlapped by a block cursor.'));
21
+ export const editorMultiCursorPrimaryForeground = registerColor('editorMultiCursor.primary.foreground', editorCursorForeground, nls.localize(623, 'Color of the primary editor cursor when multiple cursors are present.'));
22
+ export const editorMultiCursorPrimaryBackground = registerColor('editorMultiCursor.primary.background', editorCursorBackground, nls.localize(624, 'The background color of the primary editor cursor when multiple cursors are present. Allows customizing the color of a character overlapped by a block cursor.'));
23
+ export const editorMultiCursorSecondaryForeground = registerColor('editorMultiCursor.secondary.foreground', editorCursorForeground, nls.localize(625, 'Color of secondary editor cursors when multiple cursors are present.'));
24
+ export const editorMultiCursorSecondaryBackground = registerColor('editorMultiCursor.secondary.background', editorCursorBackground, nls.localize(626, 'The background color of secondary editor cursors when multiple cursors are present. Allows customizing the color of a character overlapped by a block cursor.'));
25
+ export const editorWhitespaces = registerColor('editorWhitespace.foreground', { dark: '#e3e4e229', light: '#33333333', hcDark: '#e3e4e229', hcLight: '#CCCCCC' }, nls.localize(627, 'Color of whitespace characters in the editor.'));
26
+ export const editorLineNumbers = registerColor('editorLineNumber.foreground', { dark: '#858585', light: '#237893', hcDark: Color.white, hcLight: '#292929' }, nls.localize(628, 'Color of editor line numbers.'));
27
+ export const deprecatedEditorIndentGuides = registerColor('editorIndentGuide.background', editorWhitespaces, nls.localize(629, 'Color of the editor indentation guides.'), false, nls.localize(630, '\'editorIndentGuide.background\' is deprecated. Use \'editorIndentGuide.background1\' instead.'));
28
+ export const deprecatedEditorActiveIndentGuides = registerColor('editorIndentGuide.activeBackground', editorWhitespaces, nls.localize(631, 'Color of the active editor indentation guides.'), false, nls.localize(632, '\'editorIndentGuide.activeBackground\' is deprecated. Use \'editorIndentGuide.activeBackground1\' instead.'));
29
+ export const editorIndentGuide1 = registerColor('editorIndentGuide.background1', deprecatedEditorIndentGuides, nls.localize(633, 'Color of the editor indentation guides (1).'));
30
+ export const editorIndentGuide2 = registerColor('editorIndentGuide.background2', '#00000000', nls.localize(634, 'Color of the editor indentation guides (2).'));
31
+ export const editorIndentGuide3 = registerColor('editorIndentGuide.background3', '#00000000', nls.localize(635, 'Color of the editor indentation guides (3).'));
32
+ export const editorIndentGuide4 = registerColor('editorIndentGuide.background4', '#00000000', nls.localize(636, 'Color of the editor indentation guides (4).'));
33
+ export const editorIndentGuide5 = registerColor('editorIndentGuide.background5', '#00000000', nls.localize(637, 'Color of the editor indentation guides (5).'));
34
+ export const editorIndentGuide6 = registerColor('editorIndentGuide.background6', '#00000000', nls.localize(638, 'Color of the editor indentation guides (6).'));
35
+ export const editorActiveIndentGuide1 = registerColor('editorIndentGuide.activeBackground1', deprecatedEditorActiveIndentGuides, nls.localize(639, 'Color of the active editor indentation guides (1).'));
36
+ export const editorActiveIndentGuide2 = registerColor('editorIndentGuide.activeBackground2', '#00000000', nls.localize(640, 'Color of the active editor indentation guides (2).'));
37
+ export const editorActiveIndentGuide3 = registerColor('editorIndentGuide.activeBackground3', '#00000000', nls.localize(641, 'Color of the active editor indentation guides (3).'));
38
+ export const editorActiveIndentGuide4 = registerColor('editorIndentGuide.activeBackground4', '#00000000', nls.localize(642, 'Color of the active editor indentation guides (4).'));
39
+ export const editorActiveIndentGuide5 = registerColor('editorIndentGuide.activeBackground5', '#00000000', nls.localize(643, 'Color of the active editor indentation guides (5).'));
40
+ export const editorActiveIndentGuide6 = registerColor('editorIndentGuide.activeBackground6', '#00000000', nls.localize(644, 'Color of the active editor indentation guides (6).'));
41
+ const deprecatedEditorActiveLineNumber = registerColor('editorActiveLineNumber.foreground', { dark: '#c6c6c6', light: '#0B216F', hcDark: activeContrastBorder, hcLight: activeContrastBorder }, nls.localize(645, 'Color of editor active line number'), false, nls.localize(646, 'Id is deprecated. Use \'editorLineNumber.activeForeground\' instead.'));
42
+ export const editorActiveLineNumber = registerColor('editorLineNumber.activeForeground', deprecatedEditorActiveLineNumber, nls.localize(647, 'Color of editor active line number'));
43
+ export const editorDimmedLineNumber = registerColor('editorLineNumber.dimmedForeground', null, nls.localize(648, 'Color of the final editor line when editor.renderFinalNewline is set to dimmed.'));
44
+ export const editorRuler = registerColor('editorRuler.foreground', { dark: '#5A5A5A', light: Color.lightgrey, hcDark: Color.white, hcLight: '#292929' }, nls.localize(649, 'Color of the editor rulers.'));
45
+ export const editorCodeLensForeground = registerColor('editorCodeLens.foreground', { dark: '#999999', light: '#919191', hcDark: '#999999', hcLight: '#292929' }, nls.localize(650, 'Foreground color of editor CodeLens'));
46
+ export const editorBracketMatchBackground = registerColor('editorBracketMatch.background', { dark: '#0064001a', light: '#0064001a', hcDark: '#0064001a', hcLight: '#0000' }, nls.localize(651, 'Background color behind matching brackets'));
47
+ export const editorBracketMatchBorder = registerColor('editorBracketMatch.border', { dark: '#888', light: '#B9B9B9', hcDark: contrastBorder, hcLight: contrastBorder }, nls.localize(652, 'Color for matching brackets boxes'));
48
+ export const editorOverviewRulerBorder = registerColor('editorOverviewRuler.border', { dark: '#7f7f7f4d', light: '#7f7f7f4d', hcDark: '#7f7f7f4d', hcLight: '#666666' }, nls.localize(653, 'Color of the overview ruler border.'));
49
+ export const editorOverviewRulerBackground = registerColor('editorOverviewRuler.background', null, nls.localize(654, 'Background color of the editor overview ruler.'));
50
+ export const editorGutter = registerColor('editorGutter.background', editorBackground, nls.localize(655, 'Background color of the editor gutter. The gutter contains the glyph margins and the line numbers.'));
51
+ export const editorUnnecessaryCodeBorder = registerColor('editorUnnecessaryCode.border', { dark: null, light: null, hcDark: Color.fromHex('#fff').transparent(0.8), hcLight: contrastBorder }, nls.localize(656, 'Border color of unnecessary (unused) source code in the editor.'));
52
+ export const editorUnnecessaryCodeOpacity = registerColor('editorUnnecessaryCode.opacity', { dark: Color.fromHex('#000a'), light: Color.fromHex('#0007'), hcDark: null, hcLight: null }, nls.localize(657, 'Opacity of unnecessary (unused) source code in the editor. For example, "#000000c0" will render the code with 75% opacity. For high contrast themes, use the \'editorUnnecessaryCode.border\' theme color to underline unnecessary code instead of fading it out.'));
53
+ export const ghostTextBorder = registerColor('editorGhostText.border', { dark: null, light: null, hcDark: Color.fromHex('#fff').transparent(0.8), hcLight: Color.fromHex('#292929').transparent(0.8) }, nls.localize(658, 'Border color of ghost text in the editor.'));
54
+ export const ghostTextForeground = registerColor('editorGhostText.foreground', { dark: Color.fromHex('#ffffff56'), light: Color.fromHex('#0007'), hcDark: null, hcLight: null }, nls.localize(659, 'Foreground color of the ghost text in the editor.'));
55
+ export const ghostTextBackground = registerColor('editorGhostText.background', null, nls.localize(660, 'Background color of the ghost text in the editor.'));
55
56
  const rulerRangeDefault = new Color(new RGBA(0, 122, 204, 0.6));
56
- export const overviewRulerRangeHighlight = registerColor('editorOverviewRuler.rangeHighlightForeground', rulerRangeDefault, nls.localize(656, 'Overview ruler marker color for range highlights. The color must not be opaque so as not to hide underlying decorations.'), true);
57
- export const overviewRulerError = registerColor('editorOverviewRuler.errorForeground', { dark: new Color(new RGBA(255, 18, 18, 0.7)), light: new Color(new RGBA(255, 18, 18, 0.7)), hcDark: new Color(new RGBA(255, 50, 50, 1)), hcLight: '#B5200D' }, nls.localize(657, 'Overview ruler marker color for errors.'));
58
- export const overviewRulerWarning = registerColor('editorOverviewRuler.warningForeground', { dark: editorWarningForeground, light: editorWarningForeground, hcDark: editorWarningBorder, hcLight: editorWarningBorder }, nls.localize(658, 'Overview ruler marker color for warnings.'));
59
- export const overviewRulerInfo = registerColor('editorOverviewRuler.infoForeground', { dark: editorInfoForeground, light: editorInfoForeground, hcDark: editorInfoBorder, hcLight: editorInfoBorder }, nls.localize(659, 'Overview ruler marker color for infos.'));
60
- export const editorBracketHighlightingForeground1 = registerColor('editorBracketHighlight.foreground1', { dark: '#FFD700', light: '#0431FAFF', hcDark: '#FFD700', hcLight: '#0431FAFF' }, nls.localize(660, 'Foreground color of brackets (1). Requires enabling bracket pair colorization.'));
61
- export const editorBracketHighlightingForeground2 = registerColor('editorBracketHighlight.foreground2', { dark: '#DA70D6', light: '#319331FF', hcDark: '#DA70D6', hcLight: '#319331FF' }, nls.localize(661, 'Foreground color of brackets (2). Requires enabling bracket pair colorization.'));
62
- export const editorBracketHighlightingForeground3 = registerColor('editorBracketHighlight.foreground3', { dark: '#179FFF', light: '#7B3814FF', hcDark: '#87CEFA', hcLight: '#7B3814FF' }, nls.localize(662, 'Foreground color of brackets (3). Requires enabling bracket pair colorization.'));
63
- export const editorBracketHighlightingForeground4 = registerColor('editorBracketHighlight.foreground4', '#00000000', nls.localize(663, 'Foreground color of brackets (4). Requires enabling bracket pair colorization.'));
64
- export const editorBracketHighlightingForeground5 = registerColor('editorBracketHighlight.foreground5', '#00000000', nls.localize(664, 'Foreground color of brackets (5). Requires enabling bracket pair colorization.'));
65
- export const editorBracketHighlightingForeground6 = registerColor('editorBracketHighlight.foreground6', '#00000000', nls.localize(665, 'Foreground color of brackets (6). Requires enabling bracket pair colorization.'));
66
- export const editorBracketHighlightingUnexpectedBracketForeground = registerColor('editorBracketHighlight.unexpectedBracket.foreground', { dark: new Color(new RGBA(255, 18, 18, 0.8)), light: new Color(new RGBA(255, 18, 18, 0.8)), hcDark: new Color(new RGBA(255, 50, 50, 1)), hcLight: '#B5200D' }, nls.localize(666, 'Foreground color of unexpected brackets.'));
67
- export const editorBracketPairGuideBackground1 = registerColor('editorBracketPairGuide.background1', '#00000000', nls.localize(667, 'Background color of inactive bracket pair guides (1). Requires enabling bracket pair guides.'));
68
- export const editorBracketPairGuideBackground2 = registerColor('editorBracketPairGuide.background2', '#00000000', nls.localize(668, 'Background color of inactive bracket pair guides (2). Requires enabling bracket pair guides.'));
69
- export const editorBracketPairGuideBackground3 = registerColor('editorBracketPairGuide.background3', '#00000000', nls.localize(669, 'Background color of inactive bracket pair guides (3). Requires enabling bracket pair guides.'));
70
- export const editorBracketPairGuideBackground4 = registerColor('editorBracketPairGuide.background4', '#00000000', nls.localize(670, 'Background color of inactive bracket pair guides (4). Requires enabling bracket pair guides.'));
71
- export const editorBracketPairGuideBackground5 = registerColor('editorBracketPairGuide.background5', '#00000000', nls.localize(671, 'Background color of inactive bracket pair guides (5). Requires enabling bracket pair guides.'));
72
- export const editorBracketPairGuideBackground6 = registerColor('editorBracketPairGuide.background6', '#00000000', nls.localize(672, 'Background color of inactive bracket pair guides (6). Requires enabling bracket pair guides.'));
73
- export const editorBracketPairGuideActiveBackground1 = registerColor('editorBracketPairGuide.activeBackground1', '#00000000', nls.localize(673, 'Background color of active bracket pair guides (1). Requires enabling bracket pair guides.'));
74
- export const editorBracketPairGuideActiveBackground2 = registerColor('editorBracketPairGuide.activeBackground2', '#00000000', nls.localize(674, 'Background color of active bracket pair guides (2). Requires enabling bracket pair guides.'));
75
- export const editorBracketPairGuideActiveBackground3 = registerColor('editorBracketPairGuide.activeBackground3', '#00000000', nls.localize(675, 'Background color of active bracket pair guides (3). Requires enabling bracket pair guides.'));
76
- export const editorBracketPairGuideActiveBackground4 = registerColor('editorBracketPairGuide.activeBackground4', '#00000000', nls.localize(676, 'Background color of active bracket pair guides (4). Requires enabling bracket pair guides.'));
77
- export const editorBracketPairGuideActiveBackground5 = registerColor('editorBracketPairGuide.activeBackground5', '#00000000', nls.localize(677, 'Background color of active bracket pair guides (5). Requires enabling bracket pair guides.'));
78
- export const editorBracketPairGuideActiveBackground6 = registerColor('editorBracketPairGuide.activeBackground6', '#00000000', nls.localize(678, 'Background color of active bracket pair guides (6). Requires enabling bracket pair guides.'));
79
- export const editorUnicodeHighlightBorder = registerColor('editorUnicodeHighlight.border', editorWarningForeground, nls.localize(679, 'Border color used to highlight unicode characters.'));
80
- export const editorUnicodeHighlightBackground = registerColor('editorUnicodeHighlight.background', editorWarningBackground, nls.localize(680, 'Background color used to highlight unicode characters.'));
57
+ export const overviewRulerRangeHighlight = registerColor('editorOverviewRuler.rangeHighlightForeground', rulerRangeDefault, nls.localize(661, 'Overview ruler marker color for range highlights. The color must not be opaque so as not to hide underlying decorations.'), true);
58
+ export const overviewRulerError = registerColor('editorOverviewRuler.errorForeground', { dark: new Color(new RGBA(255, 18, 18, 0.7)), light: new Color(new RGBA(255, 18, 18, 0.7)), hcDark: new Color(new RGBA(255, 50, 50, 1)), hcLight: '#B5200D' }, nls.localize(662, 'Overview ruler marker color for errors.'));
59
+ export const overviewRulerWarning = registerColor('editorOverviewRuler.warningForeground', { dark: editorWarningForeground, light: editorWarningForeground, hcDark: editorWarningBorder, hcLight: editorWarningBorder }, nls.localize(663, 'Overview ruler marker color for warnings.'));
60
+ export const overviewRulerInfo = registerColor('editorOverviewRuler.infoForeground', { dark: editorInfoForeground, light: editorInfoForeground, hcDark: editorInfoBorder, hcLight: editorInfoBorder }, nls.localize(664, 'Overview ruler marker color for infos.'));
61
+ export const editorBracketHighlightingForeground1 = registerColor('editorBracketHighlight.foreground1', { dark: '#FFD700', light: '#0431FAFF', hcDark: '#FFD700', hcLight: '#0431FAFF' }, nls.localize(665, 'Foreground color of brackets (1). Requires enabling bracket pair colorization.'));
62
+ export const editorBracketHighlightingForeground2 = registerColor('editorBracketHighlight.foreground2', { dark: '#DA70D6', light: '#319331FF', hcDark: '#DA70D6', hcLight: '#319331FF' }, nls.localize(666, 'Foreground color of brackets (2). Requires enabling bracket pair colorization.'));
63
+ export const editorBracketHighlightingForeground3 = registerColor('editorBracketHighlight.foreground3', { dark: '#179FFF', light: '#7B3814FF', hcDark: '#87CEFA', hcLight: '#7B3814FF' }, nls.localize(667, 'Foreground color of brackets (3). Requires enabling bracket pair colorization.'));
64
+ export const editorBracketHighlightingForeground4 = registerColor('editorBracketHighlight.foreground4', '#00000000', nls.localize(668, 'Foreground color of brackets (4). Requires enabling bracket pair colorization.'));
65
+ export const editorBracketHighlightingForeground5 = registerColor('editorBracketHighlight.foreground5', '#00000000', nls.localize(669, 'Foreground color of brackets (5). Requires enabling bracket pair colorization.'));
66
+ export const editorBracketHighlightingForeground6 = registerColor('editorBracketHighlight.foreground6', '#00000000', nls.localize(670, 'Foreground color of brackets (6). Requires enabling bracket pair colorization.'));
67
+ export const editorBracketHighlightingUnexpectedBracketForeground = registerColor('editorBracketHighlight.unexpectedBracket.foreground', { dark: new Color(new RGBA(255, 18, 18, 0.8)), light: new Color(new RGBA(255, 18, 18, 0.8)), hcDark: new Color(new RGBA(255, 50, 50, 1)), hcLight: '#B5200D' }, nls.localize(671, 'Foreground color of unexpected brackets.'));
68
+ export const editorBracketPairGuideBackground1 = registerColor('editorBracketPairGuide.background1', '#00000000', nls.localize(672, 'Background color of inactive bracket pair guides (1). Requires enabling bracket pair guides.'));
69
+ export const editorBracketPairGuideBackground2 = registerColor('editorBracketPairGuide.background2', '#00000000', nls.localize(673, 'Background color of inactive bracket pair guides (2). Requires enabling bracket pair guides.'));
70
+ export const editorBracketPairGuideBackground3 = registerColor('editorBracketPairGuide.background3', '#00000000', nls.localize(674, 'Background color of inactive bracket pair guides (3). Requires enabling bracket pair guides.'));
71
+ export const editorBracketPairGuideBackground4 = registerColor('editorBracketPairGuide.background4', '#00000000', nls.localize(675, 'Background color of inactive bracket pair guides (4). Requires enabling bracket pair guides.'));
72
+ export const editorBracketPairGuideBackground5 = registerColor('editorBracketPairGuide.background5', '#00000000', nls.localize(676, 'Background color of inactive bracket pair guides (5). Requires enabling bracket pair guides.'));
73
+ export const editorBracketPairGuideBackground6 = registerColor('editorBracketPairGuide.background6', '#00000000', nls.localize(677, 'Background color of inactive bracket pair guides (6). Requires enabling bracket pair guides.'));
74
+ export const editorBracketPairGuideActiveBackground1 = registerColor('editorBracketPairGuide.activeBackground1', '#00000000', nls.localize(678, 'Background color of active bracket pair guides (1). Requires enabling bracket pair guides.'));
75
+ export const editorBracketPairGuideActiveBackground2 = registerColor('editorBracketPairGuide.activeBackground2', '#00000000', nls.localize(679, 'Background color of active bracket pair guides (2). Requires enabling bracket pair guides.'));
76
+ export const editorBracketPairGuideActiveBackground3 = registerColor('editorBracketPairGuide.activeBackground3', '#00000000', nls.localize(680, 'Background color of active bracket pair guides (3). Requires enabling bracket pair guides.'));
77
+ export const editorBracketPairGuideActiveBackground4 = registerColor('editorBracketPairGuide.activeBackground4', '#00000000', nls.localize(681, 'Background color of active bracket pair guides (4). Requires enabling bracket pair guides.'));
78
+ export const editorBracketPairGuideActiveBackground5 = registerColor('editorBracketPairGuide.activeBackground5', '#00000000', nls.localize(682, 'Background color of active bracket pair guides (5). Requires enabling bracket pair guides.'));
79
+ export const editorBracketPairGuideActiveBackground6 = registerColor('editorBracketPairGuide.activeBackground6', '#00000000', nls.localize(683, 'Background color of active bracket pair guides (6). Requires enabling bracket pair guides.'));
80
+ export const editorUnicodeHighlightBorder = registerColor('editorUnicodeHighlight.border', editorWarningForeground, nls.localize(684, 'Border color used to highlight unicode characters.'));
81
+ export const editorUnicodeHighlightBackground = registerColor('editorUnicodeHighlight.background', editorWarningBackground, nls.localize(685, 'Background color used to highlight unicode characters.'));
81
82
  // contains all color rules that used to defined in editor/browser/widget/editor.css
82
83
  registerThemingParticipant((theme, collector) => {
83
84
  const background = theme.getColor(editorBackground);
@@ -1 +1 @@
1
- {"version":3,"sources":["vs/editor/common/core/editorColorRegistry.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAEhG,OAAO,KAAK,GAAG,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,aAAa,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,cAAc,EAAE,wBAAwB,EAAE,uBAAuB,EAAE,MAAM,iDAAiD,CAAC;AACjR,OAAO,EAAE,0BAA0B,EAAE,MAAM,gDAAgD,CAAC;AAE5F;;GAEG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,aAAa,CAAC,gCAAgC,EAAE,IAAI,EAAE,GAAG,CAAC,QAAQ,CAAC,GAAe,EAAE,oEAAoE,CAAC,CAAC,CAAC;AAC9L,MAAM,CAAC,MAAM,yBAAyB,GAAG,aAAa,CAAC,4BAA4B,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,cAAc,EAAE,EAAE,GAAG,CAAC,QAAQ,CAAC,GAAwB,EAAE,yEAAyE,CAAC,CAAC,CAAC;AAC3R,MAAM,CAAC,MAAM,oBAAoB,GAAG,aAAa,CAAC,iCAAiC,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,GAAG,CAAC,QAAQ,CAAC,GAAgB,EAAE,sJAAsJ,CAAC,EAAE,IAAI,CAAC,CAAC;AAC3V,MAAM,CAAC,MAAM,0BAA0B,GAAG,aAAa,C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aAAa,CAAC,0CAA0C,EAAE,WAAW,EAAE,GAAG,CAAC,QAAQ,CAAC,GAA0C,EAAE,4FAA4F,CAAC,CAAC,CAAC;AAEtR,MAAM,CAAC,MAAM,4BAA4B,GAAG,aAAa,CAAC,+BAA+B,EAAE,uBAAuB,EAAE,GAAG,CAAC,QAAQ,CAAC,GAA+B,EAAE,oDAAoD,CAAC,CAAC,CAAC;AACzN,MAAM,CAAC,MAAM,gCAAgC,GAAG,aAAa,CAAC,mCAAmC,EAAE,uBAAuB,EAAE,GAAG,CAAC,QAAQ,CAAC,GAAmC,EAAE,wDAAwD,CAAC,CAAC,CAAC;AAGzO,oFAAoF;AACpF,0BAA0B,CAAC,CAAC,KAAK,EAAE,SAAS,EAAE,EAAE;IAC/C,MAAM,UAAU,GAAG,KAAK,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAAC;IACpD,MAAM,aAAa,GAAG,KAAK,CAAC,QAAQ,CAAC,mBAAmB,CAAC,CAAC;IAC1D,MAAM,aAAa,GAAG,CAAC,aAAa,IAAI,CAAC,aAAa,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC;IACrG,IAAI,aAAa,EAAE,CAAC;QACnB,SAAS,CAAC,OAAO,CAAC,2DAA2D,aAAa,KAAK,CAAC,CAAC;IAClG,CAAC;AACF,CAAC,CAAC,CAAC","file":"editorColorRegistry.js","sourceRoot":"file:///mnt/vss/_work/1/s/dependencies/vscode/out-editor-src","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\nimport * as nls from '../../../nls.js';\nimport { Color, RGBA } from '../../../base/common/color.js';\nimport { activeContrastBorder, editorBackground, registerColor, editorWarningForeground, editorInfoForeground, editorWarningBorder, editorInfoBorder, contrastBorder, editorFindMatchHighlight, editorWarningBackground } from '../../../platform/theme/common/colorRegistry.js';\nimport { registerThemingParticipant } from '../../../platform/theme/common/themeService.js';\n\n/**\n * Definition of the editor colors\n */\nexport const editorLineHighlight = registerColor('editor.lineHighlightBackground', null, nls.localize('lineHighlight', 'Background color for the highlight of line at the cursor position.'));\nexport const editorLineHighlightBorder = registerColor('editor.lineHighlightBorder', { dark: '#282828', light: '#eeeeee', hcDark: '#f38518', hcLight: contrastBorder }, nls.localize('lineHighlightBorderBox', 'Background color for the border around the line at the cursor position.'));\nexport const editorRangeHighlight = registerColor('editor.rangeHighlightBackground', { dark: '#ffffff0b', light: '#fdff0033', hcDark: null, hcLight: null }, nls.localize('rangeHighlight', 'Background color of highlighted ranges, like by quick open and find features. The color must not be opaque so as not to hide underlying decorations.'), true);\nexport const editorRangeHighlightBorder = registerColor('editor.rangeHighlightBorder', { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, nls.localize('rangeHighlightBorder', 'Background color of the border around highlighted ranges.'));\nexport const editorSymbolHighlight = registerColor('editor.symbolHighlightBackground', { dark: editorFindMatchHighlight, light: editorFindMatchHighlight, hcDark: null, hcLight: null }, nls.localize('symbolHighlight', 'Background color of highlighted symbol, like for go to definition or go next/previous symbol. The color must not be opaque so as not to hide underlying decorations.'), true);\nexport const editorSymbolHighlightBorder = registerColor('editor.symbolHighlightBorder', { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, nls.localize('symbolHighlightBorder', 'Background color of the border around highlighted symbols.'));\n\nexport const editorCursorForeground = registerColor('editorCursor.foreground', { dark: '#AEAFAD', light: Color.black, hcDark: Color.white, hcLight: '#0F4A85' }, nls.localize('caret', 'Color of the editor cursor.'));\nexport const editorCursorBackground = registerColor('editorCursor.background', null, nls.localize('editorCursorBackground', 'The background color of the editor cursor. Allows customizing the color of a character overlapped by a block cursor.'));\nexport const editorMultiCursorPrimaryForeground = registerColor('editorMultiCursor.primary.foreground', editorCursorForeground, nls.localize('editorMultiCursorPrimaryForeground', 'Color of the primary editor cursor when multiple cursors are present.'));\nexport const editorMultiCursorPrimaryBackground = registerColor('editorMultiCursor.primary.background', editorCursorBackground, nls.localize('editorMultiCursorPrimaryBackground', 'The background color of the primary editor cursor when multiple cursors are present. Allows customizing the color of a character overlapped by a block cursor.'));\nexport const editorMultiCursorSecondaryForeground = registerColor('editorMultiCursor.secondary.foreground', editorCursorForeground, nls.localize('editorMultiCursorSecondaryForeground', 'Color of secondary editor cursors when multiple cursors are present.'));\nexport const editorMultiCursorSecondaryBackground = registerColor('editorMultiCursor.secondary.background', editorCursorBackground, nls.localize('editorMultiCursorSecondaryBackground', 'The background color of secondary editor cursors when multiple cursors are present. Allows customizing the color of a character overlapped by a block cursor.'));\nexport const editorWhitespaces = registerColor('editorWhitespace.foreground', { dark: '#e3e4e229', light: '#33333333', hcDark: '#e3e4e229', hcLight: '#CCCCCC' }, nls.localize('editorWhitespaces', 'Color of whitespace characters in the editor.'));\nexport const editorLineNumbers = registerColor('editorLineNumber.foreground', { dark: '#858585', light: '#237893', hcDark: Color.white, hcLight: '#292929' }, nls.localize('editorLineNumbers', 'Color of editor line numbers.'));\n\nexport const deprecatedEditorIndentGuides = registerColor('editorIndentGuide.background', editorWhitespaces, nls.localize('editorIndentGuides', 'Color of the editor indentation guides.'), false, nls.localize('deprecatedEditorIndentGuides', '\\'editorIndentGuide.background\\' is deprecated. Use \\'editorIndentGuide.background1\\' instead.'));\nexport const deprecatedEditorActiveIndentGuides = registerColor('editorIndentGuide.activeBackground', editorWhitespaces, nls.localize('editorActiveIndentGuide', 'Color of the active editor indentation guides.'), false, nls.localize('deprecatedEditorActiveIndentGuide', '\\'editorIndentGuide.activeBackground\\' is deprecated. Use \\'editorIndentGuide.activeBackground1\\' instead.'));\n\nexport const editorIndentGuide1 = registerColor('editorIndentGuide.background1', deprecatedEditorIndentGuides, nls.localize('editorIndentGuides1', 'Color of the editor indentation guides (1).'));\nexport const editorIndentGuide2 = registerColor('editorIndentGuide.background2', '#00000000', nls.localize('editorIndentGuides2', 'Color of the editor indentation guides (2).'));\nexport const editorIndentGuide3 = registerColor('editorIndentGuide.background3', '#00000000', nls.localize('editorIndentGuides3', 'Color of the editor indentation guides (3).'));\nexport const editorIndentGuide4 = registerColor('editorIndentGuide.background4', '#00000000', nls.localize('editorIndentGuides4', 'Color of the editor indentation guides (4).'));\nexport const editorIndentGuide5 = registerColor('editorIndentGuide.background5', '#00000000', nls.localize('editorIndentGuides5', 'Color of the editor indentation guides (5).'));\nexport const editorIndentGuide6 = registerColor('editorIndentGuide.background6', '#00000000', nls.localize('editorIndentGuides6', 'Color of the editor indentation guides (6).'));\n\nexport const editorActiveIndentGuide1 = registerColor('editorIndentGuide.activeBackground1', deprecatedEditorActiveIndentGuides, nls.localize('editorActiveIndentGuide1', 'Color of the active editor indentation guides (1).'));\nexport const editorActiveIndentGuide2 = registerColor('editorIndentGuide.activeBackground2', '#00000000', nls.localize('editorActiveIndentGuide2', 'Color of the active editor indentation guides (2).'));\nexport const editorActiveIndentGuide3 = registerColor('editorIndentGuide.activeBackground3', '#00000000', nls.localize('editorActiveIndentGuide3', 'Color of the active editor indentation guides (3).'));\nexport const editorActiveIndentGuide4 = registerColor('editorIndentGuide.activeBackground4', '#00000000', nls.localize('editorActiveIndentGuide4', 'Color of the active editor indentation guides (4).'));\nexport const editorActiveIndentGuide5 = registerColor('editorIndentGuide.activeBackground5', '#00000000', nls.localize('editorActiveIndentGuide5', 'Color of the active editor indentation guides (5).'));\nexport const editorActiveIndentGuide6 = registerColor('editorIndentGuide.activeBackground6', '#00000000', nls.localize('editorActiveIndentGuide6', 'Color of the active editor indentation guides (6).'));\n\nconst deprecatedEditorActiveLineNumber = registerColor('editorActiveLineNumber.foreground', { dark: '#c6c6c6', light: '#0B216F', hcDark: activeContrastBorder, hcLight: activeContrastBorder }, nls.localize('editorActiveLineNumber', 'Color of editor active line number'), false, nls.localize('deprecatedEditorActiveLineNumber', 'Id is deprecated. Use \\'editorLineNumber.activeForeground\\' instead.'));\nexport const editorActiveLineNumber = registerColor('editorLineNumber.activeForeground', deprecatedEditorActiveLineNumber, nls.localize('editorActiveLineNumber', 'Color of editor active line number'));\nexport const editorDimmedLineNumber = registerColor('editorLineNumber.dimmedForeground', null, nls.localize('editorDimmedLineNumber', 'Color of the final editor line when editor.renderFinalNewline is set to dimmed.'));\n\nexport const editorRuler = registerColor('editorRuler.foreground', { dark: '#5A5A5A', light: Color.lightgrey, hcDark: Color.white, hcLight: '#292929' }, nls.localize('editorRuler', 'Color of the editor rulers.'));\n\nexport const editorCodeLensForeground = registerColor('editorCodeLens.foreground', { dark: '#999999', light: '#919191', hcDark: '#999999', hcLight: '#292929' }, nls.localize('editorCodeLensForeground', 'Foreground color of editor CodeLens'));\n\nexport const editorBracketMatchBackground = registerColor('editorBracketMatch.background', { dark: '#0064001a', light: '#0064001a', hcDark: '#0064001a', hcLight: '#0000' }, nls.localize('editorBracketMatchBackground', 'Background color behind matching brackets'));\nexport const editorBracketMatchBorder = registerColor('editorBracketMatch.border', { dark: '#888', light: '#B9B9B9', hcDark: contrastBorder, hcLight: contrastBorder }, nls.localize('editorBracketMatchBorder', 'Color for matching brackets boxes'));\n\nexport const editorOverviewRulerBorder = registerColor('editorOverviewRuler.border', { dark: '#7f7f7f4d', light: '#7f7f7f4d', hcDark: '#7f7f7f4d', hcLight: '#666666' }, nls.localize('editorOverviewRulerBorder', 'Color of the overview ruler border.'));\nexport const editorOverviewRulerBackground = registerColor('editorOverviewRuler.background', null, nls.localize('editorOverviewRulerBackground', 'Background color of the editor overview ruler.'));\n\nexport const editorGutter = registerColor('editorGutter.background', editorBackground, nls.localize('editorGutter', 'Background color of the editor gutter. The gutter contains the glyph margins and the line numbers.'));\n\nexport const editorUnnecessaryCodeBorder = registerColor('editorUnnecessaryCode.border', { dark: null, light: null, hcDark: Color.fromHex('#fff').transparent(0.8), hcLight: contrastBorder }, nls.localize('unnecessaryCodeBorder', 'Border color of unnecessary (unused) source code in the editor.'));\nexport const editorUnnecessaryCodeOpacity = registerColor('editorUnnecessaryCode.opacity', { dark: Color.fromHex('#000a'), light: Color.fromHex('#0007'), hcDark: null, hcLight: null }, nls.localize('unnecessaryCodeOpacity', 'Opacity of unnecessary (unused) source code in the editor. For example, \"#000000c0\" will render the code with 75% opacity. For high contrast themes, use the \\'editorUnnecessaryCode.border\\' theme color to underline unnecessary code instead of fading it out.'));\n\nexport const ghostTextBorder = registerColor('editorGhostText.border', { dark: null, light: null, hcDark: Color.fromHex('#fff').transparent(0.8), hcLight: Color.fromHex('#292929').transparent(0.8) }, nls.localize('editorGhostTextBorder', 'Border color of ghost text in the editor.'));\nexport const ghostTextForeground = registerColor('editorGhostText.foreground', { dark: Color.fromHex('#ffffff56'), light: Color.fromHex('#0007'), hcDark: null, hcLight: null }, nls.localize('editorGhostTextForeground', 'Foreground color of the ghost text in the editor.'));\nexport const ghostTextBackground = registerColor('editorGhostText.background', null, nls.localize('editorGhostTextBackground', 'Background color of the ghost text in the editor.'));\n\nconst rulerRangeDefault = new Color(new RGBA(0, 122, 204, 0.6));\nexport const overviewRulerRangeHighlight = registerColor('editorOverviewRuler.rangeHighlightForeground', rulerRangeDefault, nls.localize('overviewRulerRangeHighlight', 'Overview ruler marker color for range highlights. The color must not be opaque so as not to hide underlying decorations.'), true);\nexport const overviewRulerError = registerColor('editorOverviewRuler.errorForeground', { dark: new Color(new RGBA(255, 18, 18, 0.7)), light: new Color(new RGBA(255, 18, 18, 0.7)), hcDark: new Color(new RGBA(255, 50, 50, 1)), hcLight: '#B5200D' }, nls.localize('overviewRuleError', 'Overview ruler marker color for errors.'));\nexport const overviewRulerWarning = registerColor('editorOverviewRuler.warningForeground', { dark: editorWarningForeground, light: editorWarningForeground, hcDark: editorWarningBorder, hcLight: editorWarningBorder }, nls.localize('overviewRuleWarning', 'Overview ruler marker color for warnings.'));\nexport const overviewRulerInfo = registerColor('editorOverviewRuler.infoForeground', { dark: editorInfoForeground, light: editorInfoForeground, hcDark: editorInfoBorder, hcLight: editorInfoBorder }, nls.localize('overviewRuleInfo', 'Overview ruler marker color for infos.'));\n\nexport const editorBracketHighlightingForeground1 = registerColor('editorBracketHighlight.foreground1', { dark: '#FFD700', light: '#0431FAFF', hcDark: '#FFD700', hcLight: '#0431FAFF' }, nls.localize('editorBracketHighlightForeground1', 'Foreground color of brackets (1). Requires enabling bracket pair colorization.'));\nexport const editorBracketHighlightingForeground2 = registerColor('editorBracketHighlight.foreground2', { dark: '#DA70D6', light: '#319331FF', hcDark: '#DA70D6', hcLight: '#319331FF' }, nls.localize('editorBracketHighlightForeground2', 'Foreground color of brackets (2). Requires enabling bracket pair colorization.'));\nexport const editorBracketHighlightingForeground3 = registerColor('editorBracketHighlight.foreground3', { dark: '#179FFF', light: '#7B3814FF', hcDark: '#87CEFA', hcLight: '#7B3814FF' }, nls.localize('editorBracketHighlightForeground3', 'Foreground color of brackets (3). Requires enabling bracket pair colorization.'));\nexport const editorBracketHighlightingForeground4 = registerColor('editorBracketHighlight.foreground4', '#00000000', nls.localize('editorBracketHighlightForeground4', 'Foreground color of brackets (4). Requires enabling bracket pair colorization.'));\nexport const editorBracketHighlightingForeground5 = registerColor('editorBracketHighlight.foreground5', '#00000000', nls.localize('editorBracketHighlightForeground5', 'Foreground color of brackets (5). Requires enabling bracket pair colorization.'));\nexport const editorBracketHighlightingForeground6 = registerColor('editorBracketHighlight.foreground6', '#00000000', nls.localize('editorBracketHighlightForeground6', 'Foreground color of brackets (6). Requires enabling bracket pair colorization.'));\n\nexport const editorBracketHighlightingUnexpectedBracketForeground = registerColor('editorBracketHighlight.unexpectedBracket.foreground', { dark: new Color(new RGBA(255, 18, 18, 0.8)), light: new Color(new RGBA(255, 18, 18, 0.8)), hcDark: new Color(new RGBA(255, 50, 50, 1)), hcLight: '#B5200D' }, nls.localize('editorBracketHighlightUnexpectedBracketForeground', 'Foreground color of unexpected brackets.'));\n\nexport const editorBracketPairGuideBackground1 = registerColor('editorBracketPairGuide.background1', '#00000000', nls.localize('editorBracketPairGuide.background1', 'Background color of inactive bracket pair guides (1). Requires enabling bracket pair guides.'));\nexport const editorBracketPairGuideBackground2 = registerColor('editorBracketPairGuide.background2', '#00000000', nls.localize('editorBracketPairGuide.background2', 'Background color of inactive bracket pair guides (2). Requires enabling bracket pair guides.'));\nexport const editorBracketPairGuideBackground3 = registerColor('editorBracketPairGuide.background3', '#00000000', nls.localize('editorBracketPairGuide.background3', 'Background color of inactive bracket pair guides (3). Requires enabling bracket pair guides.'));\nexport const editorBracketPairGuideBackground4 = registerColor('editorBracketPairGuide.background4', '#00000000', nls.localize('editorBracketPairGuide.background4', 'Background color of inactive bracket pair guides (4). Requires enabling bracket pair guides.'));\nexport const editorBracketPairGuideBackground5 = registerColor('editorBracketPairGuide.background5', '#00000000', nls.localize('editorBracketPairGuide.background5', 'Background color of inactive bracket pair guides (5). Requires enabling bracket pair guides.'));\nexport const editorBracketPairGuideBackground6 = registerColor('editorBracketPairGuide.background6', '#00000000', nls.localize('editorBracketPairGuide.background6', 'Background color of inactive bracket pair guides (6). Requires enabling bracket pair guides.'));\n\nexport const editorBracketPairGuideActiveBackground1 = registerColor('editorBracketPairGuide.activeBackground1', '#00000000', nls.localize('editorBracketPairGuide.activeBackground1', 'Background color of active bracket pair guides (1). Requires enabling bracket pair guides.'));\nexport const editorBracketPairGuideActiveBackground2 = registerColor('editorBracketPairGuide.activeBackground2', '#00000000', nls.localize('editorBracketPairGuide.activeBackground2', 'Background color of active bracket pair guides (2). Requires enabling bracket pair guides.'));\nexport const editorBracketPairGuideActiveBackground3 = registerColor('editorBracketPairGuide.activeBackground3', '#00000000', nls.localize('editorBracketPairGuide.activeBackground3', 'Background color of active bracket pair guides (3). Requires enabling bracket pair guides.'));\nexport const editorBracketPairGuideActiveBackground4 = registerColor('editorBracketPairGuide.activeBackground4', '#00000000', nls.localize('editorBracketPairGuide.activeBackground4', 'Background color of active bracket pair guides (4). Requires enabling bracket pair guides.'));\nexport const editorBracketPairGuideActiveBackground5 = registerColor('editorBracketPairGuide.activeBackground5', '#00000000', nls.localize('editorBracketPairGuide.activeBackground5', 'Background color of active bracket pair guides (5). Requires enabling bracket pair guides.'));\nexport const editorBracketPairGuideActiveBackground6 = registerColor('editorBracketPairGuide.activeBackground6', '#00000000', nls.localize('editorBracketPairGuide.activeBackground6', 'Background color of active bracket pair guides (6). Requires enabling bracket pair guides.'));\n\nexport const editorUnicodeHighlightBorder = registerColor('editorUnicodeHighlight.border', editorWarningForeground, nls.localize('editorUnicodeHighlight.border', 'Border color used to highlight unicode characters.'));\nexport const editorUnicodeHighlightBackground = registerColor('editorUnicodeHighlight.background', editorWarningBackground, nls.localize('editorUnicodeHighlight.background', 'Background color used to highlight unicode characters.'));\n\n\n// contains all color rules that used to defined in editor/browser/widget/editor.css\nregisterThemingParticipant((theme, collector) => {\n\tconst background = theme.getColor(editorBackground);\n\tconst lineHighlight = theme.getColor(editorLineHighlight);\n\tconst imeBackground = (lineHighlight && !lineHighlight.isTransparent() ? lineHighlight : background);\n\tif (imeBackground) {\n\t\tcollector.addRule(`.monaco-editor .inputarea.ime-input { background-color: ${imeBackground}; }`);\n\t}\n});\n"]}
1
+ {"version":3,"sources":["vs/editor/common/core/editorColorRegistry.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAEhG,OAAO,KAAK,GAAG,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,aAAa,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,cAAc,EAAE,wBAAwB,EAAE,uBAAuB,EAAE,MAAM,iDAAiD,CAAC;AACjR,OAAO,EAAE,0BAA0B,EAAE,MAAM,gDAAgD,CAAC;AAE5F;;GAEG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,aAAa,CAAC,gCAAgC,EAAE,IAAI,EAAE,GAAG,CAAC,QAAQ,CAAC,GAAe,EAAE,oEAA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AAC,CAAC;IACpD,MAAM,aAAa,GAAG,KAAK,CAAC,QAAQ,CAAC,mBAAmB,CAAC,CAAC;IAC1D,MAAM,aAAa,GAAG,CAAC,aAAa,IAAI,CAAC,aAAa,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC;IACrG,IAAI,aAAa,EAAE,CAAC;QACnB,SAAS,CAAC,OAAO,CAAC,2DAA2D,aAAa,KAAK,CAAC,CAAC;IAClG,CAAC;AACF,CAAC,CAAC,CAAC","file":"editorColorRegistry.js","sourceRoot":"file:///mnt/vss/_work/1/s/dependencies/vscode/out-editor-src","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\nimport * as nls from '../../../nls.js';\nimport { Color, RGBA } from '../../../base/common/color.js';\nimport { activeContrastBorder, editorBackground, registerColor, editorWarningForeground, editorInfoForeground, editorWarningBorder, editorInfoBorder, contrastBorder, editorFindMatchHighlight, editorWarningBackground } from '../../../platform/theme/common/colorRegistry.js';\nimport { registerThemingParticipant } from '../../../platform/theme/common/themeService.js';\n\n/**\n * Definition of the editor colors\n */\nexport const editorLineHighlight = registerColor('editor.lineHighlightBackground', null, nls.localize('lineHighlight', 'Background color for the highlight of line at the cursor position.'));\nexport const editorInactiveLineHighlight = registerColor('editor.inactiveLineHighlightBackground', editorLineHighlight, nls.localize('inactiveLineHighlight', 'Background color for the highlight of line at the cursor position when the editor is not focused.'));\nexport const editorLineHighlightBorder = registerColor('editor.lineHighlightBorder', { dark: '#282828', light: '#eeeeee', hcDark: '#f38518', hcLight: contrastBorder }, nls.localize('lineHighlightBorderBox', 'Background color for the border around the line at the cursor position.'));\nexport const editorRangeHighlight = registerColor('editor.rangeHighlightBackground', { dark: '#ffffff0b', light: '#fdff0033', hcDark: null, hcLight: null }, nls.localize('rangeHighlight', 'Background color of highlighted ranges, like by quick open and find features. The color must not be opaque so as not to hide underlying decorations.'), true);\nexport const editorRangeHighlightBorder = registerColor('editor.rangeHighlightBorder', { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, nls.localize('rangeHighlightBorder', 'Background color of the border around highlighted ranges.'));\nexport const editorSymbolHighlight = registerColor('editor.symbolHighlightBackground', { dark: editorFindMatchHighlight, light: editorFindMatchHighlight, hcDark: null, hcLight: null }, nls.localize('symbolHighlight', 'Background color of highlighted symbol, like for go to definition or go next/previous symbol. The color must not be opaque so as not to hide underlying decorations.'), true);\nexport const editorSymbolHighlightBorder = registerColor('editor.symbolHighlightBorder', { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, nls.localize('symbolHighlightBorder', 'Background color of the border around highlighted symbols.'));\n\nexport const editorCursorForeground = registerColor('editorCursor.foreground', { dark: '#AEAFAD', light: Color.black, hcDark: Color.white, hcLight: '#0F4A85' }, nls.localize('caret', 'Color of the editor cursor.'));\nexport const editorCursorBackground = registerColor('editorCursor.background', null, nls.localize('editorCursorBackground', 'The background color of the editor cursor. Allows customizing the color of a character overlapped by a block cursor.'));\nexport const editorMultiCursorPrimaryForeground = registerColor('editorMultiCursor.primary.foreground', editorCursorForeground, nls.localize('editorMultiCursorPrimaryForeground', 'Color of the primary editor cursor when multiple cursors are present.'));\nexport const editorMultiCursorPrimaryBackground = registerColor('editorMultiCursor.primary.background', editorCursorBackground, nls.localize('editorMultiCursorPrimaryBackground', 'The background color of the primary editor cursor when multiple cursors are present. Allows customizing the color of a character overlapped by a block cursor.'));\nexport const editorMultiCursorSecondaryForeground = registerColor('editorMultiCursor.secondary.foreground', editorCursorForeground, nls.localize('editorMultiCursorSecondaryForeground', 'Color of secondary editor cursors when multiple cursors are present.'));\nexport const editorMultiCursorSecondaryBackground = registerColor('editorMultiCursor.secondary.background', editorCursorBackground, nls.localize('editorMultiCursorSecondaryBackground', 'The background color of secondary editor cursors when multiple cursors are present. Allows customizing the color of a character overlapped by a block cursor.'));\nexport const editorWhitespaces = registerColor('editorWhitespace.foreground', { dark: '#e3e4e229', light: '#33333333', hcDark: '#e3e4e229', hcLight: '#CCCCCC' }, nls.localize('editorWhitespaces', 'Color of whitespace characters in the editor.'));\nexport const editorLineNumbers = registerColor('editorLineNumber.foreground', { dark: '#858585', light: '#237893', hcDark: Color.white, hcLight: '#292929' }, nls.localize('editorLineNumbers', 'Color of editor line numbers.'));\n\nexport const deprecatedEditorIndentGuides = registerColor('editorIndentGuide.background', editorWhitespaces, nls.localize('editorIndentGuides', 'Color of the editor indentation guides.'), false, nls.localize('deprecatedEditorIndentGuides', '\\'editorIndentGuide.background\\' is deprecated. Use \\'editorIndentGuide.background1\\' instead.'));\nexport const deprecatedEditorActiveIndentGuides = registerColor('editorIndentGuide.activeBackground', editorWhitespaces, nls.localize('editorActiveIndentGuide', 'Color of the active editor indentation guides.'), false, nls.localize('deprecatedEditorActiveIndentGuide', '\\'editorIndentGuide.activeBackground\\' is deprecated. Use \\'editorIndentGuide.activeBackground1\\' instead.'));\n\nexport const editorIndentGuide1 = registerColor('editorIndentGuide.background1', deprecatedEditorIndentGuides, nls.localize('editorIndentGuides1', 'Color of the editor indentation guides (1).'));\nexport const editorIndentGuide2 = registerColor('editorIndentGuide.background2', '#00000000', nls.localize('editorIndentGuides2', 'Color of the editor indentation guides (2).'));\nexport const editorIndentGuide3 = registerColor('editorIndentGuide.background3', '#00000000', nls.localize('editorIndentGuides3', 'Color of the editor indentation guides (3).'));\nexport const editorIndentGuide4 = registerColor('editorIndentGuide.background4', '#00000000', nls.localize('editorIndentGuides4', 'Color of the editor indentation guides (4).'));\nexport const editorIndentGuide5 = registerColor('editorIndentGuide.background5', '#00000000', nls.localize('editorIndentGuides5', 'Color of the editor indentation guides (5).'));\nexport const editorIndentGuide6 = registerColor('editorIndentGuide.background6', '#00000000', nls.localize('editorIndentGuides6', 'Color of the editor indentation guides (6).'));\n\nexport const editorActiveIndentGuide1 = registerColor('editorIndentGuide.activeBackground1', deprecatedEditorActiveIndentGuides, nls.localize('editorActiveIndentGuide1', 'Color of the active editor indentation guides (1).'));\nexport const editorActiveIndentGuide2 = registerColor('editorIndentGuide.activeBackground2', '#00000000', nls.localize('editorActiveIndentGuide2', 'Color of the active editor indentation guides (2).'));\nexport const editorActiveIndentGuide3 = registerColor('editorIndentGuide.activeBackground3', '#00000000', nls.localize('editorActiveIndentGuide3', 'Color of the active editor indentation guides (3).'));\nexport const editorActiveIndentGuide4 = registerColor('editorIndentGuide.activeBackground4', '#00000000', nls.localize('editorActiveIndentGuide4', 'Color of the active editor indentation guides (4).'));\nexport const editorActiveIndentGuide5 = registerColor('editorIndentGuide.activeBackground5', '#00000000', nls.localize('editorActiveIndentGuide5', 'Color of the active editor indentation guides (5).'));\nexport const editorActiveIndentGuide6 = registerColor('editorIndentGuide.activeBackground6', '#00000000', nls.localize('editorActiveIndentGuide6', 'Color of the active editor indentation guides (6).'));\n\nconst deprecatedEditorActiveLineNumber = registerColor('editorActiveLineNumber.foreground', { dark: '#c6c6c6', light: '#0B216F', hcDark: activeContrastBorder, hcLight: activeContrastBorder }, nls.localize('editorActiveLineNumber', 'Color of editor active line number'), false, nls.localize('deprecatedEditorActiveLineNumber', 'Id is deprecated. Use \\'editorLineNumber.activeForeground\\' instead.'));\nexport const editorActiveLineNumber = registerColor('editorLineNumber.activeForeground', deprecatedEditorActiveLineNumber, nls.localize('editorActiveLineNumber', 'Color of editor active line number'));\nexport const editorDimmedLineNumber = registerColor('editorLineNumber.dimmedForeground', null, nls.localize('editorDimmedLineNumber', 'Color of the final editor line when editor.renderFinalNewline is set to dimmed.'));\n\nexport const editorRuler = registerColor('editorRuler.foreground', { dark: '#5A5A5A', light: Color.lightgrey, hcDark: Color.white, hcLight: '#292929' }, nls.localize('editorRuler', 'Color of the editor rulers.'));\n\nexport const editorCodeLensForeground = registerColor('editorCodeLens.foreground', { dark: '#999999', light: '#919191', hcDark: '#999999', hcLight: '#292929' }, nls.localize('editorCodeLensForeground', 'Foreground color of editor CodeLens'));\n\nexport const editorBracketMatchBackground = registerColor('editorBracketMatch.background', { dark: '#0064001a', light: '#0064001a', hcDark: '#0064001a', hcLight: '#0000' }, nls.localize('editorBracketMatchBackground', 'Background color behind matching brackets'));\nexport const editorBracketMatchBorder = registerColor('editorBracketMatch.border', { dark: '#888', light: '#B9B9B9', hcDark: contrastBorder, hcLight: contrastBorder }, nls.localize('editorBracketMatchBorder', 'Color for matching brackets boxes'));\n\nexport const editorOverviewRulerBorder = registerColor('editorOverviewRuler.border', { dark: '#7f7f7f4d', light: '#7f7f7f4d', hcDark: '#7f7f7f4d', hcLight: '#666666' }, nls.localize('editorOverviewRulerBorder', 'Color of the overview ruler border.'));\nexport const editorOverviewRulerBackground = registerColor('editorOverviewRuler.background', null, nls.localize('editorOverviewRulerBackground', 'Background color of the editor overview ruler.'));\n\nexport const editorGutter = registerColor('editorGutter.background', editorBackground, nls.localize('editorGutter', 'Background color of the editor gutter. The gutter contains the glyph margins and the line numbers.'));\n\nexport const editorUnnecessaryCodeBorder = registerColor('editorUnnecessaryCode.border', { dark: null, light: null, hcDark: Color.fromHex('#fff').transparent(0.8), hcLight: contrastBorder }, nls.localize('unnecessaryCodeBorder', 'Border color of unnecessary (unused) source code in the editor.'));\nexport const editorUnnecessaryCodeOpacity = registerColor('editorUnnecessaryCode.opacity', { dark: Color.fromHex('#000a'), light: Color.fromHex('#0007'), hcDark: null, hcLight: null }, nls.localize('unnecessaryCodeOpacity', 'Opacity of unnecessary (unused) source code in the editor. For example, \"#000000c0\" will render the code with 75% opacity. For high contrast themes, use the \\'editorUnnecessaryCode.border\\' theme color to underline unnecessary code instead of fading it out.'));\n\nexport const ghostTextBorder = registerColor('editorGhostText.border', { dark: null, light: null, hcDark: Color.fromHex('#fff').transparent(0.8), hcLight: Color.fromHex('#292929').transparent(0.8) }, nls.localize('editorGhostTextBorder', 'Border color of ghost text in the editor.'));\nexport const ghostTextForeground = registerColor('editorGhostText.foreground', { dark: Color.fromHex('#ffffff56'), light: Color.fromHex('#0007'), hcDark: null, hcLight: null }, nls.localize('editorGhostTextForeground', 'Foreground color of the ghost text in the editor.'));\nexport const ghostTextBackground = registerColor('editorGhostText.background', null, nls.localize('editorGhostTextBackground', 'Background color of the ghost text in the editor.'));\n\nconst rulerRangeDefault = new Color(new RGBA(0, 122, 204, 0.6));\nexport const overviewRulerRangeHighlight = registerColor('editorOverviewRuler.rangeHighlightForeground', rulerRangeDefault, nls.localize('overviewRulerRangeHighlight', 'Overview ruler marker color for range highlights. The color must not be opaque so as not to hide underlying decorations.'), true);\nexport const overviewRulerError = registerColor('editorOverviewRuler.errorForeground', { dark: new Color(new RGBA(255, 18, 18, 0.7)), light: new Color(new RGBA(255, 18, 18, 0.7)), hcDark: new Color(new RGBA(255, 50, 50, 1)), hcLight: '#B5200D' }, nls.localize('overviewRuleError', 'Overview ruler marker color for errors.'));\nexport const overviewRulerWarning = registerColor('editorOverviewRuler.warningForeground', { dark: editorWarningForeground, light: editorWarningForeground, hcDark: editorWarningBorder, hcLight: editorWarningBorder }, nls.localize('overviewRuleWarning', 'Overview ruler marker color for warnings.'));\nexport const overviewRulerInfo = registerColor('editorOverviewRuler.infoForeground', { dark: editorInfoForeground, light: editorInfoForeground, hcDark: editorInfoBorder, hcLight: editorInfoBorder }, nls.localize('overviewRuleInfo', 'Overview ruler marker color for infos.'));\n\nexport const editorBracketHighlightingForeground1 = registerColor('editorBracketHighlight.foreground1', { dark: '#FFD700', light: '#0431FAFF', hcDark: '#FFD700', hcLight: '#0431FAFF' }, nls.localize('editorBracketHighlightForeground1', 'Foreground color of brackets (1). Requires enabling bracket pair colorization.'));\nexport const editorBracketHighlightingForeground2 = registerColor('editorBracketHighlight.foreground2', { dark: '#DA70D6', light: '#319331FF', hcDark: '#DA70D6', hcLight: '#319331FF' }, nls.localize('editorBracketHighlightForeground2', 'Foreground color of brackets (2). Requires enabling bracket pair colorization.'));\nexport const editorBracketHighlightingForeground3 = registerColor('editorBracketHighlight.foreground3', { dark: '#179FFF', light: '#7B3814FF', hcDark: '#87CEFA', hcLight: '#7B3814FF' }, nls.localize('editorBracketHighlightForeground3', 'Foreground color of brackets (3). Requires enabling bracket pair colorization.'));\nexport const editorBracketHighlightingForeground4 = registerColor('editorBracketHighlight.foreground4', '#00000000', nls.localize('editorBracketHighlightForeground4', 'Foreground color of brackets (4). Requires enabling bracket pair colorization.'));\nexport const editorBracketHighlightingForeground5 = registerColor('editorBracketHighlight.foreground5', '#00000000', nls.localize('editorBracketHighlightForeground5', 'Foreground color of brackets (5). Requires enabling bracket pair colorization.'));\nexport const editorBracketHighlightingForeground6 = registerColor('editorBracketHighlight.foreground6', '#00000000', nls.localize('editorBracketHighlightForeground6', 'Foreground color of brackets (6). Requires enabling bracket pair colorization.'));\n\nexport const editorBracketHighlightingUnexpectedBracketForeground = registerColor('editorBracketHighlight.unexpectedBracket.foreground', { dark: new Color(new RGBA(255, 18, 18, 0.8)), light: new Color(new RGBA(255, 18, 18, 0.8)), hcDark: new Color(new RGBA(255, 50, 50, 1)), hcLight: '#B5200D' }, nls.localize('editorBracketHighlightUnexpectedBracketForeground', 'Foreground color of unexpected brackets.'));\n\nexport const editorBracketPairGuideBackground1 = registerColor('editorBracketPairGuide.background1', '#00000000', nls.localize('editorBracketPairGuide.background1', 'Background color of inactive bracket pair guides (1). Requires enabling bracket pair guides.'));\nexport const editorBracketPairGuideBackground2 = registerColor('editorBracketPairGuide.background2', '#00000000', nls.localize('editorBracketPairGuide.background2', 'Background color of inactive bracket pair guides (2). Requires enabling bracket pair guides.'));\nexport const editorBracketPairGuideBackground3 = registerColor('editorBracketPairGuide.background3', '#00000000', nls.localize('editorBracketPairGuide.background3', 'Background color of inactive bracket pair guides (3). Requires enabling bracket pair guides.'));\nexport const editorBracketPairGuideBackground4 = registerColor('editorBracketPairGuide.background4', '#00000000', nls.localize('editorBracketPairGuide.background4', 'Background color of inactive bracket pair guides (4). Requires enabling bracket pair guides.'));\nexport const editorBracketPairGuideBackground5 = registerColor('editorBracketPairGuide.background5', '#00000000', nls.localize('editorBracketPairGuide.background5', 'Background color of inactive bracket pair guides (5). Requires enabling bracket pair guides.'));\nexport const editorBracketPairGuideBackground6 = registerColor('editorBracketPairGuide.background6', '#00000000', nls.localize('editorBracketPairGuide.background6', 'Background color of inactive bracket pair guides (6). Requires enabling bracket pair guides.'));\n\nexport const editorBracketPairGuideActiveBackground1 = registerColor('editorBracketPairGuide.activeBackground1', '#00000000', nls.localize('editorBracketPairGuide.activeBackground1', 'Background color of active bracket pair guides (1). Requires enabling bracket pair guides.'));\nexport const editorBracketPairGuideActiveBackground2 = registerColor('editorBracketPairGuide.activeBackground2', '#00000000', nls.localize('editorBracketPairGuide.activeBackground2', 'Background color of active bracket pair guides (2). Requires enabling bracket pair guides.'));\nexport const editorBracketPairGuideActiveBackground3 = registerColor('editorBracketPairGuide.activeBackground3', '#00000000', nls.localize('editorBracketPairGuide.activeBackground3', 'Background color of active bracket pair guides (3). Requires enabling bracket pair guides.'));\nexport const editorBracketPairGuideActiveBackground4 = registerColor('editorBracketPairGuide.activeBackground4', '#00000000', nls.localize('editorBracketPairGuide.activeBackground4', 'Background color of active bracket pair guides (4). Requires enabling bracket pair guides.'));\nexport const editorBracketPairGuideActiveBackground5 = registerColor('editorBracketPairGuide.activeBackground5', '#00000000', nls.localize('editorBracketPairGuide.activeBackground5', 'Background color of active bracket pair guides (5). Requires enabling bracket pair guides.'));\nexport const editorBracketPairGuideActiveBackground6 = registerColor('editorBracketPairGuide.activeBackground6', '#00000000', nls.localize('editorBracketPairGuide.activeBackground6', 'Background color of active bracket pair guides (6). Requires enabling bracket pair guides.'));\n\nexport const editorUnicodeHighlightBorder = registerColor('editorUnicodeHighlight.border', editorWarningForeground, nls.localize('editorUnicodeHighlight.border', 'Border color used to highlight unicode characters.'));\nexport const editorUnicodeHighlightBackground = registerColor('editorUnicodeHighlight.background', editorWarningBackground, nls.localize('editorUnicodeHighlight.background', 'Background color used to highlight unicode characters.'));\n\n\n// contains all color rules that used to defined in editor/browser/widget/editor.css\nregisterThemingParticipant((theme, collector) => {\n\tconst background = theme.getColor(editorBackground);\n\tconst lineHighlight = theme.getColor(editorLineHighlight);\n\tconst imeBackground = (lineHighlight && !lineHighlight.isTransparent() ? lineHighlight : background);\n\tif (imeBackground) {\n\t\tcollector.addRule(`.monaco-editor .inputarea.ime-input { background-color: ${imeBackground}; }`);\n\t}\n});\n"]}
@@ -71,6 +71,9 @@ export class OffsetRange {
71
71
  equals(other) {
72
72
  return this.start === other.start && this.endExclusive === other.endExclusive;
73
73
  }
74
+ containsRange(other) {
75
+ return this.start <= other.start && other.endExclusive <= this.endExclusive;
76
+ }
74
77
  contains(offset) {
75
78
  return this.start <= offset && offset < this.endExclusive;
76
79
  }
@@ -165,6 +168,12 @@ export class OffsetRange {
165
168
  }
166
169
  return new OffsetRange(this.start, range.endExclusive);
167
170
  }
171
+ withMargin(marginStart, marginEnd) {
172
+ if (marginEnd === undefined) {
173
+ marginEnd = marginStart;
174
+ }
175
+ return new OffsetRange(this.start - marginStart, this.endExclusive + marginEnd);
176
+ }
168
177
  }
169
178
  export class OffsetRangeSet {
170
179
  constructor() {