@codingame/monaco-vscode-api 2.2.2 → 3.0.0
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.
- package/README.md +16 -3
- package/api.js +8 -10
- package/contributions.js +3 -3
- package/debugProtocol.d.ts +143 -51
- package/extensions.d.ts +9 -5
- package/external/@xterm/xterm/typings/xterm.d.ts +2 -2
- package/missing-services.js +48 -13
- package/monaco.js +30 -14
- package/package.json +8 -8
- package/service-override/tools/editor.js +31 -8
- package/service-override/tools/views.d.ts +5 -6
- package/service-override/tools/views.js +10 -11
- package/services.d.ts +2 -2
- package/services.js +4 -3
- package/vscode/src/vs/base/browser/browser.js +2 -66
- package/vscode/src/vs/base/browser/dom.js +10 -22
- package/vscode/src/vs/base/browser/markdownRenderer.js +13 -5
- package/vscode/src/vs/base/browser/mouseEvent.js +9 -3
- package/vscode/src/vs/base/browser/pixelRatio.js +72 -0
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +4 -3
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.css.js +1 -1
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.js +3 -4
- package/vscode/src/vs/base/browser/ui/button/button.js +16 -4
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.css.js +1 -1
- package/vscode/src/vs/base/browser/ui/contextview/contextview.js +1 -3
- package/vscode/src/vs/base/browser/ui/dropdown/dropdown.js +8 -1
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +6 -2
- package/vscode/src/vs/base/browser/ui/hover/hoverDelegate.js +22 -0
- package/vscode/src/vs/base/browser/ui/iconLabel/iconHoverDelegate.d.ts +1 -0
- package/vscode/src/vs/base/browser/ui/iconLabel/iconLabel.js +3 -2
- package/vscode/src/vs/base/browser/ui/iconLabel/iconLabelHover.js +2 -1
- package/vscode/src/vs/base/browser/ui/list/listView.js +27 -42
- package/vscode/src/vs/base/browser/ui/menu/menu.js +0 -4
- package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.js +7 -4
- package/vscode/src/vs/base/browser/ui/table/tableWidget.js +8 -4
- package/vscode/src/vs/base/browser/ui/toggle/toggle.js +4 -2
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +7 -2
- package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.js +1 -0
- package/vscode/src/vs/base/common/actions.js +1 -1
- package/vscode/src/vs/base/common/assert.js +1 -1
- package/vscode/src/vs/base/common/async.js +11 -7
- package/vscode/src/vs/base/common/codicons.d.ts +4 -0
- package/vscode/src/vs/base/common/codicons.js +4 -0
- package/vscode/src/vs/base/common/date.js +55 -1
- package/vscode/src/vs/base/common/event.js +5 -3
- package/vscode/src/vs/base/common/filters.js +1 -1
- package/vscode/src/vs/base/common/hotReload.js +5 -4
- package/vscode/src/vs/base/common/network.js +3 -0
- package/vscode/src/vs/base/common/observableInternal/autorun.js +19 -35
- package/vscode/src/vs/base/common/observableInternal/base.js +3 -82
- package/vscode/src/vs/base/common/observableInternal/debugName.js +100 -0
- package/vscode/src/vs/base/common/observableInternal/derived.js +14 -46
- package/vscode/src/vs/base/common/observableInternal/promise.js +94 -0
- package/vscode/src/vs/base/common/observableInternal/utils.js +5 -27
- package/vscode/src/vs/base/common/prefixTree.js +56 -22
- package/vscode/src/vs/base/common/product.d.ts +1 -1
- package/vscode/src/vs/base/common/strings.js +9 -1
- package/vscode/src/vs/editor/browser/config/charWidthReader.js +5 -6
- package/vscode/src/vs/editor/browser/config/editorConfiguration.js +7 -4
- package/vscode/src/vs/editor/browser/config/fontMeasurements.js +39 -26
- package/vscode/src/vs/editor/browser/controller/mouseHandler.js +10 -10
- package/vscode/src/vs/editor/browser/controller/mouseTarget.js +4 -4
- package/vscode/src/vs/editor/browser/controller/textAreaHandler.js +12 -12
- package/vscode/src/vs/editor/browser/coreCommands.js +2 -2
- package/vscode/src/vs/editor/browser/view/viewController.js +3 -3
- package/vscode/src/vs/editor/browser/view/viewLayer.js +1 -1
- package/vscode/src/vs/editor/browser/view/viewOverlays.js +6 -6
- package/vscode/src/vs/editor/browser/view.js +2 -2
- package/vscode/src/vs/editor/browser/viewParts/blockDecorations/blockDecorations.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/contentWidgets/contentWidgets.js +5 -5
- package/vscode/src/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.js +8 -8
- package/vscode/src/vs/editor/browser/viewParts/decorations/decorations.js +2 -2
- package/vscode/src/vs/editor/browser/viewParts/editorScrollbar/editorScrollbar.js +11 -11
- package/vscode/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.js +4 -4
- package/vscode/src/vs/editor/browser/viewParts/indentGuides/indentGuides.js +4 -4
- package/vscode/src/vs/editor/browser/viewParts/lineNumbers/lineNumbers.js +4 -4
- package/vscode/src/vs/editor/browser/viewParts/lines/viewLine.js +4 -4
- package/vscode/src/vs/editor/browser/viewParts/lines/viewLines.js +13 -13
- package/vscode/src/vs/editor/browser/viewParts/linesDecorations/linesDecorations.js +2 -2
- package/vscode/src/vs/editor/browser/viewParts/margin/margin.js +2 -2
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.js +7 -7
- package/vscode/src/vs/editor/browser/viewParts/overlayWidgets/overlayWidgets.js +2 -2
- package/vscode/src/vs/editor/browser/viewParts/overviewRuler/decorationsOverviewRuler.js +7 -7
- package/vscode/src/vs/editor/browser/viewParts/overviewRuler/overviewRuler.js +6 -6
- package/vscode/src/vs/editor/browser/viewParts/rulers/rulers.js +2 -2
- package/vscode/src/vs/editor/browser/viewParts/scrollDecoration/scrollDecoration.js +3 -3
- package/vscode/src/vs/editor/browser/viewParts/selections/selections.js +4 -4
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursor.js +2 -2
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursors.js +2 -2
- package/vscode/src/vs/editor/browser/viewParts/viewZones/viewZones.js +5 -5
- package/vscode/src/vs/editor/browser/viewParts/whitespace/whitespace.js +5 -5
- package/vscode/src/vs/editor/browser/widget/codeEditorContributions.js +2 -2
- package/vscode/src/vs/editor/browser/widget/codeEditorWidget.js +34 -32
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.css.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +82 -37
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +3 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +7 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +3 -3
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/renderLines.js +6 -6
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +10 -16
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +2 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +12 -12
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +2 -4
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/overviewRulerFeature.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +17 -18
- package/vscode/src/vs/editor/browser/widget/diffEditor/utils.js +1 -1
- package/vscode/src/vs/editor/browser/widget/embeddedCodeEditorWidget.js +4 -4
- package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/renderedMarkdown.css.js +1 -1
- package/vscode/src/vs/editor/browser/widget/multiDiffEditorWidget/colors.js +2 -2
- package/vscode/src/vs/editor/browser/widget/multiDiffEditorWidget/diffEditorItemTemplate.js +43 -16
- package/vscode/src/vs/editor/browser/widget/multiDiffEditorWidget/multiDiffEditorWidget.js +3 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditorWidget/multiDiffEditorWidgetImpl.js +42 -8
- package/vscode/src/vs/editor/browser/widget/multiDiffEditorWidget/style.css.js +1 -1
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +18 -1
- package/vscode/src/vs/editor/common/config/editorOptions.js +188 -107
- package/vscode/src/vs/editor/common/config/fontInfo.js +2 -2
- package/vscode/src/vs/editor/common/cursorCommon.js +14 -14
- package/vscode/src/vs/editor/common/editorContextKeys.js +1 -1
- package/vscode/src/vs/editor/common/languageSelector.js +12 -1
- package/vscode/src/vs/editor/common/languages.d.ts +28 -1
- package/vscode/src/vs/editor/common/languages.js +6 -1
- package/vscode/src/vs/editor/common/services/languageFeatures.d.ts +3 -1
- package/vscode/src/vs/editor/common/services/languageFeaturesService.js +2 -0
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +96 -86
- package/vscode/src/vs/editor/common/standaloneStrings.js +5 -5
- package/vscode/src/vs/editor/common/viewLayout/viewLayout.js +19 -19
- package/vscode/src/vs/editor/common/viewModel/monospaceLineBreaksComputer.js +2 -2
- package/vscode/src/vs/editor/common/viewModel/viewModelImpl.js +12 -12
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +3 -3
- package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +6 -6
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +5 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionModel.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +2 -2
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorContributions.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorDetector.js +3 -3
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorHoverParticipant.js +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerWidget.js +3 -3
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions.js +2 -3
- package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +3 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +3 -3
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +1 -1
- package/vscode/src/vs/editor/contrib/find/browser/findModel.js +6 -6
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.css.js +1 -1
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +9 -62
- package/vscode/src/vs/editor/contrib/folding/browser/folding.js +3 -3
- package/vscode/src/vs/editor/contrib/format/browser/format.js +5 -5
- package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +5 -5
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/gotoError/browser/markerNavigationService.js +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +58 -84
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/clickLinkGesture.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +8 -2
- package/vscode/src/vs/editor/contrib/hover/browser/contentHover.js +1 -1
- package/vscode/src/vs/editor/contrib/hover/browser/hover.js +1 -1
- package/vscode/src/vs/editor/contrib/hover/browser/marginHover.js +1 -1
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +1 -1
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +18 -15
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsController.js +3 -3
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +1 -1
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsLocations.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/commands.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/ghostText.js +14 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/ghostTextWidget.js +10 -10
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hoverParticipant.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys.js +3 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController.js +54 -27
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsModel.js +115 -45
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsSource.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/singleTextEdit.js +6 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.js +46 -1
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/commandIds.js +5 -0
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/commands.js +145 -0
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/ghostTextWidget.js +188 -0
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/hoverParticipant.js +91 -0
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEdit.contribution.js +12 -0
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEdit.css.js +4 -0
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditController.js +309 -0
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditHintsWidget.css.js +4 -0
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditHintsWidget.js +193 -0
- package/vscode/src/vs/editor/contrib/inlineProgress/browser/inlineProgress.js +2 -2
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +1 -1
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
- package/vscode/src/vs/editor/contrib/links/browser/links.js +5 -5
- package/vscode/src/vs/editor/contrib/longLinesHelper/browser/longLinesHelper.js +1 -1
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +10 -10
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsModel.js +3 -3
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +1 -1
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +1 -1
- package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +1 -1
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +143 -9
- package/vscode/src/vs/editor/contrib/rename/browser/renameInputField.css.js +1 -1
- package/vscode/src/vs/editor/contrib/rename/browser/renameInputField.js +347 -17
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +1 -1
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.js +2 -2
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +23 -37
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +11 -10
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.js +2 -2
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +8 -8
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +4 -4
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestInlineCompletions.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestModel.js +11 -11
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +6 -6
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +3 -3
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +3 -3
- package/vscode/src/vs/editor/contrib/suggest/browser/wordContextKey.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/wordDistance.js +1 -1
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +3 -3
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +3 -3
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +4 -4
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +26 -16
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +3 -3
- package/vscode/src/vs/editor/contrib/zoneWidget/browser/zoneWidget.js +7 -3
- package/vscode/src/vs/editor/editor.api.d.ts +146 -85
- package/vscode/src/vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard.js +1 -1
- package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.js +3 -5
- package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditor.js +7 -4
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +10 -10
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.d.ts +99 -0
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +608 -0
- package/vscode/src/vs/platform/action/common/actionCommonCategories.d.ts +1 -4
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +3 -3
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +26 -41
- package/vscode/src/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem.js +6 -4
- package/vscode/src/vs/platform/actions/common/actions.d.ts +11 -0
- package/vscode/src/vs/platform/actions/common/actions.js +11 -0
- package/vscode/src/vs/platform/configuration/common/configuration.d.ts +17 -33
- package/vscode/src/vs/platform/configuration/common/configurationModels.js +42 -29
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +3 -4
- package/vscode/src/vs/platform/extensions/common/extensions.d.ts +2 -2
- package/vscode/src/vs/platform/hover/browser/hover.js +69 -1
- package/vscode/src/vs/platform/product/common/product.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +14 -20
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +11 -5
- package/vscode/src/vs/platform/quickinput/browser/quickInputList.js +22 -2
- package/vscode/src/vs/platform/quickinput/browser/quickInputService.js +9 -7
- package/vscode/src/vs/platform/remote/common/remoteAgentConnection.js +2 -5
- package/vscode/src/vs/platform/request/common/request.js +111 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/capabilities.d.ts +1 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/commandDetection/terminalCommand.js +15 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/commandDetectionCapability.js +9 -0
- package/vscode/src/vs/platform/terminal/common/terminal.d.ts +5 -3
- package/vscode/src/vs/platform/theme/common/colorRegistry.js +5 -5
- package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +6 -2
- package/vscode/src/vs/platform/window/common/window.js +4 -1
- package/vscode/src/vs/platform/workspace/common/workspace.js +2 -1
- package/vscode/src/vs/workbench/api/browser/statusBarExtensionPoint.js +2 -2
- package/vscode/src/vs/workbench/api/browser/viewsExtensionPoint.js +130 -14
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +76 -24
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +4 -1
- package/vscode/src/vs/workbench/api/common/extHostChat.js +0 -39
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +309 -137
- package/vscode/src/vs/workbench/api/common/extHostChatProvider.js +164 -49
- package/vscode/src/vs/workbench/api/common/extHostChatVariables.js +67 -7
- package/vscode/src/vs/workbench/api/common/extHostComments.js +28 -0
- package/vscode/src/vs/workbench/api/common/extHostDebugService.js +129 -48
- package/vscode/src/vs/workbench/api/common/extHostDocumentData.js +1 -2
- package/vscode/src/vs/workbench/api/common/extHostDocumentsAndEditors.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostInlineChat.js +5 -4
- package/vscode/src/vs/workbench/api/common/extHostInteractive.js +0 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +130 -16
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +12 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebookDocument.js +14 -5
- package/vscode/src/vs/workbench/api/common/extHostNotebookKernels.js +19 -1
- package/vscode/src/vs/workbench/api/common/extHostSpeech.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +301 -75
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +127 -45
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +46 -7
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +55 -2
- package/vscode/src/vs/workbench/api/worker/extensionHostWorker.js +1 -1
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +146 -99
- package/vscode/src/vs/workbench/browser/actions/listCommands.js +2 -3
- package/vscode/src/vs/workbench/browser/actions/widgetNavigationCommands.js +3 -4
- package/vscode/src/vs/workbench/browser/actions/windowActions.js +4 -8
- package/vscode/src/vs/workbench/browser/composite.d.ts +2 -1
- package/vscode/src/vs/workbench/browser/composite.js +1 -1
- package/vscode/src/vs/workbench/browser/editor.js +11 -1
- package/vscode/src/vs/workbench/browser/media/style.css.js +1 -1
- package/vscode/src/vs/workbench/browser/panecomposite.d.ts +2 -1
- package/vscode/src/vs/workbench/browser/panecomposite.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.js +4 -6
- package/vscode/src/vs/workbench/browser/parts/activitybar/media/activityaction.css.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/compositeBar.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +10 -10
- package/vscode/src/vs/workbench/browser/parts/compositePart.js +8 -5
- package/vscode/src/vs/workbench/browser/parts/editor/auxiliaryEditorPart.js +39 -29
- package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.js +20 -24
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsPicker.js +6 -4
- package/vscode/src/vs/workbench/browser/parts/editor/editor.autosave.contribution.js +2 -3
- package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution.js +52 -54
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +30 -30
- package/vscode/src/vs/workbench/browser/parts/editor/editorAutoSave.js +1 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +12 -18
- package/vscode/src/vs/workbench/browser/parts/editor/editorConfiguration.js +1 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.js +7 -6
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +17 -6
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +13 -5
- package/vscode/src/vs/workbench/browser/parts/editor/media/multieditortabscontrol.css.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.js +84 -71
- package/vscode/src/vs/workbench/browser/parts/editor/singleEditorTabsControl.js +2 -6
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +4 -1
- package/vscode/src/vs/workbench/browser/parts/editor/textResourceEditor.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +29 -29
- package/vscode/src/vs/workbench/browser/parts/media/paneCompositePart.css.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +5 -5
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/paneCompositeBar.js +1 -5
- package/vscode/src/vs/workbench/browser/parts/paneCompositePart.js +9 -6
- package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +56 -74
- package/vscode/src/vs/workbench/browser/parts/panel/panelPart.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.js +6 -9
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarPart.d.ts +9 -1
- package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +55 -12
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +9 -16
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.d.ts +2 -1
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +4 -4
- package/vscode/src/vs/workbench/browser/quickaccess.js +8 -1
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +22 -20
- package/vscode/src/vs/workbench/common/configuration.js +146 -43
- package/vscode/src/vs/workbench/common/contextkeys.js +4 -4
- package/vscode/src/vs/workbench/common/contributions.js +136 -20
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +5 -5
- package/vscode/src/vs/workbench/common/editor/editorGroupModel.js +1 -1
- package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +17 -11
- package/vscode/src/vs/workbench/common/editor/editorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +2 -2
- package/vscode/src/vs/workbench/common/editor.d.ts +4 -0
- package/vscode/src/vs/workbench/common/theme.js +11 -1
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +1064 -118
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityContributions.js +7 -7
- package/vscode/src/vs/workbench/contrib/accessibility/browser/editorAccessibilityHelp.js +5 -5
- package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/accessibilitySignal.contribution.js +306 -0
- package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/accessibilitySignalDebuggerContribution.js +46 -0
- package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/accessibilitySignalLineFeatureContribution.js +177 -0
- package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/commands.js +163 -0
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchy.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +31 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +11 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +18 -27
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +2 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatFollowups.js +34 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +8 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +142 -109
- package/vscode/src/vs/workbench/contrib/chat/browser/chatMarkdownDecorationsRenderer.js +80 -52
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSlashCommandContentWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatWidget.js +44 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.js +230 -74
- package/vscode/src/vs/workbench/contrib/chat/browser/media/chat.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +87 -29
- package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.js +19 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatProvider.js +18 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatRequestParser.js +11 -8
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/chatViewModel.js +11 -5
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActions.contribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +71 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.css.js +4 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +256 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/editorFeatures.js +3 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +8 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +11 -11
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +3 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +9 -10
- package/vscode/src/vs/workbench/contrib/comments/browser/commentFormActions.js +9 -2
- package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +27 -13
- package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +41 -23
- package/vscode/src/vs/workbench/contrib/comments/browser/commentService.js +15 -7
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadAdditionalActions.js +22 -10
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +1 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadZoneWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +2 -2
- package/vscode/src/vs/workbench/contrib/comments/browser/simpleCommentEditor.js +3 -1
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditor.contribution.js +2 -3
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInputFactory.js +1 -0
- package/vscode/src/vs/workbench/contrib/customEditor/common/extensionPoint.js +66 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +31 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +37 -7
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +118 -25
- package/vscode/src/vs/workbench/contrib/debug/browser/media/breakpointWidget.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +37 -5
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +24 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +237 -140
- package/vscode/src/vs/workbench/contrib/debug/common/debugVisualizers.js +72 -25
- package/vscode/src/vs/workbench/contrib/editSessions/common/editSessions.js +5 -8
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +29 -4
- package/vscode/src/vs/workbench/contrib/files/browser/editors/fileEditorHandler.js +1 -0
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditorTracker.js +1 -0
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +2 -1
- package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +8 -7
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.contribution.js +21 -19
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +152 -120
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands.js +24 -1
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution.js +26 -25
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +5 -5
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +51 -12
- package/vscode/src/vs/workbench/contrib/files/browser/views/media/openeditors.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +24 -9
- package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +1 -0
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +16 -22
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChat.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +48 -27
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatLivePreviewWidget.js +2 -2
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSession.js +23 -8
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.js +48 -6
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.js +145 -73
- package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +31 -9
- package/vscode/src/vs/workbench/contrib/languageStatus/browser/languageStatus.contribution.js +8 -10
- package/vscode/src/vs/workbench/contrib/list/browser/list.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/markdown/browser/markdownDocumentRenderer.js +7 -3
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/commands.js +95 -152
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/devCommands.js +16 -25
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditor.contribution.js +2 -4
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +2 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/textModelDiffs.js +19 -19
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/conflictActions.js +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/mergeEditor.js +1 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +17 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +102 -15
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js +234 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +1 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +48 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookOptions.js +52 -22
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellActionView.js +62 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +40 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.js +20 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbars.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/chat/cellChatPart.js +3 -27
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +28 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +28 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellList.js +78 -18
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellListView.js +208 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.js +85 -71
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/baseCellViewModel.js +1 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookViewModelImpl.js +1 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorStickyScroll.js +2 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorToolbar.js +82 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +0 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookOverviewRuler.js +4 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookTopCellToolbar.js +92 -33
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookViewZones.js +136 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +6 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookRange.js +5 -1
- package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +279 -0
- package/vscode/src/vs/workbench/contrib/preferences/browser/keyboardLayoutPicker.js +6 -7
- package/vscode/src/vs/workbench/contrib/preferences/browser/media/keybindings.css.js +4 -0
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +64 -0
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +507 -0
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +478 -0
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsTreeModels.js +796 -0
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +8 -10
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +14 -20
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +12 -12
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +3 -3
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +44 -54
- package/vscode/src/vs/workbench/contrib/search/common/constants.js +26 -65
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/abstractSnippetsActions.js +6 -9
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/fileTemplateSnippets.js +6 -9
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +2 -2
- package/vscode/src/vs/workbench/contrib/snippets/browser/tabCompletion.js +2 -2
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +3 -124
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +2 -2
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +2 -2
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationAddon.js +5 -5
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationStyles.js +61 -24
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.js +5 -5
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +24 -1
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalExtensionPoints.js +1 -1
- package/vscode/src/vs/workbench/contrib/testing/common/testCoverage.js +4 -4
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +10 -10
- package/vscode/src/vs/workbench/contrib/testing/common/testingContinuousRunService.js +45 -20
- package/vscode/src/vs/workbench/contrib/update/common/update.js +2 -1
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.js +3 -4
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewCommands.js +3 -3
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditorInputSerializer.js +1 -1
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewPanel.contribution.js +15 -18
- package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewPane.js +2 -5
- package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewService.js +4 -4
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedExtensionPoint.js +2 -2
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService.js +5 -5
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +193 -54
- package/vscode/src/vs/workbench/services/authentication/common/authentication.js +2 -1
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +9 -3
- package/vscode/src/vs/workbench/services/editor/browser/editorPaneService.js +10 -0
- package/vscode/src/vs/workbench/services/editor/browser/editorService.d.ts +3 -1
- package/vscode/src/vs/workbench/services/editor/browser/editorService.js +5 -0
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.d.ts +1 -6
- package/vscode/src/vs/workbench/services/editor/common/editorPaneService.js +3 -0
- package/vscode/src/vs/workbench/services/editor/common/editorService.d.ts +5 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionFeatures.js +29 -0
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +1 -1
- package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +3 -4
- package/vscode/src/vs/workbench/services/extensions/common/extensionDescriptionRegistry.js +4 -3
- package/vscode/src/vs/workbench/services/extensions/common/extensionsApiProposals.js +11 -5
- package/vscode/src/vs/workbench/services/extensions/common/workspaceContains.js +5 -5
- package/vscode/src/vs/workbench/services/history/browser/historyService.js +25 -4
- package/vscode/src/vs/workbench/services/history/common/history.d.ts +5 -0
- package/vscode/src/vs/workbench/services/language/common/languageService.js +111 -2
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.d.ts +2 -2
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.js +59 -1
- package/vscode/src/vs/workbench/services/preferences/common/preferencesModels.js +1008 -0
- package/vscode/src/vs/workbench/services/preferences/common/preferencesValidation.js +477 -0
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +2 -2
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.d.ts +4 -1
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +53 -13
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -0
- package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +2 -2
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +1 -1
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.d.ts +22 -9
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +76 -4
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +2 -2
- package/vscode/src/vs/workbench/services/themes/common/tokenClassificationExtensionPoint.js +7 -7
- package/vscode/src/vs/workbench/services/timer/browser/timerService.js +1 -0
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorHandler.js +3 -2
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorInput.js +1 -1
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +2 -2
- package/vscode/src/vs/workbench/services/views/browser/viewDescriptorService.js +6 -9
- package/vscode/src/vs/workbench/services/views/browser/viewsService.js +12 -12
- package/vscode/src/vs/workbench/services/views/common/viewContainerModel.js +6 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.d.ts +43 -4
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyFileService.d.ts +16 -7
- package/vscode/src/vs/workbench/services/workspaces/common/workspaceTrust.js +3 -6
- package/vscode-dts/vscode.proposed.activeComment.d.ts +23 -0
- package/vscode-dts/vscode.proposed.chatParticipant.d.ts +509 -0
- package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +288 -0
- package/vscode-dts/vscode.proposed.chatProvider.d.ts +10 -1
- package/vscode-dts/vscode.proposed.chatVariableResolver.d.ts +56 -0
- package/vscode-dts/vscode.proposed.codeActionRanges.d.ts +2 -4
- package/vscode-dts/{vscode.proposed.chat.d.ts → vscode.proposed.contribIssueReporter.d.ts} +2 -20
- package/vscode-dts/vscode.proposed.contribSourceControlHistoryItemGroupMenu.d.ts +2 -0
- package/vscode-dts/vscode.proposed.contribSourceControlTitleMenu.d.ts +7 -0
- package/vscode-dts/vscode.proposed.debugVisualization.d.ts +76 -6
- package/vscode-dts/vscode.proposed.defaultChatParticipant.d.ts +49 -0
- package/vscode-dts/vscode.proposed.findFiles2.d.ts +89 -0
- package/vscode-dts/vscode.proposed.inlineEdit.d.ts +86 -0
- package/vscode-dts/vscode.proposed.interactive.d.ts +6 -3
- package/vscode-dts/vscode.proposed.languageModels.d.ts +184 -0
- package/vscode-dts/vscode.proposed.newSymbolNamesProvider.d.ts +36 -0
- package/vscode-dts/vscode.proposed.notebookVariableProvider.d.ts +6 -0
- package/vscode-dts/vscode.proposed.quickPickSortByLabel.d.ts +3 -0
- package/vscode-dts/vscode.proposed.speech.d.ts +5 -1
- package/vscode-dts/vscode.proposed.testCoverage.d.ts +40 -27
- package/vscode/src/vs/platform/audioCues/browser/audioCueService.d.ts +0 -98
- package/vscode/src/vs/platform/audioCues/browser/audioCueService.js +0 -576
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +0 -348
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/chat/cellChatActions.js +0 -554
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/chat/cellChatController.js +0 -471
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/featuredExtensionService.js +0 -159
- package/vscode-dts/vscode.proposed.chatAgents2.d.ts +0 -440
- package/vscode-dts/vscode.proposed.chatAgents2Additions.d.ts +0 -139
- package/vscode-dts/vscode.proposed.chatRequestAccess.d.ts +0 -105
- package/vscode-dts/vscode.proposed.defaultChatAgent.d.ts +0 -30
|
@@ -159,6 +159,14 @@ function regExpLeadsToEndlessLoop(regexp) {
|
|
|
159
159
|
function splitLines(str) {
|
|
160
160
|
return str.split(/\r\n|\r|\n/);
|
|
161
161
|
}
|
|
162
|
+
function splitLinesIncludeSeparators(str) {
|
|
163
|
+
const linesWithSeparators = [];
|
|
164
|
+
const splitLinesAndSeparators = str.split(/(\r\n|\r|\n)/);
|
|
165
|
+
for (let i = 0; i < Math.ceil(splitLinesAndSeparators.length / 2); i++) {
|
|
166
|
+
linesWithSeparators.push(splitLinesAndSeparators[2 * i] + (splitLinesAndSeparators[2 * i + 1] ?? ''));
|
|
167
|
+
}
|
|
168
|
+
return linesWithSeparators;
|
|
169
|
+
}
|
|
162
170
|
function firstNonWhitespaceIndex(str) {
|
|
163
171
|
for (let i = 0, len = str.length; i < len; i++) {
|
|
164
172
|
const chCode = str.charCodeAt(i);
|
|
@@ -752,4 +760,4 @@ class InvisibleCharacters {
|
|
|
752
760
|
return InvisibleCharacters.getData();
|
|
753
761
|
}
|
|
754
762
|
}
|
|
755
|
-
export { AmbiguousCharacters, CodePointIterator, GraphemeIterator, InvisibleCharacters, UNUSUAL_LINE_TERMINATORS, UTF8_BOM_CHARACTER, commonPrefixLength, commonSuffixLength, compare, compareIgnoreCase, compareSubstring, compareSubstringIgnoreCase, computeCodePoint, containsRTL, containsUnusualLineTerminators, containsUppercaseCharacter, convertSimple2RegExpPattern, count, createRegExp, equalsIgnoreCase, escape, escapeRegExpCharacters, firstNonWhitespaceIndex, format, format2, fuzzyContains, getCharContainingOffset, getLeadingWhitespace, getLeftDeleteOffset, getNLines, getNextCodePoint, htmlAttributeEncodeValue, isAsciiDigit, isBasicASCII, isEmojiImprecise, isFalsyOrWhitespace, isFullWidthCharacter, isHighSurrogate, isLowSurrogate, isLowerAsciiLetter, isUpperAsciiLetter, lastNonWhitespaceIndex, lcut, ltrim, nextCharLength, noBreakWhitespace, prevCharLength, regExpLeadsToEndlessLoop, removeAnsiEscapeCodes, replaceAsync, rtrim, singleLetterHash, splitLines, startsWithIgnoreCase, startsWithUTF8BOM, stripWildcards, trim, truncate, truncateMiddle, uppercaseFirstLetter };
|
|
763
|
+
export { AmbiguousCharacters, CodePointIterator, GraphemeIterator, InvisibleCharacters, UNUSUAL_LINE_TERMINATORS, UTF8_BOM_CHARACTER, commonPrefixLength, commonSuffixLength, compare, compareIgnoreCase, compareSubstring, compareSubstringIgnoreCase, computeCodePoint, containsRTL, containsUnusualLineTerminators, containsUppercaseCharacter, convertSimple2RegExpPattern, count, createRegExp, equalsIgnoreCase, escape, escapeRegExpCharacters, firstNonWhitespaceIndex, format, format2, fuzzyContains, getCharContainingOffset, getLeadingWhitespace, getLeftDeleteOffset, getNLines, getNextCodePoint, htmlAttributeEncodeValue, isAsciiDigit, isBasicASCII, isEmojiImprecise, isFalsyOrWhitespace, isFullWidthCharacter, isHighSurrogate, isLowSurrogate, isLowerAsciiLetter, isUpperAsciiLetter, lastNonWhitespaceIndex, lcut, ltrim, nextCharLength, noBreakWhitespace, prevCharLength, regExpLeadsToEndlessLoop, removeAnsiEscapeCodes, replaceAsync, rtrim, singleLetterHash, splitLines, splitLinesIncludeSeparators, startsWithIgnoreCase, startsWithUTF8BOM, stripWildcards, trim, truncate, truncateMiddle, uppercaseFirstLetter };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { $window } from '../../../base/browser/window.js';
|
|
2
1
|
import { applyFontInfo } from './domFontInfo.js';
|
|
3
2
|
class CharWidthRequest {
|
|
4
3
|
constructor(chr, type) {
|
|
@@ -17,11 +16,11 @@ class DomCharWidthReader {
|
|
|
17
16
|
this._container = null;
|
|
18
17
|
this._testElements = null;
|
|
19
18
|
}
|
|
20
|
-
read() {
|
|
19
|
+
read(targetWindow) {
|
|
21
20
|
this._createDomElements();
|
|
22
|
-
|
|
21
|
+
targetWindow.document.body.appendChild(this._container);
|
|
23
22
|
this._readFromDomElements();
|
|
24
|
-
|
|
23
|
+
targetWindow.document.body.removeChild(this._container);
|
|
25
24
|
this._container = null;
|
|
26
25
|
this._testElements = null;
|
|
27
26
|
}
|
|
@@ -86,8 +85,8 @@ class DomCharWidthReader {
|
|
|
86
85
|
}
|
|
87
86
|
}
|
|
88
87
|
}
|
|
89
|
-
function readCharWidths(bareFontInfo, requests) {
|
|
88
|
+
function readCharWidths(targetWindow, bareFontInfo, requests) {
|
|
90
89
|
const reader = ( new DomCharWidthReader(bareFontInfo, requests));
|
|
91
|
-
reader.read();
|
|
90
|
+
reader.read(targetWindow);
|
|
92
91
|
}
|
|
93
92
|
export { CharWidthRequest, readCharWidths };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import {
|
|
2
|
+
import { isWebKit, isFirefox, isSafari, isWebkitWebView } from '../../../base/browser/browser.js';
|
|
3
3
|
import { equals } from '../../../base/common/arrays.js';
|
|
4
4
|
import { Emitter } from '../../../base/common/event.js';
|
|
5
5
|
import { Disposable } from '../../../base/common/lifecycle.js';
|
|
@@ -13,6 +13,8 @@ import { ComputeOptionsMemory, editorOptionsRegistry, ConfigurationChangedEvent
|
|
|
13
13
|
import { EditorZoom } from '../../common/config/editorZoom.js';
|
|
14
14
|
import { BareFontInfo } from '../../common/config/fontInfo.js';
|
|
15
15
|
import { IAccessibilityService } from '../../../platform/accessibility/common/accessibility.js';
|
|
16
|
+
import { getWindow, getWindowById } from '../../../base/browser/dom.js';
|
|
17
|
+
import { PixelRatio } from '../../../base/browser/pixelRatio.js';
|
|
16
18
|
let EditorConfiguration = class EditorConfiguration extends Disposable {
|
|
17
19
|
constructor(isSimpleWidget, isStandaloneEditor, options, container, _accessibilityService) {
|
|
18
20
|
super();
|
|
@@ -30,6 +32,7 @@ let EditorConfiguration = class EditorConfiguration extends Disposable {
|
|
|
30
32
|
this.isSimpleWidget = isSimpleWidget;
|
|
31
33
|
this.isStandaloneEditor = isStandaloneEditor;
|
|
32
34
|
this._containerObserver = this._register(( new ElementSizeObserver(container, options.dimension)));
|
|
35
|
+
this._targetWindowId = getWindow(container).vscodeWindowId;
|
|
33
36
|
this._rawOptions = deepCloneAndMigrateOptions(options);
|
|
34
37
|
this._validatedOptions = EditorOptionsUtil.validateOptions(this._rawOptions);
|
|
35
38
|
this.options = this._computeOptions();
|
|
@@ -40,7 +43,7 @@ let EditorConfiguration = class EditorConfiguration extends Disposable {
|
|
|
40
43
|
this._register(TabFocus.onDidChangeTabFocus(() => this._recomputeOptions()));
|
|
41
44
|
this._register(this._containerObserver.onDidChange(() => this._recomputeOptions()));
|
|
42
45
|
this._register(FontMeasurements.onDidChange(() => this._recomputeOptions()));
|
|
43
|
-
this._register(PixelRatio.onDidChange(() => this._recomputeOptions()));
|
|
46
|
+
this._register(PixelRatio.getInstance(getWindow(container)).onDidChange(() => this._recomputeOptions()));
|
|
44
47
|
this._register(this._accessibilityService.onDidChangeScreenReaderOptimized(() => this._recomputeOptions()));
|
|
45
48
|
}
|
|
46
49
|
_recomputeOptions() {
|
|
@@ -80,14 +83,14 @@ let EditorConfiguration = class EditorConfiguration extends Disposable {
|
|
|
80
83
|
outerWidth: this._containerObserver.getWidth(),
|
|
81
84
|
outerHeight: this._containerObserver.getHeight(),
|
|
82
85
|
emptySelectionClipboard: isWebKit || isFirefox,
|
|
83
|
-
pixelRatio: PixelRatio.value,
|
|
86
|
+
pixelRatio: PixelRatio.getInstance(getWindowById(this._targetWindowId, true).window).value,
|
|
84
87
|
accessibilitySupport: (this._accessibilityService.isScreenReaderOptimized()
|
|
85
88
|
? 2
|
|
86
89
|
: this._accessibilityService.getAccessibilitySupport())
|
|
87
90
|
};
|
|
88
91
|
}
|
|
89
92
|
_readFontInfo(bareFontInfo) {
|
|
90
|
-
return FontMeasurements.readFontInfo(bareFontInfo);
|
|
93
|
+
return FontMeasurements.readFontInfo(getWindowById(this._targetWindowId, true).window, bareFontInfo);
|
|
91
94
|
}
|
|
92
95
|
getRawOptions() {
|
|
93
96
|
return this._rawOptions;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { getWindowId } from '../../../base/browser/dom.js';
|
|
2
|
+
import { PixelRatio } from '../../../base/browser/pixelRatio.js';
|
|
3
3
|
import { Emitter } from '../../../base/common/event.js';
|
|
4
4
|
import { Disposable } from '../../../base/common/lifecycle.js';
|
|
5
5
|
import { readCharWidths, CharWidthRequest } from './charWidthReader.js';
|
|
@@ -7,11 +7,11 @@ import { EditorFontLigatures } from '../../common/config/editorOptions.js';
|
|
|
7
7
|
import { SERIALIZED_FONT_INFO_VERSION, FontInfo } from '../../common/config/fontInfo.js';
|
|
8
8
|
class FontMeasurementsImpl extends Disposable {
|
|
9
9
|
constructor() {
|
|
10
|
-
super();
|
|
10
|
+
super(...arguments);
|
|
11
|
+
this._cache = ( new Map());
|
|
12
|
+
this._evictUntrustedReadingsTimeout = -1;
|
|
11
13
|
this._onDidChange = this._register(( new Emitter()));
|
|
12
14
|
this.onDidChange = this._onDidChange.event;
|
|
13
|
-
this._cache = ( new FontMeasurementsCache());
|
|
14
|
-
this._evictUntrustedReadingsTimeout = -1;
|
|
15
15
|
}
|
|
16
16
|
dispose() {
|
|
17
17
|
if (this._evictUntrustedReadingsTimeout !== -1) {
|
|
@@ -21,49 +21,62 @@ class FontMeasurementsImpl extends Disposable {
|
|
|
21
21
|
super.dispose();
|
|
22
22
|
}
|
|
23
23
|
clearAllFontInfos() {
|
|
24
|
-
this._cache
|
|
24
|
+
this._cache.clear();
|
|
25
25
|
this._onDidChange.fire();
|
|
26
26
|
}
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
_ensureCache(targetWindow) {
|
|
28
|
+
const windowId = getWindowId(targetWindow);
|
|
29
|
+
let cache = this._cache.get(windowId);
|
|
30
|
+
if (!cache) {
|
|
31
|
+
cache = ( new FontMeasurementsCache());
|
|
32
|
+
this._cache.set(windowId, cache);
|
|
33
|
+
}
|
|
34
|
+
return cache;
|
|
35
|
+
}
|
|
36
|
+
_writeToCache(targetWindow, item, value) {
|
|
37
|
+
const cache = this._ensureCache(targetWindow);
|
|
38
|
+
cache.put(item, value);
|
|
29
39
|
if (!value.isTrusted && this._evictUntrustedReadingsTimeout === -1) {
|
|
30
|
-
this._evictUntrustedReadingsTimeout =
|
|
40
|
+
this._evictUntrustedReadingsTimeout = targetWindow.setTimeout(() => {
|
|
31
41
|
this._evictUntrustedReadingsTimeout = -1;
|
|
32
|
-
this._evictUntrustedReadings();
|
|
42
|
+
this._evictUntrustedReadings(targetWindow);
|
|
33
43
|
}, 5000);
|
|
34
44
|
}
|
|
35
45
|
}
|
|
36
|
-
_evictUntrustedReadings() {
|
|
37
|
-
const
|
|
46
|
+
_evictUntrustedReadings(targetWindow) {
|
|
47
|
+
const cache = this._ensureCache(targetWindow);
|
|
48
|
+
const values = cache.getValues();
|
|
38
49
|
let somethingRemoved = false;
|
|
39
50
|
for (const item of values) {
|
|
40
51
|
if (!item.isTrusted) {
|
|
41
52
|
somethingRemoved = true;
|
|
42
|
-
|
|
53
|
+
cache.remove(item);
|
|
43
54
|
}
|
|
44
55
|
}
|
|
45
56
|
if (somethingRemoved) {
|
|
46
57
|
this._onDidChange.fire();
|
|
47
58
|
}
|
|
48
59
|
}
|
|
49
|
-
serializeFontInfo() {
|
|
50
|
-
|
|
60
|
+
serializeFontInfo(targetWindow) {
|
|
61
|
+
const cache = this._ensureCache(targetWindow);
|
|
62
|
+
return cache.getValues().filter(item => item.isTrusted);
|
|
51
63
|
}
|
|
52
|
-
restoreFontInfo(savedFontInfos) {
|
|
64
|
+
restoreFontInfo(targetWindow, savedFontInfos) {
|
|
53
65
|
for (const savedFontInfo of savedFontInfos) {
|
|
54
66
|
if (savedFontInfo.version !== SERIALIZED_FONT_INFO_VERSION) {
|
|
55
67
|
continue;
|
|
56
68
|
}
|
|
57
69
|
const fontInfo = ( new FontInfo(savedFontInfo, false));
|
|
58
|
-
this._writeToCache(fontInfo, fontInfo);
|
|
70
|
+
this._writeToCache(targetWindow, fontInfo, fontInfo);
|
|
59
71
|
}
|
|
60
72
|
}
|
|
61
|
-
readFontInfo(bareFontInfo) {
|
|
62
|
-
|
|
63
|
-
|
|
73
|
+
readFontInfo(targetWindow, bareFontInfo) {
|
|
74
|
+
const cache = this._ensureCache(targetWindow);
|
|
75
|
+
if (!( cache.has(bareFontInfo))) {
|
|
76
|
+
let readConfig = this._actualReadFontInfo(targetWindow, bareFontInfo);
|
|
64
77
|
if (readConfig.typicalHalfwidthCharacterWidth <= 2 || readConfig.typicalFullwidthCharacterWidth <= 2 || readConfig.spaceWidth <= 2 || readConfig.maxDigitWidth <= 2) {
|
|
65
78
|
readConfig = ( new FontInfo({
|
|
66
|
-
pixelRatio: PixelRatio.value,
|
|
79
|
+
pixelRatio: PixelRatio.getInstance(targetWindow).value,
|
|
67
80
|
fontFamily: readConfig.fontFamily,
|
|
68
81
|
fontWeight: readConfig.fontWeight,
|
|
69
82
|
fontSize: readConfig.fontSize,
|
|
@@ -81,9 +94,9 @@ class FontMeasurementsImpl extends Disposable {
|
|
|
81
94
|
maxDigitWidth: Math.max(readConfig.maxDigitWidth, 5),
|
|
82
95
|
}, false));
|
|
83
96
|
}
|
|
84
|
-
this._writeToCache(bareFontInfo, readConfig);
|
|
97
|
+
this._writeToCache(targetWindow, bareFontInfo, readConfig);
|
|
85
98
|
}
|
|
86
|
-
return
|
|
99
|
+
return cache.get(bareFontInfo);
|
|
87
100
|
}
|
|
88
101
|
_createRequest(chr, type, all, monospace) {
|
|
89
102
|
const result = ( new CharWidthRequest(chr, type));
|
|
@@ -91,7 +104,7 @@ class FontMeasurementsImpl extends Disposable {
|
|
|
91
104
|
monospace?.push(result);
|
|
92
105
|
return result;
|
|
93
106
|
}
|
|
94
|
-
_actualReadFontInfo(bareFontInfo) {
|
|
107
|
+
_actualReadFontInfo(targetWindow, bareFontInfo) {
|
|
95
108
|
const all = [];
|
|
96
109
|
const monospace = [];
|
|
97
110
|
const typicalHalfwidthCharacter = this._createRequest('n', 0 , all, monospace);
|
|
@@ -117,7 +130,7 @@ class FontMeasurementsImpl extends Disposable {
|
|
|
117
130
|
this._createRequest(monospaceTestChars.charAt(i), 1 , all, monospace);
|
|
118
131
|
this._createRequest(monospaceTestChars.charAt(i), 2 , all, monospace);
|
|
119
132
|
}
|
|
120
|
-
readCharWidths(bareFontInfo, all);
|
|
133
|
+
readCharWidths(targetWindow, bareFontInfo, all);
|
|
121
134
|
const maxDigitWidth = Math.max(digit0.width, digit1.width, digit2.width, digit3.width, digit4.width, digit5.width, digit6.width, digit7.width, digit8.width, digit9.width);
|
|
122
135
|
let isMonospace = (bareFontInfo.fontFeatureSettings === EditorFontLigatures.OFF);
|
|
123
136
|
const referenceWidth = monospace[0].width;
|
|
@@ -136,7 +149,7 @@ class FontMeasurementsImpl extends Disposable {
|
|
|
136
149
|
canUseHalfwidthRightwardsArrow = false;
|
|
137
150
|
}
|
|
138
151
|
return ( new FontInfo({
|
|
139
|
-
pixelRatio: PixelRatio.value,
|
|
152
|
+
pixelRatio: PixelRatio.getInstance(targetWindow).value,
|
|
140
153
|
fontFamily: bareFontInfo.fontFamily,
|
|
141
154
|
fontWeight: bareFontInfo.fontWeight,
|
|
142
155
|
fontSize: bareFontInfo.fontSize,
|
|
@@ -26,7 +26,7 @@ class MouseHandler extends ViewEventHandler {
|
|
|
26
26
|
(e) => this._getMouseColumn(e)
|
|
27
27
|
)));
|
|
28
28
|
this.lastMouseLeaveTime = -1;
|
|
29
|
-
this._height = this._context.configuration.options.get(
|
|
29
|
+
this._height = this._context.configuration.options.get(144 ).height;
|
|
30
30
|
const mouseEvents = ( new EditorMouseEventFactory(this.viewHelper.viewDomNode));
|
|
31
31
|
this._register(mouseEvents.onContextMenu(this.viewHelper.viewDomNode, (e) => this._onContextMenu(e, true)));
|
|
32
32
|
this._register(mouseEvents.onMouseMove(this.viewHelper.viewDomNode, (e) => {
|
|
@@ -60,7 +60,7 @@ class MouseHandler extends ViewEventHandler {
|
|
|
60
60
|
let gestureAccumulatedDelta = 0;
|
|
61
61
|
const onMouseWheel = (browserEvent) => {
|
|
62
62
|
this.viewController.emitMouseWheel(browserEvent);
|
|
63
|
-
if (!this._context.configuration.options.get(
|
|
63
|
+
if (!this._context.configuration.options.get(76 )) {
|
|
64
64
|
return;
|
|
65
65
|
}
|
|
66
66
|
const e = ( new StandardWheelEvent(browserEvent));
|
|
@@ -105,8 +105,8 @@ class MouseHandler extends ViewEventHandler {
|
|
|
105
105
|
super.dispose();
|
|
106
106
|
}
|
|
107
107
|
onConfigurationChanged(e) {
|
|
108
|
-
if (e.hasChanged(
|
|
109
|
-
const height = this._context.configuration.options.get(
|
|
108
|
+
if (e.hasChanged(144 )) {
|
|
109
|
+
const height = this._context.configuration.options.get(144 ).height;
|
|
110
110
|
if (this._height !== height) {
|
|
111
111
|
this._height = height;
|
|
112
112
|
this._mouseDownOperation.onHeightChanged();
|
|
@@ -189,7 +189,7 @@ class MouseHandler extends ViewEventHandler {
|
|
|
189
189
|
const targetIsContent = ((t.type === 6 || t.type === 7) );
|
|
190
190
|
const targetIsGutter = ((t.type === 2 || t.type === 3 || t.type === 4) );
|
|
191
191
|
const targetIsLineNumbers = ((t.type === 3) );
|
|
192
|
-
const selectOnLineNumbers = this._context.configuration.options.get(
|
|
192
|
+
const selectOnLineNumbers = this._context.configuration.options.get(109 );
|
|
193
193
|
const targetIsViewZone = ((t.type === 8 || t.type === 5) );
|
|
194
194
|
const targetIsWidget = ((t.type === 9) );
|
|
195
195
|
let shouldHandle = e.leftButton || e.middleButton;
|
|
@@ -290,7 +290,7 @@ class MouseDownOperation extends Disposable {
|
|
|
290
290
|
this._mouseState.trySetCount(e.detail, position.position);
|
|
291
291
|
e.detail = this._mouseState.count;
|
|
292
292
|
const options = this._context.configuration.options;
|
|
293
|
-
if (!options.get(
|
|
293
|
+
if (!options.get(91 )
|
|
294
294
|
&& options.get(35 )
|
|
295
295
|
&& !options.get(22 )
|
|
296
296
|
&& !this._mouseState.altKey
|
|
@@ -497,8 +497,8 @@ class TopBottomDragScrollingOperation extends Disposable {
|
|
|
497
497
|
return elapsed;
|
|
498
498
|
}
|
|
499
499
|
_getScrollSpeed() {
|
|
500
|
-
const lineHeight = this._context.configuration.options.get(
|
|
501
|
-
const viewportInLines = this._context.configuration.options.get(
|
|
500
|
+
const lineHeight = this._context.configuration.options.get(67 );
|
|
501
|
+
const viewportInLines = this._context.configuration.options.get(144 ).height / lineHeight;
|
|
502
502
|
const outsideDistanceInLines = this._position.outsideDistance / lineHeight;
|
|
503
503
|
if (outsideDistanceInLines <= 1.5) {
|
|
504
504
|
return Math.max(30, viewportInLines * (1 + outsideDistanceInLines));
|
|
@@ -509,7 +509,7 @@ class TopBottomDragScrollingOperation extends Disposable {
|
|
|
509
509
|
return Math.max(200, viewportInLines * (7 + outsideDistanceInLines));
|
|
510
510
|
}
|
|
511
511
|
_execute() {
|
|
512
|
-
const lineHeight = this._context.configuration.options.get(
|
|
512
|
+
const lineHeight = this._context.configuration.options.get(67 );
|
|
513
513
|
const scrollSpeedInLines = this._getScrollSpeed();
|
|
514
514
|
const elapsed = this._tick();
|
|
515
515
|
const scrollInPixels = scrollSpeedInLines * (elapsed / 1000) * lineHeight;
|
|
@@ -521,7 +521,7 @@ class TopBottomDragScrollingOperation extends Disposable {
|
|
|
521
521
|
let mouseTarget;
|
|
522
522
|
{
|
|
523
523
|
const editorPos = createEditorPagePosition(this._viewHelper.viewDomNode);
|
|
524
|
-
const horizontalScrollbarHeight = this._context.configuration.options.get(
|
|
524
|
+
const horizontalScrollbarHeight = this._context.configuration.options.get(144 ).horizontalScrollbarHeight;
|
|
525
525
|
const pos = ( new PageCoordinates(
|
|
526
526
|
this._mouseEvent.pos.x,
|
|
527
527
|
editorPos.y + editorPos.height - horizontalScrollbarHeight - 0.1
|
|
@@ -160,10 +160,10 @@ class HitTestContext {
|
|
|
160
160
|
constructor(context, viewHelper, lastRenderData) {
|
|
161
161
|
this.viewModel = context.viewModel;
|
|
162
162
|
const options = context.configuration.options;
|
|
163
|
-
this.layoutInfo = options.get(
|
|
163
|
+
this.layoutInfo = options.get(144 );
|
|
164
164
|
this.viewDomNode = viewHelper.viewDomNode;
|
|
165
|
-
this.lineHeight = options.get(
|
|
166
|
-
this.stickyTabStops = options.get(
|
|
165
|
+
this.lineHeight = options.get(67 );
|
|
166
|
+
this.stickyTabStops = options.get(116 );
|
|
167
167
|
this.typicalHalfwidthCharacterWidth = options.get(50 ).typicalHalfwidthCharacterWidth;
|
|
168
168
|
this.lastRenderData = lastRenderData;
|
|
169
169
|
this._context = context;
|
|
@@ -571,7 +571,7 @@ class MouseTargetFactory {
|
|
|
571
571
|
}
|
|
572
572
|
getMouseColumn(relativePos) {
|
|
573
573
|
const options = this._context.configuration.options;
|
|
574
|
-
const layoutInfo = options.get(
|
|
574
|
+
const layoutInfo = options.get(144 );
|
|
575
575
|
const mouseContentHorizontalOffset = this._context.viewLayout.getCurrentScrollLeft() + relativePos.x - layoutInfo.contentLeft;
|
|
576
576
|
return MouseTargetFactory._getMouseColumn(mouseContentHorizontalOffset, options.get(50 ).typicalHalfwidthCharacterWidth);
|
|
577
577
|
}
|
|
@@ -84,13 +84,13 @@ let TextAreaHandler = class TextAreaHandler extends ViewPart {
|
|
|
84
84
|
this._scrollLeft = 0;
|
|
85
85
|
this._scrollTop = 0;
|
|
86
86
|
const options = this._context.configuration.options;
|
|
87
|
-
const layoutInfo = options.get(
|
|
87
|
+
const layoutInfo = options.get(144 );
|
|
88
88
|
this._setAccessibilityOptions(options);
|
|
89
89
|
this._contentLeft = layoutInfo.contentLeft;
|
|
90
90
|
this._contentWidth = layoutInfo.contentWidth;
|
|
91
91
|
this._contentHeight = layoutInfo.height;
|
|
92
92
|
this._fontInfo = options.get(50 );
|
|
93
|
-
this._lineHeight = options.get(
|
|
93
|
+
this._lineHeight = options.get(67 );
|
|
94
94
|
this._emptySelectionClipboard = options.get(37 );
|
|
95
95
|
this._copyWithSyntaxHighlighting = options.get(25 );
|
|
96
96
|
this._visibleTextArea = null;
|
|
@@ -109,11 +109,11 @@ let TextAreaHandler = class TextAreaHandler extends ViewPart {
|
|
|
109
109
|
this.textArea.setAttribute('spellcheck', 'false');
|
|
110
110
|
this.textArea.setAttribute('aria-label', this._getAriaLabel(options));
|
|
111
111
|
this.textArea.setAttribute('aria-required', options.get(5 ) ? 'true' : 'false');
|
|
112
|
-
this.textArea.setAttribute('tabindex', String(options.get(
|
|
112
|
+
this.textArea.setAttribute('tabindex', String(options.get(124 )));
|
|
113
113
|
this.textArea.setAttribute('role', 'textbox');
|
|
114
114
|
this.textArea.setAttribute('aria-roledescription', ( localizeWithPath('vs/editor/browser/controller/textAreaHandler', 'editor', "editor")));
|
|
115
115
|
this.textArea.setAttribute('aria-multiline', 'true');
|
|
116
|
-
this.textArea.setAttribute('aria-autocomplete', options.get(
|
|
116
|
+
this.textArea.setAttribute('aria-autocomplete', options.get(91 ) ? 'none' : 'both');
|
|
117
117
|
this._ensureReadOnlyAttribute();
|
|
118
118
|
this.textAreaCover = createFastDomNode(document.createElement('div'));
|
|
119
119
|
this.textAreaCover.setPosition('absolute');
|
|
@@ -365,7 +365,7 @@ let TextAreaHandler = class TextAreaHandler extends ViewPart {
|
|
|
365
365
|
}
|
|
366
366
|
_getWordBeforePosition(position) {
|
|
367
367
|
const lineContent = this._context.viewModel.getLineContent(position.lineNumber);
|
|
368
|
-
const wordSeparators = getMapForWordSeparators(this._context.configuration.options.get(
|
|
368
|
+
const wordSeparators = getMapForWordSeparators(this._context.configuration.options.get(130 ));
|
|
369
369
|
let column = position.column;
|
|
370
370
|
let distance = 0;
|
|
371
371
|
while (column > 1) {
|
|
@@ -442,7 +442,7 @@ let TextAreaHandler = class TextAreaHandler extends ViewPart {
|
|
|
442
442
|
else {
|
|
443
443
|
this._accessibilityPageSize = accessibilityPageSize;
|
|
444
444
|
}
|
|
445
|
-
const layoutInfo = options.get(
|
|
445
|
+
const layoutInfo = options.get(144 );
|
|
446
446
|
const wrappingColumn = layoutInfo.wrappingColumn;
|
|
447
447
|
if (wrappingColumn !== -1 && this._accessibilitySupport !== 1 ) {
|
|
448
448
|
const fontInfo = options.get(50 );
|
|
@@ -456,13 +456,13 @@ let TextAreaHandler = class TextAreaHandler extends ViewPart {
|
|
|
456
456
|
}
|
|
457
457
|
onConfigurationChanged(e) {
|
|
458
458
|
const options = this._context.configuration.options;
|
|
459
|
-
const layoutInfo = options.get(
|
|
459
|
+
const layoutInfo = options.get(144 );
|
|
460
460
|
this._setAccessibilityOptions(options);
|
|
461
461
|
this._contentLeft = layoutInfo.contentLeft;
|
|
462
462
|
this._contentWidth = layoutInfo.contentWidth;
|
|
463
463
|
this._contentHeight = layoutInfo.height;
|
|
464
464
|
this._fontInfo = options.get(50 );
|
|
465
|
-
this._lineHeight = options.get(
|
|
465
|
+
this._lineHeight = options.get(67 );
|
|
466
466
|
this._emptySelectionClipboard = options.get(37 );
|
|
467
467
|
this._copyWithSyntaxHighlighting = options.get(25 );
|
|
468
468
|
this.textArea.setAttribute('wrap', this._textAreaWrapping && !this._visibleTextArea ? 'on' : 'off');
|
|
@@ -470,8 +470,8 @@ let TextAreaHandler = class TextAreaHandler extends ViewPart {
|
|
|
470
470
|
this.textArea.domNode.style.tabSize = `${tabSize * this._fontInfo.spaceWidth}px`;
|
|
471
471
|
this.textArea.setAttribute('aria-label', this._getAriaLabel(options));
|
|
472
472
|
this.textArea.setAttribute('aria-required', options.get(5 ) ? 'true' : 'false');
|
|
473
|
-
this.textArea.setAttribute('tabindex', String(options.get(
|
|
474
|
-
if (e.hasChanged(34 ) || e.hasChanged(
|
|
473
|
+
this.textArea.setAttribute('tabindex', String(options.get(124 )));
|
|
474
|
+
if (e.hasChanged(34 ) || e.hasChanged(91 )) {
|
|
475
475
|
this._ensureReadOnlyAttribute();
|
|
476
476
|
}
|
|
477
477
|
if (e.hasChanged(2 )) {
|
|
@@ -537,7 +537,7 @@ let TextAreaHandler = class TextAreaHandler extends ViewPart {
|
|
|
537
537
|
}
|
|
538
538
|
_ensureReadOnlyAttribute() {
|
|
539
539
|
const options = this._context.configuration.options;
|
|
540
|
-
const useReadOnly = !IME.enabled || (options.get(34 ) && options.get(
|
|
540
|
+
const useReadOnly = !IME.enabled || (options.get(34 ) && options.get(91 ));
|
|
541
541
|
if (useReadOnly) {
|
|
542
542
|
this.textArea.setAttribute('readonly', 'true');
|
|
543
543
|
}
|
|
@@ -681,7 +681,7 @@ let TextAreaHandler = class TextAreaHandler extends ViewPart {
|
|
|
681
681
|
tac.setClassName('monaco-editor-background textAreaCover ' + Margin.OUTER_CLASS_NAME);
|
|
682
682
|
}
|
|
683
683
|
else {
|
|
684
|
-
if (options.get(
|
|
684
|
+
if (options.get(68 ).renderType !== 0 ) {
|
|
685
685
|
tac.setClassName('monaco-editor-background textAreaCover ' + LineNumbersOverlay.CLASS_NAME);
|
|
686
686
|
}
|
|
687
687
|
else {
|
|
@@ -1647,7 +1647,7 @@ var CoreEditingCommands;
|
|
|
1647
1647
|
activeElement.ownerDocument.execCommand('undo');
|
|
1648
1648
|
}
|
|
1649
1649
|
runEditorCommand(accessor, editor, args) {
|
|
1650
|
-
if (!editor.hasModel() || editor.getOption(
|
|
1650
|
+
if (!editor.hasModel() || editor.getOption(91 ) === true) {
|
|
1651
1651
|
return;
|
|
1652
1652
|
}
|
|
1653
1653
|
return editor.getModel().undo();
|
|
@@ -1661,7 +1661,7 @@ var CoreEditingCommands;
|
|
|
1661
1661
|
activeElement.ownerDocument.execCommand('redo');
|
|
1662
1662
|
}
|
|
1663
1663
|
runEditorCommand(accessor, editor, args) {
|
|
1664
|
-
if (!editor.hasModel() || editor.getOption(
|
|
1664
|
+
if (!editor.hasModel() || editor.getOption(91 ) === true) {
|
|
1665
1665
|
return;
|
|
1666
1666
|
}
|
|
1667
1667
|
return editor.getModel().redo();
|
|
@@ -40,7 +40,7 @@ class ViewController {
|
|
|
40
40
|
return viewPosition;
|
|
41
41
|
}
|
|
42
42
|
_hasMulticursorModifier(data) {
|
|
43
|
-
switch (this.configuration.options.get(
|
|
43
|
+
switch (this.configuration.options.get(78 )) {
|
|
44
44
|
case 'altKey':
|
|
45
45
|
return data.altKey;
|
|
46
46
|
case 'ctrlKey':
|
|
@@ -52,7 +52,7 @@ class ViewController {
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
_hasNonMulticursorModifier(data) {
|
|
55
|
-
switch (this.configuration.options.get(
|
|
55
|
+
switch (this.configuration.options.get(78 )) {
|
|
56
56
|
case 'altKey':
|
|
57
57
|
return data.ctrlKey || data.metaKey;
|
|
58
58
|
case 'ctrlKey':
|
|
@@ -65,7 +65,7 @@ class ViewController {
|
|
|
65
65
|
}
|
|
66
66
|
dispatchMouse(data) {
|
|
67
67
|
const options = this.configuration.options;
|
|
68
|
-
const selectionClipboardIsOn = (isLinux && options.get(
|
|
68
|
+
const selectionClipboardIsOn = (isLinux && options.get(107 ));
|
|
69
69
|
const columnSelection = options.get(22 );
|
|
70
70
|
if (data.middleButton && !selectionClipboardIsOn) {
|
|
71
71
|
this._columnSelect(data.position, data.mouseColumn, data.inSelectionMode);
|
|
@@ -100,7 +100,7 @@ class ViewOverlays extends ViewPart {
|
|
|
100
100
|
class ViewOverlayLine {
|
|
101
101
|
constructor(configuration, dynamicOverlays) {
|
|
102
102
|
this._configuration = configuration;
|
|
103
|
-
this._lineHeight = this._configuration.options.get(
|
|
103
|
+
this._lineHeight = this._configuration.options.get(67 );
|
|
104
104
|
this._dynamicOverlays = dynamicOverlays;
|
|
105
105
|
this._domNode = null;
|
|
106
106
|
this._renderedContent = null;
|
|
@@ -119,7 +119,7 @@ class ViewOverlayLine {
|
|
|
119
119
|
onTokensChanged() {
|
|
120
120
|
}
|
|
121
121
|
onConfigurationChanged(e) {
|
|
122
|
-
this._lineHeight = this._configuration.options.get(
|
|
122
|
+
this._lineHeight = this._configuration.options.get(67 );
|
|
123
123
|
}
|
|
124
124
|
renderLine(lineNumber, deltaTop, viewportData, sb) {
|
|
125
125
|
let result = '';
|
|
@@ -151,13 +151,13 @@ class ContentViewOverlays extends ViewOverlays {
|
|
|
151
151
|
constructor(context) {
|
|
152
152
|
super(context);
|
|
153
153
|
const options = this._context.configuration.options;
|
|
154
|
-
const layoutInfo = options.get(
|
|
154
|
+
const layoutInfo = options.get(144 );
|
|
155
155
|
this._contentWidth = layoutInfo.contentWidth;
|
|
156
156
|
this.domNode.setHeight(0);
|
|
157
157
|
}
|
|
158
158
|
onConfigurationChanged(e) {
|
|
159
159
|
const options = this._context.configuration.options;
|
|
160
|
-
const layoutInfo = options.get(
|
|
160
|
+
const layoutInfo = options.get(144 );
|
|
161
161
|
this._contentWidth = layoutInfo.contentWidth;
|
|
162
162
|
return super.onConfigurationChanged(e) || true;
|
|
163
163
|
}
|
|
@@ -173,7 +173,7 @@ class MarginViewOverlays extends ViewOverlays {
|
|
|
173
173
|
constructor(context) {
|
|
174
174
|
super(context);
|
|
175
175
|
const options = this._context.configuration.options;
|
|
176
|
-
const layoutInfo = options.get(
|
|
176
|
+
const layoutInfo = options.get(144 );
|
|
177
177
|
this._contentLeft = layoutInfo.contentLeft;
|
|
178
178
|
this.domNode.setClassName('margin-view-overlays');
|
|
179
179
|
this.domNode.setWidth(1);
|
|
@@ -182,7 +182,7 @@ class MarginViewOverlays extends ViewOverlays {
|
|
|
182
182
|
onConfigurationChanged(e) {
|
|
183
183
|
const options = this._context.configuration.options;
|
|
184
184
|
applyFontInfo(this.domNode, options.get(50 ));
|
|
185
|
-
const layoutInfo = options.get(
|
|
185
|
+
const layoutInfo = options.get(144 );
|
|
186
186
|
this._contentLeft = layoutInfo.contentLeft;
|
|
187
187
|
return super.onConfigurationChanged(e) || true;
|
|
188
188
|
}
|
|
@@ -211,7 +211,7 @@ let View = class View extends ViewEventHandler {
|
|
|
211
211
|
}
|
|
212
212
|
_applyLayout() {
|
|
213
213
|
const options = this._context.configuration.options;
|
|
214
|
-
const layoutInfo = options.get(
|
|
214
|
+
const layoutInfo = options.get(144 );
|
|
215
215
|
this.domNode.setWidth(layoutInfo.width);
|
|
216
216
|
this.domNode.setHeight(layoutInfo.height);
|
|
217
217
|
this._overflowGuardContainer.setWidth(layoutInfo.width);
|
|
@@ -221,7 +221,7 @@ let View = class View extends ViewEventHandler {
|
|
|
221
221
|
}
|
|
222
222
|
_getEditorClassName() {
|
|
223
223
|
const focused = this._textAreaHandler.isFocused() ? ' focused' : '';
|
|
224
|
-
return this._context.configuration.options.get(
|
|
224
|
+
return this._context.configuration.options.get(141 ) + ' ' + getThemeTypeSelector(this._context.theme.type) + focused;
|
|
225
225
|
}
|
|
226
226
|
handleEvents(events) {
|
|
227
227
|
super.handleEvents(events);
|
|
@@ -16,7 +16,7 @@ class BlockDecorations extends ViewPart {
|
|
|
16
16
|
update() {
|
|
17
17
|
let didChange = false;
|
|
18
18
|
const options = this._context.configuration.options;
|
|
19
|
-
const layoutInfo = options.get(
|
|
19
|
+
const layoutInfo = options.get(144 );
|
|
20
20
|
const newContentWidth = layoutInfo.contentWidth - layoutInfo.verticalScrollbarWidth;
|
|
21
21
|
if (this.contentWidth !== newContentWidth) {
|
|
22
22
|
this.contentWidth = newContentWidth;
|
|
@@ -124,11 +124,11 @@ class Widget {
|
|
|
124
124
|
this.allowEditorOverflow = this._actual.allowEditorOverflow || false;
|
|
125
125
|
this.suppressMouseDown = this._actual.suppressMouseDown || false;
|
|
126
126
|
const options = this._context.configuration.options;
|
|
127
|
-
const layoutInfo = options.get(
|
|
127
|
+
const layoutInfo = options.get(144 );
|
|
128
128
|
this._fixedOverflowWidgets = options.get(42 );
|
|
129
129
|
this._contentWidth = layoutInfo.contentWidth;
|
|
130
130
|
this._contentLeft = layoutInfo.contentLeft;
|
|
131
|
-
this._lineHeight = options.get(
|
|
131
|
+
this._lineHeight = options.get(67 );
|
|
132
132
|
this._affinity = null;
|
|
133
133
|
this._preference = [];
|
|
134
134
|
this._cachedDomNodeOffsetWidth = -1;
|
|
@@ -144,9 +144,9 @@ class Widget {
|
|
|
144
144
|
}
|
|
145
145
|
onConfigurationChanged(e) {
|
|
146
146
|
const options = this._context.configuration.options;
|
|
147
|
-
this._lineHeight = options.get(
|
|
148
|
-
if (e.hasChanged(
|
|
149
|
-
const layoutInfo = options.get(
|
|
147
|
+
this._lineHeight = options.get(67 );
|
|
148
|
+
if (e.hasChanged(144 )) {
|
|
149
|
+
const layoutInfo = options.get(144 );
|
|
150
150
|
this._contentLeft = layoutInfo.contentLeft;
|
|
151
151
|
this._contentWidth = layoutInfo.contentWidth;
|
|
152
152
|
this._maxWidth = this._getMaxWidth();
|
|
@@ -11,10 +11,10 @@ class AbstractLineHighlightOverlay extends DynamicViewOverlay {
|
|
|
11
11
|
super();
|
|
12
12
|
this._context = context;
|
|
13
13
|
const options = this._context.configuration.options;
|
|
14
|
-
const layoutInfo = options.get(
|
|
15
|
-
this._lineHeight = options.get(
|
|
16
|
-
this._renderLineHighlight = options.get(
|
|
17
|
-
this._renderLineHighlightOnlyWhenFocus = options.get(
|
|
14
|
+
const layoutInfo = options.get(144 );
|
|
15
|
+
this._lineHeight = options.get(67 );
|
|
16
|
+
this._renderLineHighlight = options.get(96 );
|
|
17
|
+
this._renderLineHighlightOnlyWhenFocus = options.get(97 );
|
|
18
18
|
this._wordWrap = layoutInfo.isViewportWrapping;
|
|
19
19
|
this._contentLeft = layoutInfo.contentLeft;
|
|
20
20
|
this._contentWidth = layoutInfo.contentWidth;
|
|
@@ -53,10 +53,10 @@ class AbstractLineHighlightOverlay extends DynamicViewOverlay {
|
|
|
53
53
|
}
|
|
54
54
|
onConfigurationChanged(e) {
|
|
55
55
|
const options = this._context.configuration.options;
|
|
56
|
-
const layoutInfo = options.get(
|
|
57
|
-
this._lineHeight = options.get(
|
|
58
|
-
this._renderLineHighlight = options.get(
|
|
59
|
-
this._renderLineHighlightOnlyWhenFocus = options.get(
|
|
56
|
+
const layoutInfo = options.get(144 );
|
|
57
|
+
this._lineHeight = options.get(67 );
|
|
58
|
+
this._renderLineHighlight = options.get(96 );
|
|
59
|
+
this._renderLineHighlightOnlyWhenFocus = options.get(97 );
|
|
60
60
|
this._wordWrap = layoutInfo.isViewportWrapping;
|
|
61
61
|
this._contentLeft = layoutInfo.contentLeft;
|
|
62
62
|
this._contentWidth = layoutInfo.contentWidth;
|
|
@@ -7,7 +7,7 @@ class DecorationsOverlay extends DynamicViewOverlay {
|
|
|
7
7
|
super();
|
|
8
8
|
this._context = context;
|
|
9
9
|
const options = this._context.configuration.options;
|
|
10
|
-
this._lineHeight = options.get(
|
|
10
|
+
this._lineHeight = options.get(67 );
|
|
11
11
|
this._typicalHalfwidthCharacterWidth = options.get(50 ).typicalHalfwidthCharacterWidth;
|
|
12
12
|
this._renderResult = null;
|
|
13
13
|
this._context.addEventHandler(this);
|
|
@@ -19,7 +19,7 @@ class DecorationsOverlay extends DynamicViewOverlay {
|
|
|
19
19
|
}
|
|
20
20
|
onConfigurationChanged(e) {
|
|
21
21
|
const options = this._context.configuration.options;
|
|
22
|
-
this._lineHeight = options.get(
|
|
22
|
+
this._lineHeight = options.get(67 );
|
|
23
23
|
this._typicalHalfwidthCharacterWidth = options.get(50 ).typicalHalfwidthCharacterWidth;
|
|
24
24
|
return true;
|
|
25
25
|
}
|