@codingame/monaco-vscode-katex-common 29.1.0 → 30.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/package.json +2 -2
- package/vscode/src/vs/platform/actions/browser/buttonbar.js +14 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatAccessibilityProvider.js +16 -16
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContinueInAction.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatElicitationActions.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +34 -34
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatTitleActions.js +12 -20
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatToolActions.d.ts +14 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatToolActions.js +208 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatToolPicker.d.ts +22 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatToolPicker.js +637 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionApprovalModel.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionApprovalModel.js +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionHoverWidget.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsControl.d.ts +9 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsControl.js +202 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsFilter.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsFilter.js +17 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsOpener.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsViewer.d.ts +53 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsViewer.js +296 -63
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/media/agentsessionsviewer.css +59 -23
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentWidgets.js +55 -42
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/implicitContextAttachment.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingActions.js +110 -59
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorActions.js +14 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorOverlay.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingExplanationWidget.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionPickerActionItem.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/searchableOptionPickerActionItem.js +5 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/toolSetsContribution.d.ts +24 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/toolSetsContribution.js +384 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatAgentHover.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatArtifactsWidget.d.ts +12 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatArtifactsWidget.js +220 -61
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentMarkdownRenderer.js +1 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatAgentCommandContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatAnonymousRateLimitedPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatAttachmentsContentPart.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatAttachmentsContentPart.js +14 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatChangesSummaryPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCodeCitationContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCommandContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatConfirmationContentPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatConfirmationWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatContentCodePools.js +5 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatDisabledClaudeHooksContentPart.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatExtensionsContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatHookContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatInlineAnchorWidget.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatInlineAnchorWidget.js +14 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMarkdownContentPart.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMarkdownContentPart.js +40 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMcpServersInteractionContentPart.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMultiDiffContentPart.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatProgressContentPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatQuestionCarouselPart.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatQuestionCarouselPart.js +97 -54
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatQuotaExceededPart.js +5 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatReferencesContentPart.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatResourceGroupWidget.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatSubagentContentPart.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatSuggestNextWidget.js +8 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTextEditContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatThinkingContentPart.d.ts +15 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatThinkingContentPart.js +155 -22
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTipContentPart.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTodoListWidget.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTodoListWidget.js +36 -19
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatToolInputOutputContentPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTreeContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatWorkspaceEditContentPart.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/codeBlockPart.js +14 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatThinkingContent.css +13 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/abstractToolConfirmationSubPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatExtensionsInstallToolSubPart.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatMcpAppModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatMcpAppSubPart.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatMissingSandboxDepsConfirmationSubPart.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatMissingSandboxDepsConfirmationSubPart.js +68 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatModifiedFilesConfirmationSubPart.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatTerminalToolConfirmationSubPart.js +16 -16
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatTerminalToolProgressPart.js +33 -25
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolConfirmationSubPart.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolInvocationPart.js +12 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolOutputPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolPartUtilities.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolPostExecuteConfirmationPart.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatDragAndDrop.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatListRenderer.d.ts +4 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatListRenderer.js +37 -113
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatListWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatWidget.d.ts +10 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatWidget.js +66 -39
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatFollowups.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputPart.d.ts +13 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputPart.js +103 -61
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatModelPicker.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatModelPicker.js +35 -23
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/delegationSessionPickerActionItem.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/delegationSessionPickerActionItem.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modePickerActionItem.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPickerActionItem2.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPickerActionItem2.js +4 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/permissionPickerActionItem.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/permissionPickerActionItem.js +39 -24
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/sessionTargetPickerActionItem.d.ts +6 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/sessionTargetPickerActionItem.js +44 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/workspacePickerActionItem.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/media/chat.css +60 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatContextUsageDetails.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatContextUsageWidget.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatImageExtraction.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/widget/chatColors.js +15 -15
- package/vscode/src/vs/workbench/contrib/chat/common/widget/codeBlockModelCollection.js +4 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +4 -4
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatOverlayWidget.js +5 -5
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.d.ts +4 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.js +5 -2
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.js +6 -11
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +39 -39
- package/vscode/src/vs/workbench/contrib/interactive/browser/replInputHintContentWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.d.ts +26 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.js +746 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +300 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffCellEditorOptions.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffCellEditorOptions.js +55 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.d.ts +273 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.js +1963 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementOutputs.d.ts +50 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementOutputs.js +314 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementViewModel.d.ts +258 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementViewModel.js +886 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffNestedCellViewModel.d.ts +41 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffNestedCellViewModel.js +118 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/editorHeightCalculator.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/editorHeightCalculator.js +71 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/eventDispatcher.d.ts +27 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/eventDispatcher.js +40 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookCellDiffDecorator.d.ts +23 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookCellDiffDecorator.js +313 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookDeletedCellDecorator.d.ts +51 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookDeletedCellDecorator.js +265 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInlineDiff.d.ts +24 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInlineDiff.js +185 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInlineDiffWidget.d.ts +28 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInlineDiffWidget.js +104 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInsertedCellDecorator.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInsertedCellDecorator.js +43 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalCellModelFactory.d.ts +21 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalCellModelFactory.js +41 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalModelRefFactory.d.ts +25 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalModelRefFactory.js +69 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiff.css +469 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.d.ts +149 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.js +933 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.d.ts +180 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.js +32 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.d.ts +102 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.js +643 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffOverviewRuler.d.ts +30 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffOverviewRuler.js +197 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffViewModel.d.ts +75 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffViewModel.js +539 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/unchangedEditorRegions.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/unchangedEditorRegions.js +39 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookMetadataTextModel.d.ts +19 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookMetadataTextModel.js +90 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookDiff.d.ts +26 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookDiff.js +92 -0
- package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.d.ts +0 -152
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.js +0 -1317
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/internalCustomizations/internalPromptFileSystem.d.ts +0 -47
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/internalCustomizations/internalPromptFileSystem.js +0 -95
|
@@ -0,0 +1,469 @@
|
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
|
|
6
|
+
/* .notebook-diff-editor {
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: row;
|
|
9
|
+
height: 100%;
|
|
10
|
+
width: 100%;
|
|
11
|
+
}
|
|
12
|
+
.notebook-diff-editor-modified,
|
|
13
|
+
.notebook-diff-editor-original {
|
|
14
|
+
display: flex;
|
|
15
|
+
height: 100%;
|
|
16
|
+
width: 50%;
|
|
17
|
+
} */
|
|
18
|
+
|
|
19
|
+
.notebook-text-diff-editor {
|
|
20
|
+
position: relative;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.notebook-text-diff-editor .cell-body {
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-direction: row;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.notebook-text-diff-editor .cell-placeholder-body {
|
|
29
|
+
display: flex;
|
|
30
|
+
flex-direction: row;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.notebook-text-diff-editor .webview-cover {
|
|
34
|
+
user-select: initial;
|
|
35
|
+
-webkit-user-select: initial;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.notebook-text-diff-editor .cell-body .border-container {
|
|
39
|
+
position: absolute;
|
|
40
|
+
width: calc(100% - 32px);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.notebook-text-diff-editor .cell-body .border-container .top-border,
|
|
44
|
+
.notebook-text-diff-editor .cell-body .border-container .bottom-border {
|
|
45
|
+
position: absolute;
|
|
46
|
+
width: 100%;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.notebook-text-diff-editor .cell-body .border-container .left-border,
|
|
50
|
+
.notebook-text-diff-editor .cell-body .border-container .right-border {
|
|
51
|
+
position: absolute;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.notebook-text-diff-editor .cell-body .border-container .right-border {
|
|
55
|
+
left: 100%;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.notebook-text-diff-editor .cell-body.right {
|
|
59
|
+
flex-direction: row-reverse;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.notebook-text-diff-editor .cell-body .diagonal-fill {
|
|
63
|
+
display: none;
|
|
64
|
+
width: 50%;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.notebook-text-diff-editor .cell-body .cell-diff-editor-container {
|
|
68
|
+
width: 100%;
|
|
69
|
+
/* why we overflow hidden at the beginning?*/
|
|
70
|
+
/* overflow: hidden; */
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.notebook-text-diff-editor > .notebook-diff-list-view > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row {
|
|
74
|
+
cursor: default;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.notebook-text-diff-editor .cell-body .cell-diff-editor-container .metadata-editor-container.diff,
|
|
78
|
+
.notebook-text-diff-editor .cell-body .cell-diff-editor-container .output-editor-container.diff,
|
|
79
|
+
.notebook-text-diff-editor .cell-body .cell-diff-editor-container .editor-container.diff {
|
|
80
|
+
/** 100% + diffOverviewWidth */
|
|
81
|
+
width: calc(100%);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.notebook-text-diff-editor .cell-body .cell-diff-editor-container .metadata-editor-container .monaco-diff-editor .diffOverview,
|
|
85
|
+
.notebook-text-diff-editor .cell-body .cell-diff-editor-container .editor-container.diff .monaco-diff-editor .diffOverview,
|
|
86
|
+
.notebook-text-diff-editor .cell-body .cell-diff-editor-container .output-editor-container.diff .monaco-diff-editor .diffOverview {
|
|
87
|
+
display: none;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.notebook-text-diff-editor .cell-body .cell-diff-editor-container .metadata-editor-container,
|
|
91
|
+
.notebook-text-diff-editor .cell-body .cell-diff-editor-container .editor-container {
|
|
92
|
+
box-sizing: border-box;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.notebook-text-diff-editor .cell-body.left .cell-diff-editor-container,
|
|
96
|
+
.notebook-text-diff-editor .cell-body.right .cell-diff-editor-container {
|
|
97
|
+
display: inline-block;
|
|
98
|
+
width: 50%;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.notebook-text-diff-editor .cell-body.left .diagonal-fill,
|
|
102
|
+
.notebook-text-diff-editor .cell-body.right .diagonal-fill {
|
|
103
|
+
display: inline-block;
|
|
104
|
+
width: 50%;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.notebook-text-diff-editor .cell-diff-editor-container .input-header-container,
|
|
108
|
+
.notebook-text-diff-editor .cell-diff-editor-container .output-header-container,
|
|
109
|
+
.notebook-text-diff-editor .cell-diff-editor-container .metadata-header-container {
|
|
110
|
+
display: flex;
|
|
111
|
+
height: 24px;
|
|
112
|
+
align-items: center;
|
|
113
|
+
cursor: default;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.notebook-text-diff-editor .cell-diff-editor-container .input-header-container .property-folding-indicator .codicon,
|
|
117
|
+
.notebook-text-diff-editor .cell-diff-editor-container .output-header-container .property-folding-indicator .codicon,
|
|
118
|
+
.notebook-text-diff-editor .cell-diff-editor-container .metadata-header-container .property-folding-indicator .codicon {
|
|
119
|
+
visibility: visible;
|
|
120
|
+
padding: 4px 0 0 6px;
|
|
121
|
+
cursor: pointer;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.notebook-text-diff-editor .cell-diff-editor-container .input-header-container,
|
|
125
|
+
.notebook-text-diff-editor .cell-diff-editor-container .output-header-container,
|
|
126
|
+
.notebook-text-diff-editor .cell-diff-editor-container .metadata-header-container {
|
|
127
|
+
display: flex;
|
|
128
|
+
flex-direction: row;
|
|
129
|
+
align-items: center;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.notebook-text-diff-editor .cell-diff-editor-container .input-header-container,
|
|
133
|
+
.notebook-text-diff-editor .cell-diff-editor-container .output-header-container,
|
|
134
|
+
.notebook-text-diff-editor .cell-diff-editor-container .metadata-header-container {
|
|
135
|
+
cursor: pointer;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.notebook-text-diff-editor .cell-diff-editor-container .input-header-container .property-toolbar,
|
|
139
|
+
.notebook-text-diff-editor .cell-diff-editor-container .output-header-container .property-toolbar,
|
|
140
|
+
.notebook-text-diff-editor .cell-diff-editor-container .metadata-header-container .property-toolbar {
|
|
141
|
+
margin-left: auto;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.notebook-text-diff-editor .cell-diff-editor-container .input-header-container .property-status,
|
|
145
|
+
.notebook-text-diff-editor .cell-diff-editor-container .output-header-container .property-status,
|
|
146
|
+
.notebook-text-diff-editor .cell-diff-editor-container .metadata-header-container .property-status {
|
|
147
|
+
font-size: 12px;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.notebook-text-diff-editor .cell-diff-editor-container .input-header-container .property-status span,
|
|
151
|
+
.notebook-text-diff-editor .cell-diff-editor-container .output-header-container .property-status span,
|
|
152
|
+
.notebook-text-diff-editor .cell-diff-editor-container .metadata-header-container .property-status span {
|
|
153
|
+
margin: 0 0 0 5px;
|
|
154
|
+
line-height: 21px;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.notebook-text-diff-editor .cell-diff-editor-container .input-header-container .property-status span.property-description,
|
|
158
|
+
.notebook-text-diff-editor .cell-diff-editor-container .output-header-container .property-status span.property-description,
|
|
159
|
+
.notebook-text-diff-editor .cell-diff-editor-container .metadata-header-container .property-status span.property-description {
|
|
160
|
+
font-style: italic;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.notebook-text-diff-editor {
|
|
164
|
+
overflow: hidden;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.monaco-workbench .notebook-text-diff-editor > .notebook-diff-list-view > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row {
|
|
168
|
+
overflow: visible !important;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.monaco-workbench .notebook-text-diff-editor > .notebook-diff-list-view > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row,
|
|
172
|
+
.monaco-workbench .notebook-text-diff-editor > .notebook-diff-list-view > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row:hover,
|
|
173
|
+
.monaco-workbench .notebook-text-diff-editor > .notebook-diff-list-view > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row.focused {
|
|
174
|
+
outline: none !important;
|
|
175
|
+
background-color: transparent !important;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.notebook-text-diff-editor .cell-diff-editor-container .editor-input-toolbar-container {
|
|
179
|
+
position: absolute;
|
|
180
|
+
right: 16px;
|
|
181
|
+
top: 16px;
|
|
182
|
+
margin: 1px 2px;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.monaco-workbench .notebook-text-diff-editor .cell-body {
|
|
186
|
+
height: 0;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.monaco-workbench .notebook-text-diff-editor .cell-body .output-view-container {
|
|
190
|
+
user-select: text;
|
|
191
|
+
-webkit-user-select: text;
|
|
192
|
+
white-space: initial;
|
|
193
|
+
cursor: auto;
|
|
194
|
+
position: relative;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.monaco-workbench .notebook-text-diff-editor .cell-body.left .output-view-container .output-inner-container,
|
|
198
|
+
.monaco-workbench .notebook-text-diff-editor .cell-body.right .output-view-container .output-inner-container {
|
|
199
|
+
width: 100%;
|
|
200
|
+
padding: 0px 8px;
|
|
201
|
+
box-sizing: border-box;
|
|
202
|
+
overflow-x: hidden;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.monaco-workbench .notebook-text-diff-editor .cell-body.left .output-view-container .output-inner-container {
|
|
206
|
+
padding: 0px 8px 0px 32px;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.monaco-workbench .notebook-text-diff-editor .cell-body.right .output-view-container .output-inner-container {
|
|
210
|
+
padding: 0px 8px 0px 32px;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.monaco-workbench .notebook-text-diff-editor .cell-body.full .output-view-container .output-inner-container {
|
|
214
|
+
width: 100%;
|
|
215
|
+
padding: 4px 8px 4px 32px;
|
|
216
|
+
box-sizing: border-box;
|
|
217
|
+
overflow: hidden;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.monaco-workbench .notebook-text-diff-editor .cell-body.full .output-info-container .output-view-container .output-view-container-left {
|
|
221
|
+
top: 0;
|
|
222
|
+
position: absolute;
|
|
223
|
+
left: 0;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.monaco-workbench .notebook-text-diff-editor .cell-body.full .output-info-container .output-view-container .output-view-container-right {
|
|
227
|
+
position: absolute;
|
|
228
|
+
top: 0;
|
|
229
|
+
left: 50%;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.monaco-workbench .notebook-text-diff-editor .cell-body.full .output-info-container .output-view-container .output-view-container-left,
|
|
233
|
+
.monaco-workbench .notebook-text-diff-editor .cell-body.full .output-info-container .output-view-container .output-view-container-right {
|
|
234
|
+
width: 50%;
|
|
235
|
+
display: inline-block;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.monaco-workbench .notebook-text-diff-editor .cell-body.full .output-info-container .output-view-container .output-view-container-left div.foreground,
|
|
239
|
+
.monaco-workbench .notebook-text-diff-editor .cell-body.full .output-info-container .output-view-container .output-view-container-right div.foreground {
|
|
240
|
+
width: 100%;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.monaco-workbench .notebook-text-diff-editor .output-view-container > div.foreground {
|
|
244
|
+
width: 100%;
|
|
245
|
+
min-height: 24px;
|
|
246
|
+
box-sizing: border-box;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.monaco-workbench .notebook-text-diff-editor .output-view-container .error_message {
|
|
250
|
+
color: red;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.monaco-workbench .notebook-text-diff-editor .output-view-container .error > div {
|
|
254
|
+
white-space: normal;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.monaco-workbench .notebook-text-diff-editor .output-view-container .error pre.traceback {
|
|
258
|
+
box-sizing: border-box;
|
|
259
|
+
padding: 8px 0;
|
|
260
|
+
margin: 0px;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.monaco-workbench .notebook-text-diff-editor .output-view-container .error .traceback > span {
|
|
264
|
+
display: block;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.monaco-workbench .notebook-text-diff-editor .output-view-container .display img {
|
|
268
|
+
max-width: 100%;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.monaco-workbench .notebook-text-diff-editor .output-view-container .multi-mimetype-output {
|
|
272
|
+
position: absolute;
|
|
273
|
+
top: 4px;
|
|
274
|
+
left: 8px;
|
|
275
|
+
width: 16px;
|
|
276
|
+
height: 16px;
|
|
277
|
+
cursor: pointer;
|
|
278
|
+
padding: 2px 4px 4px 2px;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.monaco-workbench .notebook-text-diff-editor .output-view-container .output-empty-view span {
|
|
282
|
+
opacity: 0.7;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
.monaco-workbench .notebook-text-diff-editor .output-view-container .output-empty-view {
|
|
286
|
+
font-style: italic;
|
|
287
|
+
height: 24px;
|
|
288
|
+
margin: auto;
|
|
289
|
+
padding-left: 12px;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.monaco-workbench .notebook-text-diff-editor .output-view-container pre {
|
|
293
|
+
margin: 4px 0;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.monaco-workbench .notebook-text-diff-edito .monaco-list:focus-within .monaco-list-row.focused .codicon,
|
|
297
|
+
.monaco-workbench .notebook-text-diff-editor .monaco-list:focus-within .monaco-list-row.selected .codicon {
|
|
298
|
+
color: inherit;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
.monaco-workbench .notebook-text-diff-editor .output-view-container .output-view-container-metadata {
|
|
302
|
+
position: relative;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
/* Diff decorations */
|
|
306
|
+
|
|
307
|
+
.notebook-text-diff-editor .cell-body .codicon-diff-remove,
|
|
308
|
+
.notebook-text-diff-editor .cell-body .codicon-diff-insert {
|
|
309
|
+
left: 4px !important;
|
|
310
|
+
width: 15px !important;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
.monaco-workbench .notebook-text-diff-editor > .monaco-list > .monaco-scrollable-element > .scrollbar.visible {
|
|
314
|
+
z-index: var(--z-index-notebook-scrollbar);
|
|
315
|
+
cursor: default;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
.notebook-text-diff-editor .notebook-overview-ruler-container {
|
|
319
|
+
position: absolute;
|
|
320
|
+
top: 0;
|
|
321
|
+
right: 0;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
.notebook-text-diff-editor .notebook-overview-ruler-container .diffViewport {
|
|
325
|
+
z-index: var(--notebook-diff-view-viewport-slider);
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
.notebook-text-diff-editor .diffViewport {
|
|
329
|
+
background: var(--vscode-scrollbarSlider-background);
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.notebook-text-diff-editor .diffViewport:hover {
|
|
333
|
+
background: var(--vscode-scrollbarSlider-hoverBackground);
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.notebook-text-diff-editor .diffViewport:active {
|
|
337
|
+
background: var(--vscode-scrollbarSlider-activeBackground);
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
/** Diff cell borders */
|
|
341
|
+
.notebook-text-diff-editor .cell-body .border-container .top-border,
|
|
342
|
+
.notebook-text-diff-editor .cell-body .border-container .bottom-border,
|
|
343
|
+
.notebook-text-diff-editor .cell-diff-editor-container .output-header-container,
|
|
344
|
+
.notebook-text-diff-editor .cell-diff-editor-container .metadata-header-container {
|
|
345
|
+
border-top: 1px solid var(--vscode-notebook-cellBorderColor);
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
.notebook-text-diff-editor .cell-body .border-container .left-border {
|
|
349
|
+
border-left: 1px solid var(--vscode-notebook-cellBorderColor);
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
.notebook-text-diff-editor .cell-body .border-container .right-border {
|
|
353
|
+
border-right: 1px solid var(--vscode-notebook-cellBorderColor);
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
/** Diff cell active borders */
|
|
357
|
+
.notebook-text-diff-editor .monaco-list-row.focused .cell-body .border-container .top-border,
|
|
358
|
+
.notebook-text-diff-editor .monaco-list-row.focused .cell-body .border-container .bottom-border {
|
|
359
|
+
border-top: 1px solid var(--vscode-notebook-focusedEditorBorder);
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
.notebook-text-diff-editor .monaco-list-row.focused .cell-body .border-container .left-border {
|
|
363
|
+
border-left: 1px solid var(--vscode-notebook-focusedEditorBorder);
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
.notebook-text-diff-editor .monaco-list-row.focused .cell-body .border-container .right-border {
|
|
367
|
+
border-right: 1px solid var(--vscode-notebook-focusedEditorBorder);
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
/** Diff cell diff background */
|
|
371
|
+
|
|
372
|
+
.monaco-workbench .notebook-text-diff-editor .cell-body.full .output-info-container.modified .output-view-container .output-view-container-right div.foreground,
|
|
373
|
+
.monaco-workbench .notebook-text-diff-editor .cell-body.right .output-info-container .output-view-container div.foreground,
|
|
374
|
+
.monaco-workbench .notebook-text-diff-editor .cell-body.right .output-info-container .output-view-container div.output-empty-view,
|
|
375
|
+
.notebook-text-diff-editor .cell-body .cell-diff-editor-container.inserted .source-container,
|
|
376
|
+
.notebook-text-diff-editor .cell-body .cell-diff-editor-container.inserted .source-container .monaco-editor .margin,
|
|
377
|
+
.notebook-text-diff-editor .cell-body .cell-diff-editor-container.inserted .source-container .monaco-editor .monaco-editor-background,
|
|
378
|
+
.notebook-text-diff-editor .cell-body .cell-diff-editor-container.inserted .input-header-container,
|
|
379
|
+
.notebook-text-diff-editor .cell-body .cell-diff-editor-container.inserted .metadata-editor-container,
|
|
380
|
+
.notebook-text-diff-editor .cell-body .cell-diff-editor-container.inserted .metadata-editor-container .monaco-editor .margin,
|
|
381
|
+
.notebook-text-diff-editor .cell-body .cell-diff-editor-container.inserted .metadata-editor-container .monaco-editor .monaco-editor-background,
|
|
382
|
+
.notebook-text-diff-editor .cell-body .cell-diff-editor-container.inserted .output-editor-container,
|
|
383
|
+
.notebook-text-diff-editor .cell-body .cell-diff-editor-container.inserted .output-editor-container .monaco-editor .margin,
|
|
384
|
+
.notebook-text-diff-editor .cell-body .cell-diff-editor-container.inserted .output-editor-container .monaco-editor .monaco-editor-background,
|
|
385
|
+
.notebook-text-diff-editor .cell-body .cell-diff-editor-container.inserted .metadata-header-container,
|
|
386
|
+
.notebook-text-diff-editor .cell-body .cell-diff-editor-container.inserted .output-header-container {
|
|
387
|
+
background-color: var(--vscode-diffEditor-insertedTextBackground);
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
.monaco-workbench .notebook-text-diff-editor .cell-body.full .output-info-container.modified .output-view-container .output-view-container-left div.foreground,
|
|
391
|
+
.monaco-workbench .notebook-text-diff-editor .cell-body.left .output-info-container .output-view-container div.foreground,
|
|
392
|
+
.monaco-workbench .notebook-text-diff-editor .cell-body.left .output-info-container .output-view-container div.output-empty-view,
|
|
393
|
+
.notebook-text-diff-editor .cell-body .cell-diff-editor-container.removed .source-container,
|
|
394
|
+
.notebook-text-diff-editor .cell-body .cell-diff-editor-container.removed .source-container .monaco-editor .margin,
|
|
395
|
+
.notebook-text-diff-editor .cell-body .cell-diff-editor-container.removed .source-container .monaco-editor .monaco-editor-background,
|
|
396
|
+
.notebook-text-diff-editor .cell-body .cell-diff-editor-container.removed .input-header-container,
|
|
397
|
+
.notebook-text-diff-editor .cell-body .cell-diff-editor-container.removed .metadata-editor-container,
|
|
398
|
+
.notebook-text-diff-editor .cell-body .cell-diff-editor-container.removed .metadata-editor-container .monaco-editor .margin,
|
|
399
|
+
.notebook-text-diff-editor .cell-body .cell-diff-editor-container.removed .metadata-editor-container .monaco-editor .monaco-editor-background,
|
|
400
|
+
.notebook-text-diff-editor .cell-body .cell-diff-editor-container.removed .output-editor-container,
|
|
401
|
+
.notebook-text-diff-editor .cell-body .cell-diff-editor-container.removed .output-editor-container .monaco-editor .margin,
|
|
402
|
+
.notebook-text-diff-editor .cell-body .cell-diff-editor-container.removed .output-editor-container .monaco-editor .monaco-editor-background,
|
|
403
|
+
.notebook-text-diff-editor .cell-body .cell-diff-editor-container.removed .metadata-header-container,
|
|
404
|
+
.notebook-text-diff-editor .cell-body .cell-diff-editor-container.removed .output-header-container {
|
|
405
|
+
background-color: var(--vscode-diffEditor-removedTextBackground);
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
/** Diff cell editor background */
|
|
409
|
+
.notebook-text-diff-editor .cell-body .cell-diff-editor-container .source-container .monaco-editor .margin,
|
|
410
|
+
.notebook-text-diff-editor .cell-body .cell-diff-editor-container .source-container .monaco-editor .monaco-editor-background {
|
|
411
|
+
background: var(--vscode-notebook-cellEditorBackground, var(--vscode-editor-background));
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
/** Overlay to hide the unchanged cells */
|
|
415
|
+
.notebook-text-diff-editor .cell-body.full div.diff-hidden-cells {
|
|
416
|
+
position: absolute;
|
|
417
|
+
left: 0;
|
|
418
|
+
|
|
419
|
+
font-size: 13px;
|
|
420
|
+
line-height: 14px;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
.notebook-text-diff-editor .cell-body.full div.diff-hidden-cells .center {
|
|
424
|
+
color: var(--vscode-diffEditor-unchangedRegionForeground);
|
|
425
|
+
overflow: hidden;
|
|
426
|
+
display: block;
|
|
427
|
+
white-space: nowrap;
|
|
428
|
+
|
|
429
|
+
height: 24px;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
.notebook-text-diff-editor .cell-body.full div.diff-hidden-cells .center span.codicon {
|
|
433
|
+
vertical-align: middle;
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
.notebook-text-diff-editor .cell-body.full div.diff-hidden-cells .center a:hover .codicon {
|
|
437
|
+
cursor: pointer;
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
/** Overlay to unhide the unchanged cells */
|
|
441
|
+
.notebook-text-diff-editor .cell-placeholder-body {
|
|
442
|
+
background: var(--vscode-diffEditor-unchangedRegionBackground);
|
|
443
|
+
color: var(--vscode-diffEditor-unchangedRegionForeground);
|
|
444
|
+
min-height: 24px;
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
.notebook-text-diff-editor .cell-placeholder-body div.diff-hidden-cells .center {
|
|
448
|
+
overflow: hidden;
|
|
449
|
+
display: block;
|
|
450
|
+
text-overflow: ellipsis;
|
|
451
|
+
white-space: nowrap;
|
|
452
|
+
|
|
453
|
+
height: 24px;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
.notebook-text-diff-editor .cell-placeholder-body .text {
|
|
457
|
+
/** Add a gap between text and the unfold icon */
|
|
458
|
+
padding-left: 2px;
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
.notebook-text-diff-editor .cell-placeholder-body div.diff-hidden-cells .center span.codicon,
|
|
462
|
+
.notebook-text-diff-editor .cell-placeholder-body .text {
|
|
463
|
+
vertical-align: middle;
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
.notebook-text-diff-editor .cell-placeholder-body div.diff-hidden-cells .center a:hover .codicon {
|
|
467
|
+
cursor: pointer;
|
|
468
|
+
color: var(--vscode-editorLink-activeForeground) !important;
|
|
469
|
+
}
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import * as DOM from "@codingame/monaco-vscode-api/vscode/vs/base/browser/dom";
|
|
2
|
+
import { IStorageService } from "@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service";
|
|
3
|
+
import { ITelemetryService } from "@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service";
|
|
4
|
+
import { IThemeService } from "@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service";
|
|
5
|
+
import { IEditorOpenContext, IEditorPaneScrollPosition, IEditorPaneSelection, IEditorPaneSelectionChangeEvent, IEditorPaneWithScrolling, IEditorPaneWithSelection } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor";
|
|
6
|
+
import { IEditorGroup } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorGroupsService";
|
|
7
|
+
import { NotebookDiffEditorInput } from "@codingame/monaco-vscode-notebook-service-override/vscode/vs/workbench/contrib/notebook/common/notebookDiffEditorInput";
|
|
8
|
+
import { CancellationToken } from "@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation";
|
|
9
|
+
import { DiffElementCellViewModelBase, IDiffElementViewModelBase } from "./diffElementViewModel.js";
|
|
10
|
+
import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
|
|
11
|
+
import { IContextKeyService } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service";
|
|
12
|
+
import { INotebookEditorWorkerService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/services/notebookWorkerService.service";
|
|
13
|
+
import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
|
|
14
|
+
import { CellEditState, ICellOutputViewModel, IGenericCellViewModel, IInsetRenderOutput, INotebookEditorCreationOptions, INotebookEditorOptions } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser";
|
|
15
|
+
import { DiffSide, IDiffCellInfo, INotebookTextDiffEditor } from "./notebookDiffEditorBrowser.js";
|
|
16
|
+
import { Emitter, Event } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event";
|
|
17
|
+
import { EditorPane } from "@codingame/monaco-vscode-api/vscode/vs/workbench/browser/parts/editor/editorPane";
|
|
18
|
+
import { IMouseWheelEvent } from "@codingame/monaco-vscode-api/vscode/vs/base/browser/mouseEvent";
|
|
19
|
+
import { DiffNestedCellViewModel } from "./diffNestedCellViewModel.js";
|
|
20
|
+
import { INotebookDelegateForWebview } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView";
|
|
21
|
+
import { NotebookOptions } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/browser/notebookOptions";
|
|
22
|
+
import { NotebookLayoutInfo } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/browser/notebookViewEvents";
|
|
23
|
+
import { INotebookService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookService.service";
|
|
24
|
+
import { IEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service";
|
|
25
|
+
import { IObservable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/observable";
|
|
26
|
+
export declare class NotebookTextDiffEditor extends EditorPane implements INotebookTextDiffEditor, INotebookDelegateForWebview, IEditorPaneWithSelection, IEditorPaneWithScrolling {
|
|
27
|
+
private readonly instantiationService;
|
|
28
|
+
private readonly contextKeyService;
|
|
29
|
+
private readonly notebookEditorWorkerService;
|
|
30
|
+
private readonly configurationService;
|
|
31
|
+
private readonly notebookService;
|
|
32
|
+
private readonly editorService;
|
|
33
|
+
static readonly ENTIRE_DIFF_OVERVIEW_WIDTH = 30;
|
|
34
|
+
creationOptions: INotebookEditorCreationOptions;
|
|
35
|
+
static readonly ID: string;
|
|
36
|
+
private _rootElement;
|
|
37
|
+
private _listViewContainer;
|
|
38
|
+
private _overflowContainer;
|
|
39
|
+
private _overviewRulerContainer;
|
|
40
|
+
private _overviewRuler;
|
|
41
|
+
private _dimension;
|
|
42
|
+
private notebookDiffViewModel?;
|
|
43
|
+
private _list;
|
|
44
|
+
private _modifiedWebview;
|
|
45
|
+
private _originalWebview;
|
|
46
|
+
private _webviewTransparentCover;
|
|
47
|
+
private _fontInfo;
|
|
48
|
+
private _inlineView;
|
|
49
|
+
private _lastLayoutProperties;
|
|
50
|
+
private readonly _onMouseUp;
|
|
51
|
+
readonly onMouseUp: Event<{
|
|
52
|
+
readonly event: MouseEvent;
|
|
53
|
+
readonly target: IDiffElementViewModelBase;
|
|
54
|
+
}>;
|
|
55
|
+
private readonly _onDidScroll;
|
|
56
|
+
readonly onDidScroll: Event<void>;
|
|
57
|
+
readonly onDidChangeScroll: Event<void>;
|
|
58
|
+
private _eventDispatcher;
|
|
59
|
+
protected _scopeContextKeyService: IContextKeyService;
|
|
60
|
+
private _model;
|
|
61
|
+
private readonly diffEditorCalcuator;
|
|
62
|
+
private readonly _modifiedResourceDisposableStore;
|
|
63
|
+
private inlineDiffWidget;
|
|
64
|
+
get textModel(): import("@codingame/monaco-vscode-notebook-service-override/vscode/vs/workbench/contrib/notebook/common/model/notebookTextModel").NotebookTextModel | undefined;
|
|
65
|
+
get inlineNotebookEditor(): import("@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/browser/notebookEditorWidget").NotebookEditorWidget | undefined;
|
|
66
|
+
private _revealFirst;
|
|
67
|
+
private readonly _insetModifyQueueByOutputId;
|
|
68
|
+
protected _onDidDynamicOutputRendered: Emitter<{
|
|
69
|
+
cell: IGenericCellViewModel;
|
|
70
|
+
output: ICellOutputViewModel;
|
|
71
|
+
}>;
|
|
72
|
+
onDidDynamicOutputRendered: Event<{
|
|
73
|
+
cell: IGenericCellViewModel;
|
|
74
|
+
output: ICellOutputViewModel;
|
|
75
|
+
}>;
|
|
76
|
+
private readonly _notebookOptions;
|
|
77
|
+
get notebookOptions(): NotebookOptions;
|
|
78
|
+
private readonly _localStore;
|
|
79
|
+
private _layoutCancellationTokenSource?;
|
|
80
|
+
private readonly _onDidChangeSelection;
|
|
81
|
+
readonly onDidChangeSelection: Event<IEditorPaneSelectionChangeEvent>;
|
|
82
|
+
private _isDisposed;
|
|
83
|
+
get isDisposed(): boolean;
|
|
84
|
+
private readonly _currentChangedIndex;
|
|
85
|
+
readonly currentChangedIndex: IObservable<number>;
|
|
86
|
+
constructor(group: IEditorGroup, instantiationService: IInstantiationService, themeService: IThemeService, contextKeyService: IContextKeyService, notebookEditorWorkerService: INotebookEditorWorkerService, configurationService: IConfigurationService, telemetryService: ITelemetryService, storageService: IStorageService, notebookService: INotebookService, editorService: IEditorService);
|
|
87
|
+
private get fontInfo();
|
|
88
|
+
private createFontInfo;
|
|
89
|
+
private isOverviewRulerEnabled;
|
|
90
|
+
getSelection(): IEditorPaneSelection | undefined;
|
|
91
|
+
toggleNotebookCellSelection(cell: IGenericCellViewModel): void;
|
|
92
|
+
updatePerformanceMetadata(cellId: string, executionId: string, duration: number, rendererId: string): void;
|
|
93
|
+
focusNotebookCell(cell: IGenericCellViewModel, focus: "output" | "editor" | "container"): Promise<void>;
|
|
94
|
+
focusNextNotebookCell(cell: IGenericCellViewModel, focus: "output" | "editor" | "container"): Promise<void>;
|
|
95
|
+
didFocusOutputInputChange(inputFocused: boolean): void;
|
|
96
|
+
getScrollTop(): number;
|
|
97
|
+
getScrollHeight(): number;
|
|
98
|
+
getScrollPosition(): IEditorPaneScrollPosition;
|
|
99
|
+
setScrollPosition(scrollPosition: IEditorPaneScrollPosition): void;
|
|
100
|
+
delegateVerticalScrollbarPointerDown(browserEvent: PointerEvent): void;
|
|
101
|
+
updateOutputHeight(cellInfo: IDiffCellInfo, output: ICellOutputViewModel, outputHeight: number, isInit: boolean): void;
|
|
102
|
+
setMarkupCellEditState(cellId: string, editState: CellEditState): void;
|
|
103
|
+
didStartDragMarkupCell(cellId: string, event: {
|
|
104
|
+
dragOffsetY: number;
|
|
105
|
+
}): void;
|
|
106
|
+
didDragMarkupCell(cellId: string, event: {
|
|
107
|
+
dragOffsetY: number;
|
|
108
|
+
}): void;
|
|
109
|
+
didEndDragMarkupCell(cellId: string): void;
|
|
110
|
+
didDropMarkupCell(cellId: string): void;
|
|
111
|
+
didResizeOutput(cellId: string): void;
|
|
112
|
+
toggleInlineView(): Promise<void>;
|
|
113
|
+
protected createEditor(parent: HTMLElement): void;
|
|
114
|
+
private _registerOverviewRuler;
|
|
115
|
+
private _updateOutputsOffsetsInWebview;
|
|
116
|
+
setInput(input: NotebookDiffEditorInput, options: INotebookEditorOptions | undefined, context: IEditorOpenContext, token: CancellationToken): Promise<void>;
|
|
117
|
+
setVisible(visible: boolean): void;
|
|
118
|
+
private _detachModel;
|
|
119
|
+
private _attachModel;
|
|
120
|
+
private _createModifiedWebview;
|
|
121
|
+
_generateFontFamily(): string;
|
|
122
|
+
private _createOriginalWebview;
|
|
123
|
+
setOptions(options: INotebookEditorOptions | undefined): void;
|
|
124
|
+
updateLayout(token: CancellationToken, selections?: number[]): Promise<void>;
|
|
125
|
+
scheduleOutputHeightAck(cellInfo: IDiffCellInfo, outputId: string, height: number): void;
|
|
126
|
+
private pendingLayouts;
|
|
127
|
+
layoutNotebookCell(cell: IDiffElementViewModelBase, height: number): Promise<void>;
|
|
128
|
+
setScrollTop(scrollTop: number): void;
|
|
129
|
+
triggerScroll(event: IMouseWheelEvent): void;
|
|
130
|
+
firstChange(): void;
|
|
131
|
+
lastChange(): void;
|
|
132
|
+
previousChange(): void;
|
|
133
|
+
nextChange(): void;
|
|
134
|
+
createOutput(cellDiffViewModel: DiffElementCellViewModelBase, cellViewModel: DiffNestedCellViewModel, output: IInsetRenderOutput, getOffset: () => number, diffSide: DiffSide): void;
|
|
135
|
+
updateMarkupCellHeight(): void;
|
|
136
|
+
getCellByInfo(cellInfo: IDiffCellInfo): IGenericCellViewModel;
|
|
137
|
+
getCellById(cellId: string): IGenericCellViewModel | undefined;
|
|
138
|
+
removeInset(cellDiffViewModel: DiffElementCellViewModelBase, cellViewModel: DiffNestedCellViewModel, displayOutput: ICellOutputViewModel, diffSide: DiffSide): void;
|
|
139
|
+
showInset(cellDiffViewModel: DiffElementCellViewModelBase, cellViewModel: DiffNestedCellViewModel, displayOutput: ICellOutputViewModel, diffSide: DiffSide): void;
|
|
140
|
+
hideInset(cellDiffViewModel: DiffElementCellViewModelBase, cellViewModel: DiffNestedCellViewModel, output: ICellOutputViewModel): void;
|
|
141
|
+
getDomNode(): HTMLElement;
|
|
142
|
+
getOverflowContainerDomNode(): HTMLElement;
|
|
143
|
+
getControl(): INotebookTextDiffEditor | undefined;
|
|
144
|
+
clearInput(): void;
|
|
145
|
+
deltaCellOutputContainerClassNames(diffSide: DiffSide, cellId: string, added: string[], removed: string[]): void;
|
|
146
|
+
getLayoutInfo(): NotebookLayoutInfo;
|
|
147
|
+
layout(dimension: DOM.Dimension, position: DOM.IDomPosition): void;
|
|
148
|
+
dispose(): void;
|
|
149
|
+
}
|