monaco-editor-core 0.56.0-dev-20251218 → 0.56.0-dev-20251219

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 (173) 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 +2 -0
  18. package/esm/vs/base/common/fuzzyScorer.js +3 -2
  19. package/esm/vs/base/common/fuzzyScorer.js.map +1 -1
  20. package/esm/vs/editor/common/core/editorColorRegistry.js +34 -33
  21. package/esm/vs/editor/common/core/editorColorRegistry.js.map +1 -1
  22. package/esm/vs/editor/common/cursor/cursorTypeEditOperations.js +3 -3
  23. package/esm/vs/editor/common/cursor/cursorTypeEditOperations.js.map +1 -1
  24. package/esm/vs/editor/common/editorContextKeys.js +47 -47
  25. package/esm/vs/editor/common/languages/modesRegistry.js +1 -1
  26. package/esm/vs/editor/common/languages.js +56 -56
  27. package/esm/vs/editor/common/model/editStack.js +1 -1
  28. package/esm/vs/editor/common/standaloneStrings.js +11 -11
  29. package/esm/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
  30. package/esm/vs/editor/common/viewModel/viewModelImpl.js +4 -15
  31. package/esm/vs/editor/common/viewModel/viewModelImpl.js.map +1 -1
  32. package/esm/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
  33. package/esm/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +18 -9
  34. package/esm/vs/editor/contrib/bracketMatching/browser/bracketMatching.js.map +1 -1
  35. package/esm/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
  36. package/esm/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
  37. package/esm/vs/editor/contrib/clipboard/browser/clipboard.js +17 -17
  38. package/esm/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
  39. package/esm/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -29
  40. package/esm/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
  41. package/esm/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
  42. package/esm/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
  43. package/esm/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
  44. package/esm/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
  45. package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
  46. package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
  47. package/esm/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +1 -1
  48. package/esm/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
  49. package/esm/vs/editor/contrib/comment/browser/comment.js +6 -6
  50. package/esm/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
  51. package/esm/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
  52. package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
  53. package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +9 -9
  54. package/esm/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
  55. package/esm/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
  56. package/esm/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
  57. package/esm/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
  58. package/esm/vs/editor/contrib/find/browser/findController.js +16 -16
  59. package/esm/vs/editor/contrib/find/browser/findWidget.js +26 -26
  60. package/esm/vs/editor/contrib/folding/browser/folding.js +20 -20
  61. package/esm/vs/editor/contrib/folding/browser/folding.js.map +1 -1
  62. package/esm/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
  63. package/esm/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
  64. package/esm/vs/editor/contrib/format/browser/formatActions.js +2 -2
  65. package/esm/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
  66. package/esm/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
  67. package/esm/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
  68. package/esm/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
  69. package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
  70. package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
  71. package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
  72. package/esm/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
  73. package/esm/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
  74. package/esm/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
  75. package/esm/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
  76. package/esm/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
  77. package/esm/vs/editor/contrib/hover/browser/hoverCopyButton.js +2 -2
  78. package/esm/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +9 -9
  79. package/esm/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
  80. package/esm/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
  81. package/esm/vs/editor/contrib/indentation/browser/indentation.js +20 -20
  82. package/esm/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
  83. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +21 -21
  84. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +13 -13
  85. package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +1 -1
  86. package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
  87. package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
  88. package/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +1 -1
  89. package/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js.map +1 -1
  90. package/esm/vs/editor/contrib/inlineCompletions/browser/model/renameSymbolProcessor.js +4 -4
  91. package/esm/vs/editor/contrib/inlineCompletions/browser/model/renameSymbolProcessor.js.map +1 -1
  92. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +6 -6
  93. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +1 -1
  94. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.js +3 -3
  95. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +20 -20
  96. package/esm/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
  97. package/esm/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
  98. package/esm/vs/editor/contrib/linesOperations/browser/linesOperations.js +31 -31
  99. package/esm/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
  100. package/esm/vs/editor/contrib/links/browser/links.js +10 -10
  101. package/esm/vs/editor/contrib/message/browser/messageController.js +1 -1
  102. package/esm/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
  103. package/esm/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
  104. package/esm/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
  105. package/esm/vs/editor/contrib/peekView/browser/peekView.js +18 -18
  106. package/esm/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
  107. package/esm/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +11 -11
  108. package/esm/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
  109. package/esm/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
  110. package/esm/vs/editor/contrib/rename/browser/rename.js +11 -11
  111. package/esm/vs/editor/contrib/rename/browser/renameWidget.js +7 -7
  112. package/esm/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
  113. package/esm/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
  114. package/esm/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
  115. package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
  116. package/esm/vs/editor/contrib/suggest/browser/suggest.js +9 -9
  117. package/esm/vs/editor/contrib/suggest/browser/suggestController.js +11 -11
  118. package/esm/vs/editor/contrib/suggest/browser/suggestWidget.js +17 -17
  119. package/esm/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
  120. package/esm/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
  121. package/esm/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
  122. package/esm/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
  123. package/esm/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
  124. package/esm/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
  125. package/esm/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
  126. package/esm/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
  127. package/esm/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
  128. package/esm/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
  129. package/esm/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
  130. package/esm/vs/editor/contrib/wordOperations/browser/wordOperations.js +3 -3
  131. package/esm/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
  132. package/esm/vs/platform/action/common/actionCommonCategories.js +6 -6
  133. package/esm/vs/platform/actionWidget/browser/actionList.js +4 -4
  134. package/esm/vs/platform/actionWidget/browser/actionWidget.js +7 -7
  135. package/esm/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
  136. package/esm/vs/platform/actions/browser/toolbar.js +2 -2
  137. package/esm/vs/platform/actions/common/menuService.js +2 -2
  138. package/esm/vs/platform/configuration/common/configurationRegistry.js +10 -10
  139. package/esm/vs/platform/contextkey/browser/contextKeyService.js +1 -1
  140. package/esm/vs/platform/contextkey/common/contextkey.js +9 -9
  141. package/esm/vs/platform/contextkey/common/contextkeys.js +9 -9
  142. package/esm/vs/platform/contextkey/common/scanner.js +5 -5
  143. package/esm/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
  144. package/esm/vs/platform/hover/browser/hoverWidget.js +1 -1
  145. package/esm/vs/platform/hover/browser/updatableHoverWidget.js +1 -1
  146. package/esm/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
  147. package/esm/vs/platform/list/browser/listService.js +27 -27
  148. package/esm/vs/platform/markers/common/markerService.js +2 -2
  149. package/esm/vs/platform/markers/common/markers.js +6 -6
  150. package/esm/vs/platform/quickinput/browser/commandsQuickAccess.js +8 -8
  151. package/esm/vs/platform/quickinput/browser/helpQuickAccess.js +1 -1
  152. package/esm/vs/platform/quickinput/browser/quickInput.js +10 -10
  153. package/esm/vs/platform/quickinput/browser/quickInputActions.js +5 -5
  154. package/esm/vs/platform/quickinput/browser/quickInputController.js +6 -6
  155. package/esm/vs/platform/quickinput/browser/quickInputList.js +1 -1
  156. package/esm/vs/platform/quickinput/browser/quickInputUtils.js +2 -2
  157. package/esm/vs/platform/quickinput/browser/quickInputUtils.js.map +1 -1
  158. package/esm/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
  159. package/esm/vs/platform/theme/common/colorUtils.js +2 -2
  160. package/esm/vs/platform/theme/common/colors/baseColors.js +18 -18
  161. package/esm/vs/platform/theme/common/colors/chartsColors.js +8 -8
  162. package/esm/vs/platform/theme/common/colors/editorColors.js +95 -95
  163. package/esm/vs/platform/theme/common/colors/inputColors.js +47 -47
  164. package/esm/vs/platform/theme/common/colors/listColors.js +36 -36
  165. package/esm/vs/platform/theme/common/colors/menuColors.js +7 -7
  166. package/esm/vs/platform/theme/common/colors/minimapColors.js +11 -11
  167. package/esm/vs/platform/theme/common/colors/miscColors.js +16 -16
  168. package/esm/vs/platform/theme/common/colors/quickpickColors.js +9 -9
  169. package/esm/vs/platform/theme/common/colors/searchColors.js +3 -3
  170. package/esm/vs/platform/theme/common/iconRegistry.js +6 -6
  171. package/esm/vs/platform/undoRedo/common/undoRedoService.js +20 -20
  172. package/esm/vs/platform/workspace/common/workspace.js +1 -1
  173. package/package.json +2 -2
@@ -11,72 +11,72 @@ export var EditorContextKeys;
11
11
  * A context key that is set when the editor's text has focus (cursor is blinking).
12
12
  * Is false when focus is in simple editor widgets (repl input, scm commit input).
13
13
  */
14
- EditorContextKeys.editorTextFocus = new RawContextKey('editorTextFocus', false, nls.localize(687, "Whether the editor text has focus (cursor is blinking)"));
14
+ EditorContextKeys.editorTextFocus = new RawContextKey('editorTextFocus', false, nls.localize(688, "Whether the editor text has focus (cursor is blinking)"));
15
15
  /**
16
16
  * A context key that is set when the editor's text or an editor's widget has focus.
17
17
  */
18
- EditorContextKeys.focus = new RawContextKey('editorFocus', false, nls.localize(688, "Whether the editor or an editor widget has focus (e.g. focus is in the find widget)"));
18
+ EditorContextKeys.focus = new RawContextKey('editorFocus', false, nls.localize(689, "Whether the editor or an editor widget has focus (e.g. focus is in the find widget)"));
19
19
  /**
20
20
  * A context key that is set when any editor input has focus (regular editor, repl input...).
21
21
  */
22
- EditorContextKeys.textInputFocus = new RawContextKey('textInputFocus', false, nls.localize(689, "Whether an editor or a rich text input has focus (cursor is blinking)"));
23
- EditorContextKeys.readOnly = new RawContextKey('editorReadonly', false, nls.localize(690, "Whether the editor is read-only"));
24
- EditorContextKeys.inDiffEditor = new RawContextKey('inDiffEditor', false, nls.localize(691, "Whether the context is a diff editor"));
25
- EditorContextKeys.isEmbeddedDiffEditor = new RawContextKey('isEmbeddedDiffEditor', false, nls.localize(692, "Whether the context is an embedded diff editor"));
26
- EditorContextKeys.inMultiDiffEditor = new RawContextKey('inMultiDiffEditor', false, nls.localize(693, "Whether the context is a multi diff editor"));
27
- EditorContextKeys.multiDiffEditorAllCollapsed = new RawContextKey('multiDiffEditorAllCollapsed', undefined, nls.localize(694, "Whether all files in multi diff editor are collapsed"));
28
- EditorContextKeys.hasChanges = new RawContextKey('diffEditorHasChanges', false, nls.localize(695, "Whether the diff editor has changes"));
29
- EditorContextKeys.comparingMovedCode = new RawContextKey('comparingMovedCode', false, nls.localize(696, "Whether a moved code block is selected for comparison"));
30
- EditorContextKeys.accessibleDiffViewerVisible = new RawContextKey('accessibleDiffViewerVisible', false, nls.localize(697, "Whether the accessible diff viewer is visible"));
31
- EditorContextKeys.diffEditorRenderSideBySideInlineBreakpointReached = new RawContextKey('diffEditorRenderSideBySideInlineBreakpointReached', false, nls.localize(698, "Whether the diff editor render side by side inline breakpoint is reached"));
32
- EditorContextKeys.diffEditorInlineMode = new RawContextKey('diffEditorInlineMode', false, nls.localize(699, "Whether inline mode is active"));
33
- EditorContextKeys.diffEditorOriginalWritable = new RawContextKey('diffEditorOriginalWritable', false, nls.localize(700, "Whether modified is writable in the diff editor"));
34
- EditorContextKeys.diffEditorModifiedWritable = new RawContextKey('diffEditorModifiedWritable', false, nls.localize(701, "Whether modified is writable in the diff editor"));
35
- EditorContextKeys.diffEditorOriginalUri = new RawContextKey('diffEditorOriginalUri', '', nls.localize(702, "The uri of the original document"));
36
- EditorContextKeys.diffEditorModifiedUri = new RawContextKey('diffEditorModifiedUri', '', nls.localize(703, "The uri of the modified document"));
37
- EditorContextKeys.columnSelection = new RawContextKey('editorColumnSelection', false, nls.localize(704, "Whether `editor.columnSelection` is enabled"));
22
+ EditorContextKeys.textInputFocus = new RawContextKey('textInputFocus', false, nls.localize(690, "Whether an editor or a rich text input has focus (cursor is blinking)"));
23
+ EditorContextKeys.readOnly = new RawContextKey('editorReadonly', false, nls.localize(691, "Whether the editor is read-only"));
24
+ EditorContextKeys.inDiffEditor = new RawContextKey('inDiffEditor', false, nls.localize(692, "Whether the context is a diff editor"));
25
+ EditorContextKeys.isEmbeddedDiffEditor = new RawContextKey('isEmbeddedDiffEditor', false, nls.localize(693, "Whether the context is an embedded diff editor"));
26
+ EditorContextKeys.inMultiDiffEditor = new RawContextKey('inMultiDiffEditor', false, nls.localize(694, "Whether the context is a multi diff editor"));
27
+ EditorContextKeys.multiDiffEditorAllCollapsed = new RawContextKey('multiDiffEditorAllCollapsed', undefined, nls.localize(695, "Whether all files in multi diff editor are collapsed"));
28
+ EditorContextKeys.hasChanges = new RawContextKey('diffEditorHasChanges', false, nls.localize(696, "Whether the diff editor has changes"));
29
+ EditorContextKeys.comparingMovedCode = new RawContextKey('comparingMovedCode', false, nls.localize(697, "Whether a moved code block is selected for comparison"));
30
+ EditorContextKeys.accessibleDiffViewerVisible = new RawContextKey('accessibleDiffViewerVisible', false, nls.localize(698, "Whether the accessible diff viewer is visible"));
31
+ EditorContextKeys.diffEditorRenderSideBySideInlineBreakpointReached = new RawContextKey('diffEditorRenderSideBySideInlineBreakpointReached', false, nls.localize(699, "Whether the diff editor render side by side inline breakpoint is reached"));
32
+ EditorContextKeys.diffEditorInlineMode = new RawContextKey('diffEditorInlineMode', false, nls.localize(700, "Whether inline mode is active"));
33
+ EditorContextKeys.diffEditorOriginalWritable = new RawContextKey('diffEditorOriginalWritable', false, nls.localize(701, "Whether modified is writable in the diff editor"));
34
+ EditorContextKeys.diffEditorModifiedWritable = new RawContextKey('diffEditorModifiedWritable', false, nls.localize(702, "Whether modified is writable in the diff editor"));
35
+ EditorContextKeys.diffEditorOriginalUri = new RawContextKey('diffEditorOriginalUri', '', nls.localize(703, "The uri of the original document"));
36
+ EditorContextKeys.diffEditorModifiedUri = new RawContextKey('diffEditorModifiedUri', '', nls.localize(704, "The uri of the modified document"));
37
+ EditorContextKeys.columnSelection = new RawContextKey('editorColumnSelection', false, nls.localize(705, "Whether `editor.columnSelection` is enabled"));
38
38
  EditorContextKeys.writable = EditorContextKeys.readOnly.toNegated();
39
- EditorContextKeys.hasNonEmptySelection = new RawContextKey('editorHasSelection', false, nls.localize(705, "Whether the editor has text selected"));
39
+ EditorContextKeys.hasNonEmptySelection = new RawContextKey('editorHasSelection', false, nls.localize(706, "Whether the editor has text selected"));
40
40
  EditorContextKeys.hasOnlyEmptySelection = EditorContextKeys.hasNonEmptySelection.toNegated();
41
- EditorContextKeys.hasMultipleSelections = new RawContextKey('editorHasMultipleSelections', false, nls.localize(706, "Whether the editor has multiple selections"));
41
+ EditorContextKeys.hasMultipleSelections = new RawContextKey('editorHasMultipleSelections', false, nls.localize(707, "Whether the editor has multiple selections"));
42
42
  EditorContextKeys.hasSingleSelection = EditorContextKeys.hasMultipleSelections.toNegated();
43
- EditorContextKeys.tabMovesFocus = new RawContextKey('editorTabMovesFocus', false, nls.localize(707, "Whether `Tab` will move focus out of the editor"));
43
+ EditorContextKeys.tabMovesFocus = new RawContextKey('editorTabMovesFocus', false, nls.localize(708, "Whether `Tab` will move focus out of the editor"));
44
44
  EditorContextKeys.tabDoesNotMoveFocus = EditorContextKeys.tabMovesFocus.toNegated();
45
45
  EditorContextKeys.isInEmbeddedEditor = new RawContextKey('isInEmbeddedEditor', false, true);
46
46
  EditorContextKeys.canUndo = new RawContextKey('canUndo', false, true);
47
47
  EditorContextKeys.canRedo = new RawContextKey('canRedo', false, true);
48
- EditorContextKeys.hoverVisible = new RawContextKey('editorHoverVisible', false, nls.localize(708, "Whether the editor hover is visible"));
49
- EditorContextKeys.hoverFocused = new RawContextKey('editorHoverFocused', false, nls.localize(709, "Whether the editor hover is focused"));
50
- EditorContextKeys.stickyScrollFocused = new RawContextKey('stickyScrollFocused', false, nls.localize(710, "Whether the sticky scroll is focused"));
51
- EditorContextKeys.stickyScrollVisible = new RawContextKey('stickyScrollVisible', false, nls.localize(711, "Whether the sticky scroll is visible"));
52
- EditorContextKeys.standaloneColorPickerVisible = new RawContextKey('standaloneColorPickerVisible', false, nls.localize(712, "Whether the standalone color picker is visible"));
53
- EditorContextKeys.standaloneColorPickerFocused = new RawContextKey('standaloneColorPickerFocused', false, nls.localize(713, "Whether the standalone color picker is focused"));
48
+ EditorContextKeys.hoverVisible = new RawContextKey('editorHoverVisible', false, nls.localize(709, "Whether the editor hover is visible"));
49
+ EditorContextKeys.hoverFocused = new RawContextKey('editorHoverFocused', false, nls.localize(710, "Whether the editor hover is focused"));
50
+ EditorContextKeys.stickyScrollFocused = new RawContextKey('stickyScrollFocused', false, nls.localize(711, "Whether the sticky scroll is focused"));
51
+ EditorContextKeys.stickyScrollVisible = new RawContextKey('stickyScrollVisible', false, nls.localize(712, "Whether the sticky scroll is visible"));
52
+ EditorContextKeys.standaloneColorPickerVisible = new RawContextKey('standaloneColorPickerVisible', false, nls.localize(713, "Whether the standalone color picker is visible"));
53
+ EditorContextKeys.standaloneColorPickerFocused = new RawContextKey('standaloneColorPickerFocused', false, nls.localize(714, "Whether the standalone color picker is focused"));
54
54
  /**
55
55
  * A context key that is set when an editor is part of a larger editor, like notebooks or
56
56
  * (future) a diff editor
57
57
  */
58
- EditorContextKeys.inCompositeEditor = new RawContextKey('inCompositeEditor', undefined, nls.localize(714, "Whether the editor is part of a larger editor (e.g. notebooks)"));
58
+ EditorContextKeys.inCompositeEditor = new RawContextKey('inCompositeEditor', undefined, nls.localize(715, "Whether the editor is part of a larger editor (e.g. notebooks)"));
59
59
  EditorContextKeys.notInCompositeEditor = EditorContextKeys.inCompositeEditor.toNegated();
60
60
  // -- mode context keys
61
- EditorContextKeys.languageId = new RawContextKey('editorLangId', '', nls.localize(715, "The language identifier of the editor"));
62
- EditorContextKeys.hasCompletionItemProvider = new RawContextKey('editorHasCompletionItemProvider', false, nls.localize(716, "Whether the editor has a completion item provider"));
63
- EditorContextKeys.hasCodeActionsProvider = new RawContextKey('editorHasCodeActionsProvider', false, nls.localize(717, "Whether the editor has a code actions provider"));
64
- EditorContextKeys.hasCodeLensProvider = new RawContextKey('editorHasCodeLensProvider', false, nls.localize(718, "Whether the editor has a code lens provider"));
65
- EditorContextKeys.hasDefinitionProvider = new RawContextKey('editorHasDefinitionProvider', false, nls.localize(719, "Whether the editor has a definition provider"));
66
- EditorContextKeys.hasDeclarationProvider = new RawContextKey('editorHasDeclarationProvider', false, nls.localize(720, "Whether the editor has a declaration provider"));
67
- EditorContextKeys.hasImplementationProvider = new RawContextKey('editorHasImplementationProvider', false, nls.localize(721, "Whether the editor has an implementation provider"));
68
- EditorContextKeys.hasTypeDefinitionProvider = new RawContextKey('editorHasTypeDefinitionProvider', false, nls.localize(722, "Whether the editor has a type definition provider"));
69
- EditorContextKeys.hasHoverProvider = new RawContextKey('editorHasHoverProvider', false, nls.localize(723, "Whether the editor has a hover provider"));
70
- EditorContextKeys.hasDocumentHighlightProvider = new RawContextKey('editorHasDocumentHighlightProvider', false, nls.localize(724, "Whether the editor has a document highlight provider"));
71
- EditorContextKeys.hasDocumentSymbolProvider = new RawContextKey('editorHasDocumentSymbolProvider', false, nls.localize(725, "Whether the editor has a document symbol provider"));
72
- EditorContextKeys.hasReferenceProvider = new RawContextKey('editorHasReferenceProvider', false, nls.localize(726, "Whether the editor has a reference provider"));
73
- EditorContextKeys.hasRenameProvider = new RawContextKey('editorHasRenameProvider', false, nls.localize(727, "Whether the editor has a rename provider"));
74
- EditorContextKeys.hasSignatureHelpProvider = new RawContextKey('editorHasSignatureHelpProvider', false, nls.localize(728, "Whether the editor has a signature help provider"));
75
- EditorContextKeys.hasInlayHintsProvider = new RawContextKey('editorHasInlayHintsProvider', false, nls.localize(729, "Whether the editor has an inline hints provider"));
61
+ EditorContextKeys.languageId = new RawContextKey('editorLangId', '', nls.localize(716, "The language identifier of the editor"));
62
+ EditorContextKeys.hasCompletionItemProvider = new RawContextKey('editorHasCompletionItemProvider', false, nls.localize(717, "Whether the editor has a completion item provider"));
63
+ EditorContextKeys.hasCodeActionsProvider = new RawContextKey('editorHasCodeActionsProvider', false, nls.localize(718, "Whether the editor has a code actions provider"));
64
+ EditorContextKeys.hasCodeLensProvider = new RawContextKey('editorHasCodeLensProvider', false, nls.localize(719, "Whether the editor has a code lens provider"));
65
+ EditorContextKeys.hasDefinitionProvider = new RawContextKey('editorHasDefinitionProvider', false, nls.localize(720, "Whether the editor has a definition provider"));
66
+ EditorContextKeys.hasDeclarationProvider = new RawContextKey('editorHasDeclarationProvider', false, nls.localize(721, "Whether the editor has a declaration provider"));
67
+ EditorContextKeys.hasImplementationProvider = new RawContextKey('editorHasImplementationProvider', false, nls.localize(722, "Whether the editor has an implementation provider"));
68
+ EditorContextKeys.hasTypeDefinitionProvider = new RawContextKey('editorHasTypeDefinitionProvider', false, nls.localize(723, "Whether the editor has a type definition provider"));
69
+ EditorContextKeys.hasHoverProvider = new RawContextKey('editorHasHoverProvider', false, nls.localize(724, "Whether the editor has a hover provider"));
70
+ EditorContextKeys.hasDocumentHighlightProvider = new RawContextKey('editorHasDocumentHighlightProvider', false, nls.localize(725, "Whether the editor has a document highlight provider"));
71
+ EditorContextKeys.hasDocumentSymbolProvider = new RawContextKey('editorHasDocumentSymbolProvider', false, nls.localize(726, "Whether the editor has a document symbol provider"));
72
+ EditorContextKeys.hasReferenceProvider = new RawContextKey('editorHasReferenceProvider', false, nls.localize(727, "Whether the editor has a reference provider"));
73
+ EditorContextKeys.hasRenameProvider = new RawContextKey('editorHasRenameProvider', false, nls.localize(728, "Whether the editor has a rename provider"));
74
+ EditorContextKeys.hasSignatureHelpProvider = new RawContextKey('editorHasSignatureHelpProvider', false, nls.localize(729, "Whether the editor has a signature help provider"));
75
+ EditorContextKeys.hasInlayHintsProvider = new RawContextKey('editorHasInlayHintsProvider', false, nls.localize(730, "Whether the editor has an inline hints provider"));
76
76
  // -- mode context keys: formatting
77
- EditorContextKeys.hasDocumentFormattingProvider = new RawContextKey('editorHasDocumentFormattingProvider', false, nls.localize(730, "Whether the editor has a document formatting provider"));
78
- EditorContextKeys.hasDocumentSelectionFormattingProvider = new RawContextKey('editorHasDocumentSelectionFormattingProvider', false, nls.localize(731, "Whether the editor has a document selection formatting provider"));
79
- EditorContextKeys.hasMultipleDocumentFormattingProvider = new RawContextKey('editorHasMultipleDocumentFormattingProvider', false, nls.localize(732, "Whether the editor has multiple document formatting providers"));
80
- EditorContextKeys.hasMultipleDocumentSelectionFormattingProvider = new RawContextKey('editorHasMultipleDocumentSelectionFormattingProvider', false, nls.localize(733, "Whether the editor has multiple document selection formatting providers"));
77
+ EditorContextKeys.hasDocumentFormattingProvider = new RawContextKey('editorHasDocumentFormattingProvider', false, nls.localize(731, "Whether the editor has a document formatting provider"));
78
+ EditorContextKeys.hasDocumentSelectionFormattingProvider = new RawContextKey('editorHasDocumentSelectionFormattingProvider', false, nls.localize(732, "Whether the editor has a document selection formatting provider"));
79
+ EditorContextKeys.hasMultipleDocumentFormattingProvider = new RawContextKey('editorHasMultipleDocumentFormattingProvider', false, nls.localize(733, "Whether the editor has multiple document formatting providers"));
80
+ EditorContextKeys.hasMultipleDocumentSelectionFormattingProvider = new RawContextKey('editorHasMultipleDocumentSelectionFormattingProvider', false, nls.localize(734, "Whether the editor has multiple document selection formatting providers"));
81
81
  })(EditorContextKeys || (EditorContextKeys = {}));
82
82
  //# sourceMappingURL=editorContextKeys.js.map
@@ -44,7 +44,7 @@ export const PLAINTEXT_EXTENSION = '.txt';
44
44
  ModesRegistry.registerLanguage({
45
45
  id: PLAINTEXT_LANGUAGE_ID,
46
46
  extensions: [PLAINTEXT_EXTENSION],
47
- aliases: [nls.localize(790, "Plain Text"), 'text'],
47
+ aliases: [nls.localize(791, "Plain Text"), 'text'],
48
48
  mimetypes: [Mimes.text]
49
49
  });
50
50
  Registry.as(ConfigurationExtensions.Configuration)
@@ -106,35 +106,35 @@ export var CompletionItemKinds;
106
106
  */
107
107
  function toLabel(kind) {
108
108
  switch (kind) {
109
- case 0 /* CompletionItemKind.Method */: return localize(734, 'Method');
110
- case 1 /* CompletionItemKind.Function */: return localize(735, 'Function');
111
- case 2 /* CompletionItemKind.Constructor */: return localize(736, 'Constructor');
112
- case 3 /* CompletionItemKind.Field */: return localize(737, 'Field');
113
- case 4 /* CompletionItemKind.Variable */: return localize(738, 'Variable');
114
- case 5 /* CompletionItemKind.Class */: return localize(739, 'Class');
115
- case 6 /* CompletionItemKind.Struct */: return localize(740, 'Struct');
116
- case 7 /* CompletionItemKind.Interface */: return localize(741, 'Interface');
117
- case 8 /* CompletionItemKind.Module */: return localize(742, 'Module');
118
- case 9 /* CompletionItemKind.Property */: return localize(743, 'Property');
119
- case 10 /* CompletionItemKind.Event */: return localize(744, 'Event');
120
- case 11 /* CompletionItemKind.Operator */: return localize(745, 'Operator');
121
- case 12 /* CompletionItemKind.Unit */: return localize(746, 'Unit');
122
- case 13 /* CompletionItemKind.Value */: return localize(747, 'Value');
123
- case 14 /* CompletionItemKind.Constant */: return localize(748, 'Constant');
124
- case 15 /* CompletionItemKind.Enum */: return localize(749, 'Enum');
125
- case 16 /* CompletionItemKind.EnumMember */: return localize(750, 'Enum Member');
126
- case 17 /* CompletionItemKind.Keyword */: return localize(751, 'Keyword');
127
- case 18 /* CompletionItemKind.Text */: return localize(752, 'Text');
128
- case 19 /* CompletionItemKind.Color */: return localize(753, 'Color');
129
- case 20 /* CompletionItemKind.File */: return localize(754, 'File');
130
- case 21 /* CompletionItemKind.Reference */: return localize(755, 'Reference');
131
- case 22 /* CompletionItemKind.Customcolor */: return localize(756, 'Custom Color');
132
- case 23 /* CompletionItemKind.Folder */: return localize(757, 'Folder');
133
- case 24 /* CompletionItemKind.TypeParameter */: return localize(758, 'Type Parameter');
134
- case 25 /* CompletionItemKind.User */: return localize(759, 'User');
135
- case 26 /* CompletionItemKind.Issue */: return localize(760, 'Issue');
136
- case 27 /* CompletionItemKind.Tool */: return localize(761, 'Tool');
137
- case 28 /* CompletionItemKind.Snippet */: return localize(762, 'Snippet');
109
+ case 0 /* CompletionItemKind.Method */: return localize(735, 'Method');
110
+ case 1 /* CompletionItemKind.Function */: return localize(736, 'Function');
111
+ case 2 /* CompletionItemKind.Constructor */: return localize(737, 'Constructor');
112
+ case 3 /* CompletionItemKind.Field */: return localize(738, 'Field');
113
+ case 4 /* CompletionItemKind.Variable */: return localize(739, 'Variable');
114
+ case 5 /* CompletionItemKind.Class */: return localize(740, 'Class');
115
+ case 6 /* CompletionItemKind.Struct */: return localize(741, 'Struct');
116
+ case 7 /* CompletionItemKind.Interface */: return localize(742, 'Interface');
117
+ case 8 /* CompletionItemKind.Module */: return localize(743, 'Module');
118
+ case 9 /* CompletionItemKind.Property */: return localize(744, 'Property');
119
+ case 10 /* CompletionItemKind.Event */: return localize(745, 'Event');
120
+ case 11 /* CompletionItemKind.Operator */: return localize(746, 'Operator');
121
+ case 12 /* CompletionItemKind.Unit */: return localize(747, 'Unit');
122
+ case 13 /* CompletionItemKind.Value */: return localize(748, 'Value');
123
+ case 14 /* CompletionItemKind.Constant */: return localize(749, 'Constant');
124
+ case 15 /* CompletionItemKind.Enum */: return localize(750, 'Enum');
125
+ case 16 /* CompletionItemKind.EnumMember */: return localize(751, 'Enum Member');
126
+ case 17 /* CompletionItemKind.Keyword */: return localize(752, 'Keyword');
127
+ case 18 /* CompletionItemKind.Text */: return localize(753, 'Text');
128
+ case 19 /* CompletionItemKind.Color */: return localize(754, 'Color');
129
+ case 20 /* CompletionItemKind.File */: return localize(755, 'File');
130
+ case 21 /* CompletionItemKind.Reference */: return localize(756, 'Reference');
131
+ case 22 /* CompletionItemKind.Customcolor */: return localize(757, 'Custom Color');
132
+ case 23 /* CompletionItemKind.Folder */: return localize(758, 'Folder');
133
+ case 24 /* CompletionItemKind.TypeParameter */: return localize(759, 'Type Parameter');
134
+ case 25 /* CompletionItemKind.User */: return localize(760, 'User');
135
+ case 26 /* CompletionItemKind.Issue */: return localize(761, 'Issue');
136
+ case 27 /* CompletionItemKind.Tool */: return localize(762, 'Tool');
137
+ case 28 /* CompletionItemKind.Snippet */: return localize(763, 'Snippet');
138
138
  default: return '';
139
139
  }
140
140
  }
@@ -316,38 +316,38 @@ export function isLocationLink(thing) {
316
316
  * @internal
317
317
  */
318
318
  export const symbolKindNames = {
319
- [17 /* SymbolKind.Array */]: localize(763, "array"),
320
- [16 /* SymbolKind.Boolean */]: localize(764, "boolean"),
321
- [4 /* SymbolKind.Class */]: localize(765, "class"),
322
- [13 /* SymbolKind.Constant */]: localize(766, "constant"),
323
- [8 /* SymbolKind.Constructor */]: localize(767, "constructor"),
324
- [9 /* SymbolKind.Enum */]: localize(768, "enumeration"),
325
- [21 /* SymbolKind.EnumMember */]: localize(769, "enumeration member"),
326
- [23 /* SymbolKind.Event */]: localize(770, "event"),
327
- [7 /* SymbolKind.Field */]: localize(771, "field"),
328
- [0 /* SymbolKind.File */]: localize(772, "file"),
329
- [11 /* SymbolKind.Function */]: localize(773, "function"),
330
- [10 /* SymbolKind.Interface */]: localize(774, "interface"),
331
- [19 /* SymbolKind.Key */]: localize(775, "key"),
332
- [5 /* SymbolKind.Method */]: localize(776, "method"),
333
- [1 /* SymbolKind.Module */]: localize(777, "module"),
334
- [2 /* SymbolKind.Namespace */]: localize(778, "namespace"),
335
- [20 /* SymbolKind.Null */]: localize(779, "null"),
336
- [15 /* SymbolKind.Number */]: localize(780, "number"),
337
- [18 /* SymbolKind.Object */]: localize(781, "object"),
338
- [24 /* SymbolKind.Operator */]: localize(782, "operator"),
339
- [3 /* SymbolKind.Package */]: localize(783, "package"),
340
- [6 /* SymbolKind.Property */]: localize(784, "property"),
341
- [14 /* SymbolKind.String */]: localize(785, "string"),
342
- [22 /* SymbolKind.Struct */]: localize(786, "struct"),
343
- [25 /* SymbolKind.TypeParameter */]: localize(787, "type parameter"),
344
- [12 /* SymbolKind.Variable */]: localize(788, "variable"),
319
+ [17 /* SymbolKind.Array */]: localize(764, "array"),
320
+ [16 /* SymbolKind.Boolean */]: localize(765, "boolean"),
321
+ [4 /* SymbolKind.Class */]: localize(766, "class"),
322
+ [13 /* SymbolKind.Constant */]: localize(767, "constant"),
323
+ [8 /* SymbolKind.Constructor */]: localize(768, "constructor"),
324
+ [9 /* SymbolKind.Enum */]: localize(769, "enumeration"),
325
+ [21 /* SymbolKind.EnumMember */]: localize(770, "enumeration member"),
326
+ [23 /* SymbolKind.Event */]: localize(771, "event"),
327
+ [7 /* SymbolKind.Field */]: localize(772, "field"),
328
+ [0 /* SymbolKind.File */]: localize(773, "file"),
329
+ [11 /* SymbolKind.Function */]: localize(774, "function"),
330
+ [10 /* SymbolKind.Interface */]: localize(775, "interface"),
331
+ [19 /* SymbolKind.Key */]: localize(776, "key"),
332
+ [5 /* SymbolKind.Method */]: localize(777, "method"),
333
+ [1 /* SymbolKind.Module */]: localize(778, "module"),
334
+ [2 /* SymbolKind.Namespace */]: localize(779, "namespace"),
335
+ [20 /* SymbolKind.Null */]: localize(780, "null"),
336
+ [15 /* SymbolKind.Number */]: localize(781, "number"),
337
+ [18 /* SymbolKind.Object */]: localize(782, "object"),
338
+ [24 /* SymbolKind.Operator */]: localize(783, "operator"),
339
+ [3 /* SymbolKind.Package */]: localize(784, "package"),
340
+ [6 /* SymbolKind.Property */]: localize(785, "property"),
341
+ [14 /* SymbolKind.String */]: localize(786, "string"),
342
+ [22 /* SymbolKind.Struct */]: localize(787, "struct"),
343
+ [25 /* SymbolKind.TypeParameter */]: localize(788, "type parameter"),
344
+ [12 /* SymbolKind.Variable */]: localize(789, "variable"),
345
345
  };
346
346
  /**
347
347
  * @internal
348
348
  */
349
349
  export function getAriaLabelForSymbol(symbolName, kind) {
350
- return localize(789, '{0} ({1})', symbolName, symbolKindNames[kind]);
350
+ return localize(790, '{0} ({1})', symbolName, symbolKindNames[kind]);
351
351
  }
352
352
  /**
353
353
  * @internal
@@ -325,7 +325,7 @@ export class EditStack {
325
325
  if (isEditStackElement(lastElement) && lastElement.canAppend(this._model)) {
326
326
  return lastElement;
327
327
  }
328
- const newElement = new SingleModelEditStackElement(nls.localize(791, "Typing"), 'undoredo.textBufferEdit', this._model, beforeCursorState);
328
+ const newElement = new SingleModelEditStackElement(nls.localize(792, "Typing"), 'undoredo.textBufferEdit', this._model, beforeCursorState);
329
329
  this._undoRedoService.pushElement(newElement, group);
330
330
  return newElement;
331
331
  }
@@ -5,37 +5,37 @@
5
5
  import * as nls from '../../nls.js';
6
6
  export var InspectTokensNLS;
7
7
  (function (InspectTokensNLS) {
8
- InspectTokensNLS.inspectTokensAction = nls.localize(792, "Developer: Inspect Tokens");
8
+ InspectTokensNLS.inspectTokensAction = nls.localize(793, "Developer: Inspect Tokens");
9
9
  })(InspectTokensNLS || (InspectTokensNLS = {}));
10
10
  export var GoToLineNLS;
11
11
  (function (GoToLineNLS) {
12
- GoToLineNLS.gotoLineActionLabel = nls.localize(793, "Go to Line/Column...");
13
- GoToLineNLS.gotoOffsetActionLabel = nls.localize(794, "Go to Offset...");
12
+ GoToLineNLS.gotoLineActionLabel = nls.localize(794, "Go to Line/Column...");
13
+ GoToLineNLS.gotoOffsetActionLabel = nls.localize(795, "Go to Offset...");
14
14
  })(GoToLineNLS || (GoToLineNLS = {}));
15
15
  export var QuickHelpNLS;
16
16
  (function (QuickHelpNLS) {
17
- QuickHelpNLS.helpQuickAccessActionLabel = nls.localize(795, "Show all Quick Access Providers");
17
+ QuickHelpNLS.helpQuickAccessActionLabel = nls.localize(796, "Show all Quick Access Providers");
18
18
  })(QuickHelpNLS || (QuickHelpNLS = {}));
19
19
  export var QuickCommandNLS;
20
20
  (function (QuickCommandNLS) {
21
- QuickCommandNLS.quickCommandActionLabel = nls.localize(796, "Command Palette");
22
- QuickCommandNLS.quickCommandHelp = nls.localize(797, "Show And Run Commands");
21
+ QuickCommandNLS.quickCommandActionLabel = nls.localize(797, "Command Palette");
22
+ QuickCommandNLS.quickCommandHelp = nls.localize(798, "Show And Run Commands");
23
23
  })(QuickCommandNLS || (QuickCommandNLS = {}));
24
24
  export var QuickOutlineNLS;
25
25
  (function (QuickOutlineNLS) {
26
- QuickOutlineNLS.quickOutlineActionLabel = nls.localize(798, "Go to Symbol...");
27
- QuickOutlineNLS.quickOutlineByCategoryActionLabel = nls.localize(799, "Go to Symbol by Category...");
26
+ QuickOutlineNLS.quickOutlineActionLabel = nls.localize(799, "Go to Symbol...");
27
+ QuickOutlineNLS.quickOutlineByCategoryActionLabel = nls.localize(800, "Go to Symbol by Category...");
28
28
  })(QuickOutlineNLS || (QuickOutlineNLS = {}));
29
29
  export var StandaloneCodeEditorNLS;
30
30
  (function (StandaloneCodeEditorNLS) {
31
- StandaloneCodeEditorNLS.editorViewAccessibleLabel = nls.localize(800, "Editor content");
31
+ StandaloneCodeEditorNLS.editorViewAccessibleLabel = nls.localize(801, "Editor content");
32
32
  })(StandaloneCodeEditorNLS || (StandaloneCodeEditorNLS = {}));
33
33
  export var ToggleHighContrastNLS;
34
34
  (function (ToggleHighContrastNLS) {
35
- ToggleHighContrastNLS.toggleHighContrast = nls.localize(801, "Toggle High Contrast Theme");
35
+ ToggleHighContrastNLS.toggleHighContrast = nls.localize(802, "Toggle High Contrast Theme");
36
36
  })(ToggleHighContrastNLS || (ToggleHighContrastNLS = {}));
37
37
  export var StandaloneServicesNLS;
38
38
  (function (StandaloneServicesNLS) {
39
- StandaloneServicesNLS.bulkEditServiceSummary = nls.localize(802, "Made {0} edits in {1} files");
39
+ StandaloneServicesNLS.bulkEditServiceSummary = nls.localize(803, "Made {0} edits in {1} files");
40
40
  })(StandaloneServicesNLS || (StandaloneServicesNLS = {}));
41
41
  //# sourceMappingURL=standaloneStrings.js.map
@@ -925,7 +925,7 @@ function _renderLine(input, sb) {
925
925
  }
926
926
  if (isOverflowing) {
927
927
  sb.appendString('<span class="mtkoverflow">');
928
- sb.appendString(nls.localize(803, "Show more ({0})", renderOverflowingCharCount(overflowingCharCount)));
928
+ sb.appendString(nls.localize(804, "Show more ({0})", renderOverflowingCharCount(overflowingCharCount)));
929
929
  sb.appendString('</span>');
930
930
  }
931
931
  sb.appendString('</span>');
@@ -936,7 +936,7 @@ function to4CharHex(n) {
936
936
  }
937
937
  function renderOverflowingCharCount(n) {
938
938
  if (n < 1024) {
939
- return nls.localize(804, "{0} chars", n);
939
+ return nls.localize(805, "{0} chars", n);
940
940
  }
941
941
  if (n < 1024 * 1024) {
942
942
  return `${(n / 1024).toFixed(1)} KB`;
@@ -743,30 +743,19 @@ export class ViewModel extends Disposable {
743
743
  hasNonEmptyRange = true;
744
744
  }
745
745
  }
746
- if (!hasNonEmptyRange) {
746
+ if (!hasNonEmptyRange && !emptySelectionClipboard) {
747
747
  // all ranges are empty
748
- if (!emptySelectionClipboard) {
749
- return '';
750
- }
751
- const modelLineNumbers = modelRanges.map((r) => r.startLineNumber);
752
- let result = '';
753
- for (let i = 0; i < modelLineNumbers.length; i++) {
754
- if (i > 0 && modelLineNumbers[i - 1] === modelLineNumbers[i]) {
755
- continue;
756
- }
757
- result += this.model.getLineContent(modelLineNumbers[i]) + newLineCharacter;
758
- }
759
- return result;
748
+ return '';
760
749
  }
761
750
  if (hasEmptyRange && emptySelectionClipboard) {
762
- // mixed empty selections and non-empty selections
751
+ // some (maybe all) empty selections
763
752
  const result = [];
764
753
  let prevModelLineNumber = 0;
765
754
  for (const modelRange of modelRanges) {
766
755
  const modelLineNumber = modelRange.startLineNumber;
767
756
  if (modelRange.isEmpty()) {
768
757
  if (modelLineNumber !== prevModelLineNumber) {
769
- result.push(this.model.getLineContent(modelLineNumber));
758
+ result.push(this.model.getLineContent(modelLineNumber) + newLineCharacter);
770
759
  }
771
760
  }
772
761
  else {