@opensumi/ide-editor 3.9.1-next-1748403623.0 → 3.9.1-next-1748403761.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/lib/browser/base-editor-wrapper.d.ts +58 -0
- package/lib/browser/base-editor-wrapper.d.ts.map +1 -0
- package/lib/browser/base-editor-wrapper.js +203 -0
- package/lib/browser/base-editor-wrapper.js.map +1 -0
- package/lib/browser/decoration-applier.d.ts.map +1 -1
- package/lib/browser/decoration-applier.js.map +1 -1
- package/lib/browser/editor-collection.service.d.ts +21 -57
- package/lib/browser/editor-collection.service.d.ts.map +1 -1
- package/lib/browser/editor-collection.service.js +42 -206
- package/lib/browser/editor-collection.service.js.map +1 -1
- package/lib/browser/editor.contribution.d.ts.map +1 -1
- package/lib/browser/editor.contribution.js +1 -0
- package/lib/browser/editor.contribution.js.map +1 -1
- package/lib/browser/editor.less +25 -0
- package/lib/browser/multi-diff/multi-diff-editor.d.ts +10 -7
- package/lib/browser/multi-diff/multi-diff-editor.d.ts.map +1 -1
- package/lib/browser/multi-diff/multi-diff-editor.js +60 -7
- package/lib/browser/multi-diff/multi-diff-editor.js.map +1 -1
- package/lib/browser/multi-diff/multi-diff-resource.d.ts.map +1 -1
- package/lib/browser/multi-diff/multi-diff-resource.js.map +1 -1
- package/lib/browser/workbench-editor.service.js +1 -1
- package/lib/browser/workbench-editor.service.js.map +1 -1
- package/lib/common/multi-diff.d.ts +6 -1
- package/lib/common/multi-diff.d.ts.map +1 -1
- package/lib/common/multi-diff.js.map +1 -1
- package/package.json +14 -14
- package/src/browser/base-editor-wrapper.ts +254 -0
- package/src/browser/decoration-applier.ts +1 -0
- package/src/browser/editor-collection.service.ts +48 -263
- package/src/browser/editor.contribution.ts +2 -0
- package/src/browser/editor.less +25 -0
- package/src/browser/multi-diff/multi-diff-editor.ts +91 -10
- package/src/browser/multi-diff/multi-diff-resource.ts +0 -1
- package/src/browser/workbench-editor.service.ts +1 -1
- package/src/common/multi-diff.ts +8 -1
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { IRange } from '@opensumi/ide-core-browser';
|
|
2
|
+
import { Disposable, URI, WithEventBus } from '@opensumi/ide-core-common';
|
|
3
|
+
import * as monaco from '@opensumi/ide-monaco';
|
|
4
|
+
import { IConfigurationService } from '@opensumi/monaco-editor-core/esm/vs/platform/configuration/common/configuration';
|
|
5
|
+
import { EditorType, IDecorationApplyOptions, IEditor, IUndoStopOptions } from '../common';
|
|
6
|
+
import { IEditorDocumentModel } from '../common/editor';
|
|
7
|
+
import { MonacoEditorDecorationApplier } from './decoration-applier';
|
|
8
|
+
import { IEditorFeatureRegistry } from './types';
|
|
9
|
+
import type { ICodeEditor as IMonacoCodeEditor } from '@opensumi/ide-monaco/lib/browser/monaco-api/types';
|
|
10
|
+
export type ISumiEditor = IEditor;
|
|
11
|
+
export declare function insertSnippetWithMonacoEditor(editor: IMonacoCodeEditor, template: string, ranges: IRange[], opts: IUndoStopOptions): void;
|
|
12
|
+
export declare abstract class BaseMonacoEditorWrapper extends WithEventBus implements IEditor {
|
|
13
|
+
readonly monacoEditor: IMonacoCodeEditor;
|
|
14
|
+
private type;
|
|
15
|
+
abstract readonly currentDocumentModel: IEditorDocumentModel | null;
|
|
16
|
+
get currentUri(): URI | null;
|
|
17
|
+
getId(): string;
|
|
18
|
+
getSelections(): monaco.Selection[];
|
|
19
|
+
onFocus: monaco.Event<void>;
|
|
20
|
+
onBlur: monaco.Event<void>;
|
|
21
|
+
protected _specialEditorOptions: any;
|
|
22
|
+
protected _specialModelOptions: monaco.editor.ITextModelUpdateOptions;
|
|
23
|
+
protected _editorOptionsFromContribution: any;
|
|
24
|
+
protected readonly editorFeatureRegistry: IEditorFeatureRegistry;
|
|
25
|
+
protected readonly configurationService: IConfigurationService;
|
|
26
|
+
protected readonly decorationApplier: MonacoEditorDecorationApplier;
|
|
27
|
+
private _disableSelectionEmitter;
|
|
28
|
+
protected disableSelectionEmitter(): void;
|
|
29
|
+
protected enableSelectionEmitter(): void;
|
|
30
|
+
private injector;
|
|
31
|
+
constructor(monacoEditor: IMonacoCodeEditor, type: EditorType);
|
|
32
|
+
private onDidChangeModel;
|
|
33
|
+
getType(): EditorType;
|
|
34
|
+
updateOptions(editorOptions?: monaco.editor.IEditorOptions, modelOptions?: monaco.editor.ITextModelUpdateOptions): void;
|
|
35
|
+
private _doUpdateOptions;
|
|
36
|
+
/**
|
|
37
|
+
* 合并所有的选项
|
|
38
|
+
* 优先关系: (从高到底)
|
|
39
|
+
* 1. 当前编辑器的特殊选项(通过调用 updateOptions或者启动时传入)
|
|
40
|
+
* 2. 来自 featureRegistry 的根据 当前uri 提供的选项
|
|
41
|
+
* 3. 来自偏好设置的选项
|
|
42
|
+
*/
|
|
43
|
+
private _calculateFinalOptions;
|
|
44
|
+
insertSnippet(template: string, ranges: IRange[], opts: IUndoStopOptions): void;
|
|
45
|
+
applyDecoration(key: string, options: IDecorationApplyOptions[]): void;
|
|
46
|
+
onSelectionsChanged(listener: any): import("@opensumi/monaco-editor-core/esm/vs/base/common/lifecycle").IDisposable;
|
|
47
|
+
onVisibleRangesChanged(listener: any): Disposable;
|
|
48
|
+
setSelections(selections: any): void;
|
|
49
|
+
setSelection(selection: any): void;
|
|
50
|
+
save(): Promise<void>;
|
|
51
|
+
onConfigurationChanged(listener: any): import("@opensumi/monaco-editor-core/esm/vs/base/common/lifecycle").IDisposable;
|
|
52
|
+
}
|
|
53
|
+
export declare class DiffEditorPart extends BaseMonacoEditorWrapper implements IEditor {
|
|
54
|
+
private getDocumentModel;
|
|
55
|
+
get currentDocumentModel(): IEditorDocumentModel | null;
|
|
56
|
+
constructor(monacoEditor: IMonacoCodeEditor, getDocumentModel: () => IEditorDocumentModel | null, type: EditorType);
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=base-editor-wrapper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base-editor-wrapper.d.ts","sourceRoot":"","s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|
+
exports.DiffEditorPart = exports.BaseMonacoEditorWrapper = void 0;
|
|
4
|
+
exports.insertSnippetWithMonacoEditor = insertSnippetWithMonacoEditor;
|
|
5
|
+
const tslib_1 = require("tslib");
|
|
6
|
+
const di_1 = require("@opensumi/di");
|
|
7
|
+
const ide_core_common_1 = require("@opensumi/ide-core-common");
|
|
8
|
+
const monaco = tslib_1.__importStar(require("@opensumi/ide-monaco"));
|
|
9
|
+
const configuration_1 = require("@opensumi/monaco-editor-core/esm/vs/platform/configuration/common/configuration");
|
|
10
|
+
const common_1 = require("../common");
|
|
11
|
+
const decoration_applier_1 = require("./decoration-applier");
|
|
12
|
+
const converter_1 = require("./preference/converter");
|
|
13
|
+
const types_1 = require("./types");
|
|
14
|
+
function insertSnippetWithMonacoEditor(editor, template, ranges, opts) {
|
|
15
|
+
const snippetController = editor.getContribution('snippetController2');
|
|
16
|
+
const selections = ranges.map((r) => new monaco.Selection(r.startLineNumber, r.startColumn, r.endLineNumber, r.endColumn));
|
|
17
|
+
editor.setSelections(selections);
|
|
18
|
+
editor.focus();
|
|
19
|
+
snippetController.insert(template, 0, 0, opts.undoStopBefore, opts.undoStopAfter);
|
|
20
|
+
}
|
|
21
|
+
const { removeUndefined } = ide_core_common_1.objects;
|
|
22
|
+
function updateOptionsWithMonacoEditor(monacoEditor, editorOptions, modelOptions) {
|
|
23
|
+
monacoEditor.updateOptions(editorOptions);
|
|
24
|
+
if (monacoEditor.getModel()) {
|
|
25
|
+
monacoEditor.getModel().updateOptions(modelOptions);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
let BaseMonacoEditorWrapper = class BaseMonacoEditorWrapper extends ide_core_common_1.WithEventBus {
|
|
29
|
+
get currentUri() {
|
|
30
|
+
return this.currentDocumentModel ? this.currentDocumentModel.uri : null;
|
|
31
|
+
}
|
|
32
|
+
getId() {
|
|
33
|
+
return this.monacoEditor.getId();
|
|
34
|
+
}
|
|
35
|
+
getSelections() {
|
|
36
|
+
return this.monacoEditor.getSelections() || [];
|
|
37
|
+
}
|
|
38
|
+
disableSelectionEmitter() {
|
|
39
|
+
this._disableSelectionEmitter = true;
|
|
40
|
+
}
|
|
41
|
+
enableSelectionEmitter() {
|
|
42
|
+
this._disableSelectionEmitter = false;
|
|
43
|
+
}
|
|
44
|
+
constructor(monacoEditor, type) {
|
|
45
|
+
super();
|
|
46
|
+
this.monacoEditor = monacoEditor;
|
|
47
|
+
this.type = type;
|
|
48
|
+
this.onFocus = this.monacoEditor.onDidFocusEditorWidget;
|
|
49
|
+
this.onBlur = this.monacoEditor.onDidBlurEditorWidget;
|
|
50
|
+
this._specialEditorOptions = {};
|
|
51
|
+
this._specialModelOptions = {};
|
|
52
|
+
this._editorOptionsFromContribution = {};
|
|
53
|
+
this._disableSelectionEmitter = false;
|
|
54
|
+
this.decorationApplier = this.injector.get(decoration_applier_1.MonacoEditorDecorationApplier, [this.monacoEditor]);
|
|
55
|
+
this.addDispose(this.monacoEditor.onDidChangeModel(this.onDidChangeModel.bind(this)));
|
|
56
|
+
this.addDispose(this.monacoEditor.onDidChangeModelLanguage(() => {
|
|
57
|
+
this._doUpdateOptions();
|
|
58
|
+
}));
|
|
59
|
+
this.addDispose(this.configurationService.onDidChangeConfiguration((e) => {
|
|
60
|
+
const changedEditorKeys = Array.from(e.affectedKeys.values()).filter((key) => (0, converter_1.isEditorOption)(key));
|
|
61
|
+
if (changedEditorKeys.length > 0) {
|
|
62
|
+
this._doUpdateOptions();
|
|
63
|
+
}
|
|
64
|
+
}));
|
|
65
|
+
}
|
|
66
|
+
async onDidChangeModel() {
|
|
67
|
+
this._editorOptionsFromContribution = {};
|
|
68
|
+
const uri = this.currentUri;
|
|
69
|
+
if (uri) {
|
|
70
|
+
Promise.resolve(this.editorFeatureRegistry.runProvideEditorOptionsForUri(uri)).then((options) => {
|
|
71
|
+
if (!this.currentUri || !uri.isEqual(this.currentUri)) {
|
|
72
|
+
return; // uri可能已经变了
|
|
73
|
+
}
|
|
74
|
+
if (options && Object.keys(options).length > 0) {
|
|
75
|
+
this._editorOptionsFromContribution = options;
|
|
76
|
+
if (!(0, ide_core_common_1.isEmptyObject)(this._editorOptionsFromContribution)) {
|
|
77
|
+
this._doUpdateOptions();
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
getType() {
|
|
84
|
+
return this.type;
|
|
85
|
+
}
|
|
86
|
+
updateOptions(editorOptions = {}, modelOptions = {}) {
|
|
87
|
+
this._specialEditorOptions = removeUndefined({ ...this._specialEditorOptions, ...editorOptions });
|
|
88
|
+
this._specialModelOptions = removeUndefined({ ...this._specialModelOptions, ...modelOptions });
|
|
89
|
+
this._doUpdateOptions();
|
|
90
|
+
}
|
|
91
|
+
_doUpdateOptions() {
|
|
92
|
+
const { editorOptions, modelOptions } = this._calculateFinalOptions();
|
|
93
|
+
updateOptionsWithMonacoEditor(this.monacoEditor, editorOptions, modelOptions);
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* 合并所有的选项
|
|
97
|
+
* 优先关系: (从高到底)
|
|
98
|
+
* 1. 当前编辑器的特殊选项(通过调用 updateOptions或者启动时传入)
|
|
99
|
+
* 2. 来自 featureRegistry 的根据 当前uri 提供的选项
|
|
100
|
+
* 3. 来自偏好设置的选项
|
|
101
|
+
*/
|
|
102
|
+
_calculateFinalOptions() {
|
|
103
|
+
var _a;
|
|
104
|
+
const uriStr = this.currentUri ? this.currentUri.toString() : undefined;
|
|
105
|
+
const languageId = this.currentDocumentModel ? this.currentDocumentModel.languageId : undefined;
|
|
106
|
+
const options = (0, converter_1.getConvertedMonacoOptions)(this.configurationService, uriStr, languageId, undefined);
|
|
107
|
+
const basicEditorOptions = {
|
|
108
|
+
readOnly: ((_a = this.currentDocumentModel) === null || _a === void 0 ? void 0 : _a.readonly) || false,
|
|
109
|
+
};
|
|
110
|
+
let editorOptions = {
|
|
111
|
+
...basicEditorOptions,
|
|
112
|
+
...options.editorOptions,
|
|
113
|
+
...this._editorOptionsFromContribution,
|
|
114
|
+
...this._specialEditorOptions,
|
|
115
|
+
};
|
|
116
|
+
if (this.type !== common_1.EditorType.CODE) {
|
|
117
|
+
editorOptions = {
|
|
118
|
+
...editorOptions,
|
|
119
|
+
...options.diffOptions,
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
return {
|
|
123
|
+
editorOptions,
|
|
124
|
+
modelOptions: { ...options.modelOptions, ...this._specialModelOptions },
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
insertSnippet(template, ranges, opts) {
|
|
128
|
+
insertSnippetWithMonacoEditor(this.monacoEditor, template, ranges, opts);
|
|
129
|
+
}
|
|
130
|
+
applyDecoration(key, options) {
|
|
131
|
+
this.decorationApplier.applyDecoration(key, options);
|
|
132
|
+
}
|
|
133
|
+
onSelectionsChanged(listener) {
|
|
134
|
+
return this.monacoEditor.onDidChangeCursorSelection((e) => {
|
|
135
|
+
if (!this._disableSelectionEmitter) {
|
|
136
|
+
listener({
|
|
137
|
+
selections: this.getSelections(),
|
|
138
|
+
source: e.source,
|
|
139
|
+
});
|
|
140
|
+
}
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
onVisibleRangesChanged(listener) {
|
|
144
|
+
const disposer = new ide_core_common_1.Disposable();
|
|
145
|
+
const monacoEditor = this.monacoEditor;
|
|
146
|
+
disposer.addDispose(monacoEditor.onDidScrollChange((e) => {
|
|
147
|
+
listener(this.monacoEditor.getVisibleRanges());
|
|
148
|
+
}));
|
|
149
|
+
disposer.addDispose(monacoEditor.onDidLayoutChange((e) => {
|
|
150
|
+
listener(this.monacoEditor.getVisibleRanges());
|
|
151
|
+
}));
|
|
152
|
+
return disposer;
|
|
153
|
+
}
|
|
154
|
+
setSelections(selections) {
|
|
155
|
+
return this.monacoEditor.setSelections(selections);
|
|
156
|
+
}
|
|
157
|
+
setSelection(selection) {
|
|
158
|
+
return this.monacoEditor.setSelection(selection);
|
|
159
|
+
}
|
|
160
|
+
async save() {
|
|
161
|
+
if (this.currentDocumentModel) {
|
|
162
|
+
await this.currentDocumentModel.save();
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
onConfigurationChanged(listener) {
|
|
166
|
+
const monacoEditor = this.monacoEditor;
|
|
167
|
+
return monacoEditor.onDidChangeConfiguration((e) => {
|
|
168
|
+
listener();
|
|
169
|
+
});
|
|
170
|
+
}
|
|
171
|
+
};
|
|
172
|
+
exports.BaseMonacoEditorWrapper = BaseMonacoEditorWrapper;
|
|
173
|
+
tslib_1.__decorate([
|
|
174
|
+
(0, di_1.Autowired)(types_1.IEditorFeatureRegistry),
|
|
175
|
+
tslib_1.__metadata("design:type", Object)
|
|
176
|
+
], BaseMonacoEditorWrapper.prototype, "editorFeatureRegistry", void 0);
|
|
177
|
+
tslib_1.__decorate([
|
|
178
|
+
(0, di_1.Autowired)(configuration_1.IConfigurationService),
|
|
179
|
+
tslib_1.__metadata("design:type", Object)
|
|
180
|
+
], BaseMonacoEditorWrapper.prototype, "configurationService", void 0);
|
|
181
|
+
tslib_1.__decorate([
|
|
182
|
+
(0, di_1.Autowired)(di_1.INJECTOR_TOKEN),
|
|
183
|
+
tslib_1.__metadata("design:type", di_1.Injector)
|
|
184
|
+
], BaseMonacoEditorWrapper.prototype, "injector", void 0);
|
|
185
|
+
exports.BaseMonacoEditorWrapper = BaseMonacoEditorWrapper = tslib_1.__decorate([
|
|
186
|
+
(0, di_1.Injectable)({ multiple: true }),
|
|
187
|
+
tslib_1.__metadata("design:paramtypes", [Object, Object])
|
|
188
|
+
], BaseMonacoEditorWrapper);
|
|
189
|
+
let DiffEditorPart = class DiffEditorPart extends BaseMonacoEditorWrapper {
|
|
190
|
+
get currentDocumentModel() {
|
|
191
|
+
return this.getDocumentModel();
|
|
192
|
+
}
|
|
193
|
+
constructor(monacoEditor, getDocumentModel, type) {
|
|
194
|
+
super(monacoEditor, type);
|
|
195
|
+
this.getDocumentModel = getDocumentModel;
|
|
196
|
+
}
|
|
197
|
+
};
|
|
198
|
+
exports.DiffEditorPart = DiffEditorPart;
|
|
199
|
+
exports.DiffEditorPart = DiffEditorPart = tslib_1.__decorate([
|
|
200
|
+
(0, di_1.Injectable)({ multiple: true }),
|
|
201
|
+
tslib_1.__metadata("design:paramtypes", [Object, Function, Object])
|
|
202
|
+
], DiffEditorPart);
|
|
203
|
+
//# sourceMappingURL=base-editor-wrapper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base-editor-wrapper.js","sourceRoot":"","sources":["../../src/browser/base-editor-wrapper.ts"],"names":[],"mappings":";;;AAiBA,sEAcC;;AA/BD,qCAA+E;AAE/E,+DAA8G;AAC9G,qEAA+C;AAC/C,mHAAwH;AAExH,sCAA2F;AAG3F,6DAAqE;AACrE,sDAAmF;AACnF,mCAAiD;AAMjD,SAAgB,6BAA6B,CAC3C,MAAyB,EACzB,QAAgB,EAChB,MAAgB,EAChB,IAAsB;IAEtB,MAAM,iBAAiB,GAAG,MAAM,CAAC,eAAe,CAAC,oBAAoB,CAAQ,CAAC;IAC9E,MAAM,UAAU,GAAiB,MAAM,CAAC,GAAG,CACzC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,eAAe,EAAE,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,aAAa,EAAE,CAAC,CAAC,SAAS,CAAC,CAC5F,CAAC;IACF,MAAM,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC;IACjC,MAAM,CAAC,KAAK,EAAE,CAAC;IAEf,iBAAiB,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,cAAc,EAAE,IAAI,CAAC,aAAa,CAAC,CAAC;AACpF,CAAC;AAED,MAAM,EAAE,eAAe,EAAE,GAAG,yBAAO,CAAC;AAEpC,SAAS,6BAA6B,CACpC,YAA+B,EAC/B,aAA2C,EAC3C,YAAmD;IAEnD,YAAY,CAAC,aAAa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AEM,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,uBAAuB;IACzD,IAAI,oBAAoB;QACtB,OAAO,IAAI,CAAC,gBAAgB,EAAE,CAAC;IACjC,CAAC;IAED,YACE,YAA+B,EACvB,gBAAmD,EAC3D,IAAgB;QAEhB,KAAK,CAAC,YAAY,EAAE,IAAI,CAAC,CAAC;QAHlB,qBAAgB,GAAhB,gBAAgB,CAAmC;IAI7D,CAAC;CACF,CAAA;AAZY,wCAAc;yBAAd,cAAc;IAD1B,IAAA,eAAU,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;GAClB,cAAc,CAY1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"decoration-applier.d.ts","sourceRoot":"","sources":["../../src/browser/decoration-applier.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAwB,MAAM,2BAA2B,CAAC;AACxF,OAAO,KAAK,MAAM,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEpD,OAAO,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AAE9E,OAAO,EAKL,kCAAkC,EAEnC,MAAM,SAAS,CAAC;AAEjB,OAAO,KAAK,EAAE,WAAW,IAAI,iBAAiB,EAAE,MAAM,mDAAmD,CAAC;AAE1G,qBACa,6BAA8B,SAAQ,UAAU;IAY/C,OAAO,CAAC,MAAM;IAV1B,iBAAiB,EAAE,kCAAkC,CAAC;IAGtD,YAAY,EAAE,aAAa,CAAC;IAG5B,QAAQ,EAAE,SAAS,CAAC;IAEpB,OAAO,CAAC,WAAW,CAA0E;gBAEzE,MAAM,EAAE,iBAAiB;
|
|
1
|
+
{"version":3,"file":"decoration-applier.d.ts","sourceRoot":"","sources":["../../src/browser/decoration-applier.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAwB,MAAM,2BAA2B,CAA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,
|
|
2
|
+
import { IContextKeyService, PreferenceService } from '@opensumi/ide-core-browser';
|
|
3
3
|
import { MonacoService } from '@opensumi/ide-core-browser/lib/monaco';
|
|
4
|
-
import {
|
|
4
|
+
import { Event, ILineChange, URI, WithEventBus } from '@opensumi/ide-core-common';
|
|
5
5
|
import * as monaco from '@opensumi/ide-monaco';
|
|
6
6
|
import { IConfigurationService } from '@opensumi/monaco-editor-core/esm/vs/platform/configuration/common/configuration';
|
|
7
|
-
import { CursorStatus, EditorCollectionService, EditorType, ICodeEditor,
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
7
|
+
import { CursorStatus, EditorCollectionService, EditorType, ICodeEditor, IDiffEditor, IEditor, IResourceOpenOptions } from '../common';
|
|
8
|
+
import { IEditorDocumentModelRef } from '../common/editor';
|
|
9
|
+
import { IMultiDiffEditor } from '../common/multi-diff';
|
|
10
|
+
import { BaseMonacoEditorWrapper, ISumiEditor } from './base-editor-wrapper';
|
|
10
11
|
import { EditorDocumentModelContentChangedEvent, IEditorDocumentModelService } from './doc-model/types';
|
|
11
12
|
import { EditorFeatureRegistryImpl } from './feature';
|
|
12
13
|
import { BrowserMultiDiffEditor } from './multi-diff/multi-diff-editor';
|
|
@@ -19,10 +20,19 @@ export declare class EditorCollectionServiceImpl extends WithEventBus implements
|
|
|
19
20
|
protected readonly editorFeatureRegistry: EditorFeatureRegistryImpl;
|
|
20
21
|
private _editors;
|
|
21
22
|
private _diffEditors;
|
|
23
|
+
private _multiDiffEditors;
|
|
22
24
|
private _onCodeEditorCreate;
|
|
23
25
|
private _onDiffEditorCreate;
|
|
26
|
+
private _onMultiDiffEditorCreate;
|
|
27
|
+
private _onCodeEditorChange;
|
|
28
|
+
private _onDiffEditorChange;
|
|
29
|
+
private _onMultiDiffEditorChange;
|
|
24
30
|
onCodeEditorCreate: Event<ICodeEditor>;
|
|
25
31
|
onDiffEditorCreate: Event<IDiffEditor>;
|
|
32
|
+
onMultiDiffEditorCreate: Event<IMultiDiffEditor>;
|
|
33
|
+
onCodeEditorChange: Event<void>;
|
|
34
|
+
onDiffEditorChange: Event<void>;
|
|
35
|
+
onMultiDiffEditorChange: Event<void>;
|
|
26
36
|
documentModelService: IEditorDocumentModelService;
|
|
27
37
|
private _currentEditor;
|
|
28
38
|
get currentEditor(): IEditor | undefined;
|
|
@@ -46,51 +56,11 @@ export declare class EditorCollectionServiceImpl extends WithEventBus implements
|
|
|
46
56
|
listDiffEditors(): IDiffEditor[];
|
|
47
57
|
addDiffEditors(diffEditors: IDiffEditor[]): void;
|
|
48
58
|
removeDiffEditors(diffEditors: IDiffEditor[]): void;
|
|
59
|
+
listMultiDiffEditors(): IMultiDiffEditor[];
|
|
60
|
+
addMultiDiffEditors(multiDiffEditors: IMultiDiffEditor[]): void;
|
|
61
|
+
removeMultiDiffEditors(multiDiffEditors: IMultiDiffEditor[]): void;
|
|
49
62
|
onDocModelContentChangedEvent(e: EditorDocumentModelContentChangedEvent): void;
|
|
50
63
|
}
|
|
51
|
-
export type ISumiEditor = IEditor;
|
|
52
|
-
export declare function insertSnippetWithMonacoEditor(editor: IMonacoCodeEditor, template: string, ranges: IRange[], opts: IUndoStopOptions): void;
|
|
53
|
-
export declare abstract class BaseMonacoEditorWrapper extends WithEventBus implements IEditor {
|
|
54
|
-
readonly monacoEditor: IMonacoCodeEditor;
|
|
55
|
-
private type;
|
|
56
|
-
abstract readonly currentDocumentModel: IEditorDocumentModel | null;
|
|
57
|
-
get currentUri(): URI | null;
|
|
58
|
-
getId(): string;
|
|
59
|
-
getSelections(): monaco.Selection[];
|
|
60
|
-
onFocus: monaco.Event<void>;
|
|
61
|
-
onBlur: monaco.Event<void>;
|
|
62
|
-
protected _specialEditorOptions: any;
|
|
63
|
-
protected _specialModelOptions: monaco.editor.ITextModelUpdateOptions;
|
|
64
|
-
protected _editorOptionsFromContribution: any;
|
|
65
|
-
protected readonly editorFeatureRegistry: IEditorFeatureRegistry;
|
|
66
|
-
protected readonly configurationService: IConfigurationService;
|
|
67
|
-
protected readonly decorationApplier: MonacoEditorDecorationApplier;
|
|
68
|
-
private _disableSelectionEmitter;
|
|
69
|
-
protected disableSelectionEmitter(): void;
|
|
70
|
-
protected enableSelectionEmitter(): void;
|
|
71
|
-
private injector;
|
|
72
|
-
constructor(monacoEditor: IMonacoCodeEditor, type: EditorType);
|
|
73
|
-
private onDidChangeModel;
|
|
74
|
-
getType(): EditorType;
|
|
75
|
-
updateOptions(editorOptions?: monaco.editor.IEditorOptions, modelOptions?: monaco.editor.ITextModelUpdateOptions): void;
|
|
76
|
-
private _doUpdateOptions;
|
|
77
|
-
/**
|
|
78
|
-
* 合并所有的选项
|
|
79
|
-
* 优先关系: (从高到底)
|
|
80
|
-
* 1. 当前编辑器的特殊选项(通过调用 updateOptions或者启动时传入)
|
|
81
|
-
* 2. 来自 featureRegistry 的根据 当前uri 提供的选项
|
|
82
|
-
* 3. 来自偏好设置的选项
|
|
83
|
-
*/
|
|
84
|
-
private _calculateFinalOptions;
|
|
85
|
-
insertSnippet(template: string, ranges: IRange[], opts: IUndoStopOptions): void;
|
|
86
|
-
applyDecoration(key: string, options: IDecorationApplyOptions[]): void;
|
|
87
|
-
onSelectionsChanged(listener: any): import("@opensumi/monaco-editor-core/esm/vs/base/common/lifecycle").IDisposable;
|
|
88
|
-
onVisibleRangesChanged(listener: any): Disposable;
|
|
89
|
-
setSelections(selections: any): void;
|
|
90
|
-
setSelection(selection: any): void;
|
|
91
|
-
save(): Promise<void>;
|
|
92
|
-
onConfigurationChanged(listener: any): import("@opensumi/monaco-editor-core/esm/vs/base/common/lifecycle").IDisposable;
|
|
93
|
-
}
|
|
94
64
|
export declare class BrowserCodeEditor extends BaseMonacoEditorWrapper implements ICodeEditor {
|
|
95
65
|
readonly monacoEditor: IMonacoCodeEditor;
|
|
96
66
|
private collectionService;
|
|
@@ -101,7 +71,7 @@ export declare class BrowserCodeEditor extends BaseMonacoEditorWrapper implement
|
|
|
101
71
|
onCursorPositionChanged: Event<CursorStatus>;
|
|
102
72
|
private _onRefOpen;
|
|
103
73
|
onRefOpen: Event<IEditorDocumentModelRef>;
|
|
104
|
-
get currentDocumentModel(): IEditorDocumentModel | null;
|
|
74
|
+
get currentDocumentModel(): import("./types").IEditorDocumentModel | null;
|
|
105
75
|
getType(): EditorType;
|
|
106
76
|
constructor(monacoEditor: IMonacoCodeEditor, options?: any);
|
|
107
77
|
layout(dimension?: monaco.IDimension, postponeRendering?: boolean): void;
|
|
@@ -115,11 +85,10 @@ export declare class BrowserDiffEditor extends WithEventBus implements IDiffEdit
|
|
|
115
85
|
readonly monacoDiffEditor: IMonacoDiffEditor;
|
|
116
86
|
private specialOptions;
|
|
117
87
|
private collectionService;
|
|
118
|
-
private appConfig;
|
|
119
88
|
private originalDocModelRef;
|
|
120
89
|
private modifiedDocModelRef;
|
|
121
|
-
get originalDocModel(): IEditorDocumentModel | null;
|
|
122
|
-
get modifiedDocModel(): IEditorDocumentModel | null;
|
|
90
|
+
get originalDocModel(): import("./types").IEditorDocumentModel | null;
|
|
91
|
+
get modifiedDocModel(): import("./types").IEditorDocumentModel | null;
|
|
123
92
|
originalEditor: ISumiEditor;
|
|
124
93
|
modifiedEditor: ISumiEditor;
|
|
125
94
|
_disposed: boolean;
|
|
@@ -147,9 +116,4 @@ export declare class BrowserDiffEditor extends WithEventBus implements IDiffEdit
|
|
|
147
116
|
focus(): void;
|
|
148
117
|
dispose(): void;
|
|
149
118
|
}
|
|
150
|
-
export declare class DiffEditorPart extends BaseMonacoEditorWrapper implements IEditor {
|
|
151
|
-
private getDocumentModel;
|
|
152
|
-
get currentDocumentModel(): IEditorDocumentModel | null;
|
|
153
|
-
constructor(monacoEditor: IMonacoCodeEditor, getDocumentModel: () => IEditorDocumentModel | null, type: EditorType);
|
|
154
|
-
}
|
|
155
119
|
//# sourceMappingURL=editor-collection.service.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor-collection.service.d.ts","sourceRoot":"","sources":["../../src/browser/editor-collection.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyC,QAAQ,EAAE,MAAM,cAAc,CAAC;AAC/E,OAAO,
|
|
1
|
+
{"version":3,"file":"editor-collection.service.d.ts","sourceRoot":"","sources":["../../src/browser/editor-collection.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyC,QAAQ,EAAE,MAAM,cAAc,CAAC;AAC/E,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAEnF,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AACtE,OAAO,EAEL,KAAK,EAEL,WAAW,EAEX,GAAG,EACH,YAAY,EACb,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,MAAM,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,qBAAqB,EAAE,MAAM,iFAAiF,CAAC;AAExH,OAAO,EACL,YAAY,EAEZ,uBAAuB,EACvB,UAAU,EACV,WAAW,EACX,WAAW,EACX,OAAO,EACP,oBAAoB,EAErB,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,uBAAuB,EAAyB,MAAM,kBAAkB,CAAC;AAClF,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAExD,OAAO,EAAE,uBAAuB,EAAkB,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAC7F,OAAO,EAAE,sCAAsC,EAAE,2BAA2B,EAAE,MAAM,mBAAmB,CAAC;AACxG,OAAO,EAAE,yBAAyB,EAAE,MAAM,WAAW,CAAC;AACtD,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAExE,OAAO,EAA2B,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAE1E,OAAO,KAAK,EACV,WAAW,IAAI,iBAAiB,EAChC,WAAW,IAAI,iBAAiB,EACjC,MAAM,mDAAmD,CAAC;AAG3D,qBACa,2BAA4B,SAAQ,YAAa,YAAW,uBAAuB;IAE9F,SAAS,CAAC,QAAQ,CAAC,aAAa,E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