@codingame/monaco-vscode-notebook-service-override 8.0.4 → 9.0.2
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 +3 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHint.js +8 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellCommands/cellCommands.js +21 -21
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnosticsActions.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/diagnosticCellStatusBarContrib.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/statusBarProviders.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/notebookClipboard.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorStatusBar/editorStatusBar.js +26 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFind.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/format/formatting.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/gettingStarted/notebookGettingStarted.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/layout/layoutActions.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/multicursor/notebookMulticursor.js +624 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/navigation/arrow.js +13 -13
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariables.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesDataSource.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesTree.js +4 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesView.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.js +9 -9
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/profile/notebookProfile.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/saveParticipants/saveParticipants.js +12 -12
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/troubleshoot/layout.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.js +24 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +54 -55
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/executeActions.js +22 -22
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +24 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/layoutActions.js +23 -21
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/sectionActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffActions.js +297 -21
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.js +124 -73
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityHelp.js +27 -19
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookExtensionPoint.js +33 -33
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorServiceImpl.js +62 -39
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionServiceImpl.js +7 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelHistoryServiceImpl.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKeymapServiceImpl.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookLoggingServiceImpl.js +7 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.js +18 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookWorkerServiceImpl.js +15 -40
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.js +0 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookTextModel.js +28 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModelResolverServiceImpl.js +55 -45
- package/vscode/src/vs/workbench/contrib/notebook/common/services/notebookSimpleWorker.js +6 -6
- package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.js +12 -12
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffCellEditorOptions.js +0 -47
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.js +0 -1303
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementOutputs.js +0 -267
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementViewModel.js +0 -569
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffNestedCellViewModel.js +0 -115
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/eventDispatcher.js +0 -39
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiff.css.js +0 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.js +0 -903
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.js +0 -13
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.js +0 -397
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffOverviewRuler.js +0 -186
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookDiffEditorInput.js +0 -107
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { Emitter } from 'vscode/vscode/vs/base/common/event';
|
|
2
|
-
import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
3
|
-
|
|
4
|
-
var NotebookDiffViewEventType;
|
|
5
|
-
( (function(NotebookDiffViewEventType) {
|
|
6
|
-
NotebookDiffViewEventType[NotebookDiffViewEventType["LayoutChanged"] = 1] = "LayoutChanged";
|
|
7
|
-
NotebookDiffViewEventType[NotebookDiffViewEventType["CellLayoutChanged"] = 2] = "CellLayoutChanged";
|
|
8
|
-
})(NotebookDiffViewEventType || (NotebookDiffViewEventType = {})));
|
|
9
|
-
class NotebookDiffLayoutChangedEvent {
|
|
10
|
-
constructor(source, value) {
|
|
11
|
-
this.source = source;
|
|
12
|
-
this.value = value;
|
|
13
|
-
this.type = NotebookDiffViewEventType.LayoutChanged;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
class NotebookDiffEditorEventDispatcher extends Disposable {
|
|
17
|
-
constructor() {
|
|
18
|
-
super(...arguments);
|
|
19
|
-
this._onDidChangeLayout = this._register(( new Emitter()));
|
|
20
|
-
this.onDidChangeLayout = this._onDidChangeLayout.event;
|
|
21
|
-
this._onDidChangeCellLayout = this._register(( new Emitter()));
|
|
22
|
-
this.onDidChangeCellLayout = this._onDidChangeCellLayout.event;
|
|
23
|
-
}
|
|
24
|
-
emit(events) {
|
|
25
|
-
for (let i = 0, len = events.length; i < len; i++) {
|
|
26
|
-
const e = events[i];
|
|
27
|
-
switch (e.type) {
|
|
28
|
-
case NotebookDiffViewEventType.LayoutChanged:
|
|
29
|
-
this._onDidChangeLayout.fire(e);
|
|
30
|
-
break;
|
|
31
|
-
case NotebookDiffViewEventType.CellLayoutChanged:
|
|
32
|
-
this._onDidChangeCellLayout.fire(e);
|
|
33
|
-
break;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export { NotebookDiffEditorEventDispatcher, NotebookDiffLayoutChangedEvent, NotebookDiffViewEventType };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import n from 'vscode/external/rollup-plugin-styles/dist/runtime/inject-css.js';
|
|
2
|
-
|
|
3
|
-
var css = ".notebook-text-diff-editor{position:relative}.notebook-text-diff-editor .cell-body{display:flex;flex-direction:row}.notebook-text-diff-editor .webview-cover{user-select:auto;-webkit-user-select:initial}.notebook-text-diff-editor .cell-body .border-container{position:absolute;width:calc(100% - 32px)}.notebook-text-diff-editor .cell-body .border-container .bottom-border,.notebook-text-diff-editor .cell-body .border-container .top-border{position:absolute;width:100%}.notebook-text-diff-editor .cell-body .border-container .left-border,.notebook-text-diff-editor .cell-body .border-container .right-border{position:absolute}.notebook-text-diff-editor .cell-body .border-container .right-border{left:100%}.notebook-text-diff-editor .cell-body.right{flex-direction:row-reverse}.notebook-text-diff-editor .cell-body .diagonal-fill{display:none;width:50%}.notebook-text-diff-editor .cell-body .cell-diff-editor-container{width:100%}.notebook-text-diff-editor>.notebook-diff-list-view>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row{cursor:default}.notebook-text-diff-editor .cell-body .cell-diff-editor-container .editor-container.diff,.notebook-text-diff-editor .cell-body .cell-diff-editor-container .metadata-editor-container.diff,.notebook-text-diff-editor .cell-body .cell-diff-editor-container .output-editor-container.diff{width:100%}.notebook-text-diff-editor .cell-body .cell-diff-editor-container .editor-container.diff .monaco-diff-editor .diffOverview,.notebook-text-diff-editor .cell-body .cell-diff-editor-container .metadata-editor-container .monaco-diff-editor .diffOverview,.notebook-text-diff-editor .cell-body .cell-diff-editor-container .output-editor-container.diff .monaco-diff-editor .diffOverview{display:none}.notebook-text-diff-editor .cell-body .cell-diff-editor-container .editor-container,.notebook-text-diff-editor .cell-body .cell-diff-editor-container .metadata-editor-container{box-sizing:border-box}.notebook-text-diff-editor .cell-body.left .cell-diff-editor-container,.notebook-text-diff-editor .cell-body.left .diagonal-fill,.notebook-text-diff-editor .cell-body.right .cell-diff-editor-container,.notebook-text-diff-editor .cell-body.right .diagonal-fill{display:inline-block;width:50%}.notebook-text-diff-editor .cell-diff-editor-container .metadata-header-container,.notebook-text-diff-editor .cell-diff-editor-container .output-header-container{cursor:default;height:24px}.notebook-text-diff-editor .cell-diff-editor-container .metadata-header-container .property-folding-indicator .codicon,.notebook-text-diff-editor .cell-diff-editor-container .output-header-container .property-folding-indicator .codicon{cursor:pointer;padding:4px 0 0 10px;visibility:visible}.notebook-text-diff-editor .cell-diff-editor-container .metadata-header-container,.notebook-text-diff-editor .cell-diff-editor-container .output-header-container{align-items:center;display:flex;flex-direction:row}.notebook-text-diff-editor .cell-diff-editor-container .metadata-header-container .property-toolbar,.notebook-text-diff-editor .cell-diff-editor-container .output-header-container .property-toolbar{margin-left:auto}.notebook-text-diff-editor .cell-diff-editor-container .metadata-header-container .property-status,.notebook-text-diff-editor .cell-diff-editor-container .output-header-container .property-status{font-size:12px}.notebook-text-diff-editor .cell-diff-editor-container .metadata-header-container .property-status span,.notebook-text-diff-editor .cell-diff-editor-container .output-header-container .property-status span{line-height:21px;margin:0 0 0 8px}.notebook-text-diff-editor .cell-diff-editor-container .metadata-header-container .property-status span.property-description,.notebook-text-diff-editor .cell-diff-editor-container .output-header-container .property-status span.property-description{font-style:italic}.notebook-text-diff-editor{overflow:hidden}.monaco-workbench .notebook-text-diff-editor>.notebook-diff-list-view>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row{overflow:visible!important}.monaco-workbench .notebook-text-diff-editor>.notebook-diff-list-view>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row,.monaco-workbench .notebook-text-diff-editor>.notebook-diff-list-view>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row.focused,.monaco-workbench .notebook-text-diff-editor>.notebook-diff-list-view>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row:hover{background-color:transparent!important;outline:none!important}.notebook-text-diff-editor .cell-diff-editor-container .editor-input-toolbar-container{margin:1px 2px;position:absolute;right:16px;top:16px}.monaco-workbench .notebook-text-diff-editor .cell-body{height:0}.monaco-workbench .notebook-text-diff-editor .cell-body .output-view-container{cursor:auto;position:relative;user-select:text;-webkit-user-select:text;white-space:normal}.monaco-workbench .notebook-text-diff-editor .cell-body.left .output-view-container .output-inner-container,.monaco-workbench .notebook-text-diff-editor .cell-body.right .output-view-container .output-inner-container{box-sizing:border-box;overflow-x:hidden;padding:0 8px;width:100%}.monaco-workbench .notebook-text-diff-editor .cell-body.left .output-view-container .output-inner-container,.monaco-workbench .notebook-text-diff-editor .cell-body.right .output-view-container .output-inner-container{padding:0 8px 0 32px}.monaco-workbench .notebook-text-diff-editor .cell-body.full .output-view-container .output-inner-container{box-sizing:border-box;overflow:hidden;padding:4px 8px 4px 32px;width:100%}.monaco-workbench .notebook-text-diff-editor .cell-body.full .output-info-container .output-view-container .output-view-container-left{left:0;position:absolute;top:0}.monaco-workbench .notebook-text-diff-editor .cell-body.full .output-info-container .output-view-container .output-view-container-right{left:50%;position:absolute;top:0}.monaco-workbench .notebook-text-diff-editor .cell-body.full .output-info-container .output-view-container .output-view-container-left,.monaco-workbench .notebook-text-diff-editor .cell-body.full .output-info-container .output-view-container .output-view-container-right{display:inline-block;width:50%}.monaco-workbench .notebook-text-diff-editor .cell-body.full .output-info-container .output-view-container .output-view-container-left div.foreground,.monaco-workbench .notebook-text-diff-editor .cell-body.full .output-info-container .output-view-container .output-view-container-right div.foreground{width:100%}.monaco-workbench .notebook-text-diff-editor .output-view-container>div.foreground{box-sizing:border-box;min-height:24px;width:100%}.monaco-workbench .notebook-text-diff-editor .output-view-container .error_message{color:red}.monaco-workbench .notebook-text-diff-editor .output-view-container .error>div{white-space:normal}.monaco-workbench .notebook-text-diff-editor .output-view-container .error pre.traceback{box-sizing:border-box;margin:0;padding:8px 0}.monaco-workbench .notebook-text-diff-editor .output-view-container .error .traceback>span{display:block}.monaco-workbench .notebook-text-diff-editor .output-view-container .display img{max-width:100%}.monaco-workbench .notebook-text-diff-editor .output-view-container .multi-mimetype-output{cursor:pointer;height:16px;left:8px;padding:2px 4px 4px 2px;position:absolute;top:4px;width:16px}.monaco-workbench .notebook-text-diff-editor .output-view-container .output-empty-view span{opacity:.7}.monaco-workbench .notebook-text-diff-editor .output-view-container .output-empty-view{font-style:italic;height:24px;margin:auto;padding-left:12px}.monaco-workbench .notebook-text-diff-editor .output-view-container pre{margin:4px 0}.monaco-workbench .notebook-text-diff-edito .monaco-list:focus-within .monaco-list-row.focused .codicon,.monaco-workbench .notebook-text-diff-editor .monaco-list:focus-within .monaco-list-row.selected .codicon{color:inherit}.monaco-workbench .notebook-text-diff-editor .output-view-container .output-view-container-metadata{position:relative}.notebook-text-diff-editor .cell-body .codicon-diff-insert,.notebook-text-diff-editor .cell-body .codicon-diff-remove{left:4px!important;width:15px!important}.monaco-workbench .notebook-text-diff-editor>.monaco-list>.monaco-scrollable-element>.scrollbar.visible{cursor:default;z-index:var(--z-index-notebook-scrollbar)}.notebook-text-diff-editor .notebook-overview-ruler-container{position:absolute;right:0;top:0}.notebook-text-diff-editor .notebook-overview-ruler-container .diffViewport{z-index:var(--notebook-diff-view-viewport-slider)}.notebook-text-diff-editor .diffViewport{background:var(--vscode-scrollbarSlider-background)}.notebook-text-diff-editor .diffViewport:hover{background:var(--vscode-scrollbarSlider-hoverBackground)}.notebook-text-diff-editor .diffViewport:active{background:var(--vscode-scrollbarSlider-activeBackground)}.notebook-text-diff-editor .cell-body .border-container .bottom-border,.notebook-text-diff-editor .cell-body .border-container .top-border,.notebook-text-diff-editor .cell-diff-editor-container .metadata-header-container,.notebook-text-diff-editor .cell-diff-editor-container .output-header-container{border-top:1px solid var(--vscode-notebook-cellBorderColor)}.notebook-text-diff-editor .cell-body .border-container .left-border{border-left:1px solid var(--vscode-notebook-cellBorderColor)}.notebook-text-diff-editor .cell-body .border-container .right-border{border-right:1px solid var(--vscode-notebook-cellBorderColor)}.notebook-text-diff-editor .monaco-list-row.focused .cell-body .border-container .bottom-border,.notebook-text-diff-editor .monaco-list-row.focused .cell-body .border-container .top-border{border-top:1px solid var(--vscode-notebook-focusedEditorBorder)}.notebook-text-diff-editor .monaco-list-row.focused .cell-body .border-container .left-border{border-left:1px solid var(--vscode-notebook-focusedEditorBorder)}.notebook-text-diff-editor .monaco-list-row.focused .cell-body .border-container .right-border{border-right:1px solid var(--vscode-notebook-focusedEditorBorder)}.monaco-workbench .notebook-text-diff-editor .cell-body.full .output-info-container.modified .output-view-container .output-view-container-right div.foreground,.monaco-workbench .notebook-text-diff-editor .cell-body.right .output-info-container .output-view-container div.foreground,.monaco-workbench .notebook-text-diff-editor .cell-body.right .output-info-container .output-view-container div.output-empty-view,.notebook-text-diff-editor .cell-body .cell-diff-editor-container.inserted .metadata-editor-container,.notebook-text-diff-editor .cell-body .cell-diff-editor-container.inserted .metadata-editor-container .monaco-editor .margin,.notebook-text-diff-editor .cell-body .cell-diff-editor-container.inserted .metadata-editor-container .monaco-editor .monaco-editor-background,.notebook-text-diff-editor .cell-body .cell-diff-editor-container.inserted .metadata-header-container,.notebook-text-diff-editor .cell-body .cell-diff-editor-container.inserted .output-editor-container,.notebook-text-diff-editor .cell-body .cell-diff-editor-container.inserted .output-editor-container .monaco-editor .margin,.notebook-text-diff-editor .cell-body .cell-diff-editor-container.inserted .output-editor-container .monaco-editor .monaco-editor-background,.notebook-text-diff-editor .cell-body .cell-diff-editor-container.inserted .output-header-container,.notebook-text-diff-editor .cell-body .cell-diff-editor-container.inserted .source-container,.notebook-text-diff-editor .cell-body .cell-diff-editor-container.inserted .source-container .monaco-editor .margin,.notebook-text-diff-editor .cell-body .cell-diff-editor-container.inserted .source-container .monaco-editor .monaco-editor-background{background-color:var(--vscode-diffEditor-insertedTextBackground)}.monaco-workbench .notebook-text-diff-editor .cell-body.full .output-info-container.modified .output-view-container .output-view-container-left div.foreground,.monaco-workbench .notebook-text-diff-editor .cell-body.left .output-info-container .output-view-container div.foreground,.monaco-workbench .notebook-text-diff-editor .cell-body.left .output-info-container .output-view-container div.output-empty-view,.notebook-text-diff-editor .cell-body .cell-diff-editor-container.removed .metadata-editor-container,.notebook-text-diff-editor .cell-body .cell-diff-editor-container.removed .metadata-editor-container .monaco-editor .margin,.notebook-text-diff-editor .cell-body .cell-diff-editor-container.removed .metadata-editor-container .monaco-editor .monaco-editor-background,.notebook-text-diff-editor .cell-body .cell-diff-editor-container.removed .metadata-header-container,.notebook-text-diff-editor .cell-body .cell-diff-editor-container.removed .output-editor-container,.notebook-text-diff-editor .cell-body .cell-diff-editor-container.removed .output-editor-container .monaco-editor .margin,.notebook-text-diff-editor .cell-body .cell-diff-editor-container.removed .output-editor-container .monaco-editor .monaco-editor-background,.notebook-text-diff-editor .cell-body .cell-diff-editor-container.removed .output-header-container,.notebook-text-diff-editor .cell-body .cell-diff-editor-container.removed .source-container,.notebook-text-diff-editor .cell-body .cell-diff-editor-container.removed .source-container .monaco-editor .margin,.notebook-text-diff-editor .cell-body .cell-diff-editor-container.removed .source-container .monaco-editor .monaco-editor-background{background-color:var(--vscode-diffEditor-removedTextBackground)}.notebook-text-diff-editor .cell-body .cell-diff-editor-container .source-container .monaco-editor .margin,.notebook-text-diff-editor .cell-body .cell-diff-editor-container .source-container .monaco-editor .monaco-editor-background{background:var(--vscode-notebook-cellEditorBackground,var(--vscode-editor-background))}";
|
|
4
|
-
n(css,{});
|
|
5
|
-
|
|
6
|
-
export { css, css as default };
|