@codingame/monaco-vscode-api 1.81.5 → 1.81.7-next.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/dist/default-extensions/npm/npmBrowserMain.js.map +1 -1
- package/dist/default-extensions/typescript-language-features/tsserver.web.js.map +1 -1
- package/dist/dist/types/src/service-override/tools/editor.d.ts +29 -4
- package/dist/missing-services.js +31 -5
- package/dist/monaco.d.ts +3 -0
- package/dist/monaco.js +3 -0
- package/dist/service-override/configuration.d.ts +3 -3
- package/dist/service-override/editor.d.ts +3 -51
- package/dist/service-override/editor.js +14 -58
- package/dist/service-override/files.d.ts +4 -4
- package/dist/service-override/keybindings.d.ts +1 -1
- package/dist/service-override/languages.d.ts +1 -1
- package/dist/service-override/layout.d.ts +3 -3
- package/dist/service-override/output.d.ts +1 -1
- package/dist/service-override/terminal.d.ts +2 -2
- package/dist/service-override/tools/editor.js +372 -4
- package/dist/service-override/views.d.ts +6 -6
- package/dist/service-override/views.js +69 -40
- package/dist/vscode/vs/platform/actions/common/actions.d.ts +30 -1
- package/dist/vscode/vs/platform/contextkey/common/contextkey.d.ts +39 -1
- package/dist/vscode/vs/platform/keybinding/common/keybindingsRegistry.d.ts +42 -1
- package/dist/vscode/vs/platform/workspace/common/workspaceTrust.d.ts +23 -1
- package/dist/vscode/vs/workbench/browser/parts/editor/editor.d.ts +20 -0
- package/dist/vscode/vs/workbench/services/editor/browser/editorService.d.ts +105 -0
- package/monaco-editor-treemending.patch +919 -919
- package/package.json +1 -1
|
@@ -44,6 +44,25 @@ interface IContextKeyExpression {
|
|
|
44
44
|
negate(): ContextKeyExpression;
|
|
45
45
|
}
|
|
46
46
|
type ContextKeyExpression = (ContextKeyFalseExpr | ContextKeyTrueExpr | ContextKeyDefinedExpr | ContextKeyNotExpr | ContextKeyEqualsExpr | ContextKeyNotEqualsExpr | ContextKeyRegexExpr | ContextKeyNotRegexExpr | ContextKeyAndExpr | ContextKeyOrExpr | ContextKeyInExpr | ContextKeyNotInExpr | ContextKeyGreaterExpr | ContextKeyGreaterEqualsExpr | ContextKeySmallerExpr | ContextKeySmallerEqualsExpr);
|
|
47
|
+
declare abstract class ContextKeyExpr {
|
|
48
|
+
static false(): ContextKeyExpression;
|
|
49
|
+
static true(): ContextKeyExpression;
|
|
50
|
+
static has(key: string): ContextKeyExpression;
|
|
51
|
+
static equals(key: string, value: any): ContextKeyExpression;
|
|
52
|
+
static notEquals(key: string, value: any): ContextKeyExpression;
|
|
53
|
+
static regex(key: string, value: RegExp): ContextKeyExpression;
|
|
54
|
+
static in(key: string, value: string): ContextKeyExpression;
|
|
55
|
+
static notIn(key: string, value: string): ContextKeyExpression;
|
|
56
|
+
static not(key: string): ContextKeyExpression;
|
|
57
|
+
static and(...expr: Array<ContextKeyExpression | undefined | null>): ContextKeyExpression | undefined;
|
|
58
|
+
static or(...expr: Array<ContextKeyExpression | undefined | null>): ContextKeyExpression | undefined;
|
|
59
|
+
static greater(key: string, value: number): ContextKeyExpression;
|
|
60
|
+
static greaterEquals(key: string, value: number): ContextKeyExpression;
|
|
61
|
+
static smaller(key: string, value: number): ContextKeyExpression;
|
|
62
|
+
static smallerEquals(key: string, value: number): ContextKeyExpression;
|
|
63
|
+
private static _parser;
|
|
64
|
+
static deserialize(serialized: string | null | undefined): ContextKeyExpression | undefined;
|
|
65
|
+
}
|
|
47
66
|
declare class ContextKeyFalseExpr implements IContextKeyExpression {
|
|
48
67
|
static INSTANCE: ContextKeyFalseExpr;
|
|
49
68
|
readonly type = ContextKeyExprType.False;
|
|
@@ -290,6 +309,25 @@ declare class ContextKeyOrExpr implements IContextKeyExpression {
|
|
|
290
309
|
map(mapFnc: IContextKeyExprMapper): ContextKeyExpression;
|
|
291
310
|
negate(): ContextKeyExpression;
|
|
292
311
|
}
|
|
312
|
+
interface ContextKeyInfo {
|
|
313
|
+
readonly key: string;
|
|
314
|
+
readonly type?: string;
|
|
315
|
+
readonly description?: string;
|
|
316
|
+
}
|
|
317
|
+
declare class RawContextKey<T extends ContextKeyValue> extends ContextKeyDefinedExpr {
|
|
318
|
+
private static _info;
|
|
319
|
+
static all(): IterableIterator<ContextKeyInfo>;
|
|
320
|
+
private readonly _defaultValue;
|
|
321
|
+
constructor(key: string, defaultValue: T | undefined, metaOrHide?: string | true | {
|
|
322
|
+
type: string;
|
|
323
|
+
description: string;
|
|
324
|
+
});
|
|
325
|
+
bindTo(target: IContextKeyService): IContextKey<T>;
|
|
326
|
+
getValue(target: IContextKeyService): T | undefined;
|
|
327
|
+
toNegated(): ContextKeyExpression;
|
|
328
|
+
isEqualTo(value: any): ContextKeyExpression;
|
|
329
|
+
notEqualsTo(value: any): ContextKeyExpression;
|
|
330
|
+
}
|
|
293
331
|
type ContextKeyValue = null | undefined | boolean | number | string | Array<null | undefined | boolean | number | string> | Record<string, null | undefined | boolean | number | string>;
|
|
294
332
|
interface IContext {
|
|
295
333
|
getValue<T extends ContextKeyValue = ContextKeyValue>(key: string): T | undefined;
|
|
@@ -328,4 +366,4 @@ interface IContextKeyService {
|
|
|
328
366
|
updateParent(parentContextKeyService: IContextKeyService): void;
|
|
329
367
|
}
|
|
330
368
|
|
|
331
|
-
export { ContextKeyAndExpr, ContextKeyDefinedExpr, ContextKeyEqualsExpr, ContextKeyExprType, ContextKeyExpression, ContextKeyFalseExpr, ContextKeyGreaterEqualsExpr, ContextKeyGreaterExpr, ContextKeyInExpr, ContextKeyNotEqualsExpr, ContextKeyNotExpr, ContextKeyNotInExpr, ContextKeyNotRegexExpr, ContextKeyOrExpr, ContextKeyRegexExpr, ContextKeySmallerEqualsExpr, ContextKeySmallerExpr, ContextKeyTrueExpr, ContextKeyValue, IContext, IContextKey, IContextKeyChangeEvent, IContextKeyExprMapper, IContextKeyExpression, IContextKeyService, IContextKeyServiceTarget, IReadableSet, IScopedContextKeyService };
|
|
369
|
+
export { ContextKeyAndExpr, ContextKeyDefinedExpr, ContextKeyEqualsExpr, ContextKeyExpr, ContextKeyExprType, ContextKeyExpression, ContextKeyFalseExpr, ContextKeyGreaterEqualsExpr, ContextKeyGreaterExpr, ContextKeyInExpr, ContextKeyInfo, ContextKeyNotEqualsExpr, ContextKeyNotExpr, ContextKeyNotInExpr, ContextKeyNotRegexExpr, ContextKeyOrExpr, ContextKeyRegexExpr, ContextKeySmallerEqualsExpr, ContextKeySmallerExpr, ContextKeyTrueExpr, ContextKeyValue, IContext, IContextKey, IContextKeyChangeEvent, IContextKeyExprMapper, IContextKeyExpression, IContextKeyService, IContextKeyServiceTarget, IReadableSet, IScopedContextKeyService, RawContextKey };
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
import { Keybinding } from '../../../base/common/keybindings.js';
|
|
2
|
+
import { ICommandHandler, ICommandHandlerDescription } from '../../commands/common/commands.js';
|
|
3
|
+
import { ContextKeyExpression } from '../../contextkey/common/contextkey.js';
|
|
4
|
+
import { IDisposable } from '../../../base/common/lifecycle.js';
|
|
5
|
+
|
|
6
|
+
interface IKeybindingItem {
|
|
7
|
+
keybinding: Keybinding | null;
|
|
8
|
+
command: string | null;
|
|
9
|
+
commandArgs?: any;
|
|
10
|
+
when: ContextKeyExpression | null | undefined;
|
|
11
|
+
weight1: number;
|
|
12
|
+
weight2: number;
|
|
13
|
+
extensionId: string | null;
|
|
14
|
+
isBuiltinExtension: boolean;
|
|
15
|
+
}
|
|
1
16
|
interface IKeybindings {
|
|
2
17
|
primary?: number;
|
|
3
18
|
secondary?: number[];
|
|
@@ -14,5 +29,31 @@ interface IKeybindings {
|
|
|
14
29
|
secondary?: number[];
|
|
15
30
|
};
|
|
16
31
|
}
|
|
32
|
+
interface IKeybindingRule extends IKeybindings {
|
|
33
|
+
id: string;
|
|
34
|
+
weight: number;
|
|
35
|
+
args?: any;
|
|
36
|
+
when?: ContextKeyExpression | null | undefined;
|
|
37
|
+
}
|
|
38
|
+
interface IExtensionKeybindingRule {
|
|
39
|
+
keybinding: Keybinding | null;
|
|
40
|
+
id: string;
|
|
41
|
+
args?: any;
|
|
42
|
+
weight: number;
|
|
43
|
+
when: ContextKeyExpression | undefined;
|
|
44
|
+
extensionId?: string;
|
|
45
|
+
isBuiltinExtension?: boolean;
|
|
46
|
+
}
|
|
47
|
+
interface ICommandAndKeybindingRule extends IKeybindingRule {
|
|
48
|
+
handler: ICommandHandler;
|
|
49
|
+
description?: ICommandHandlerDescription | null;
|
|
50
|
+
}
|
|
51
|
+
interface IKeybindingsRegistry {
|
|
52
|
+
registerKeybindingRule(rule: IKeybindingRule): IDisposable;
|
|
53
|
+
setExtensionKeybindings(rules: IExtensionKeybindingRule[]): void;
|
|
54
|
+
registerCommandAndKeybindingRule(desc: ICommandAndKeybindingRule): IDisposable;
|
|
55
|
+
getDefaultKeybindings(): IKeybindingItem[];
|
|
56
|
+
}
|
|
57
|
+
declare const KeybindingsRegistry: IKeybindingsRegistry;
|
|
17
58
|
|
|
18
|
-
export { IKeybindings };
|
|
59
|
+
export { ICommandAndKeybindingRule, IExtensionKeybindingRule, IKeybindingItem, IKeybindingRule, IKeybindings, IKeybindingsRegistry, KeybindingsRegistry };
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import { ServiceIdentifier } from '../../instantiation/common/instantiation.js';
|
|
2
|
+
import { Event } from '../../../base/common/event.js';
|
|
3
|
+
import { URI } from '../../../base/common/uri.js';
|
|
4
|
+
|
|
1
5
|
interface WorkspaceTrustRequestButton {
|
|
2
6
|
readonly label: string;
|
|
3
7
|
readonly type: 'ContinueWithTrust' | 'ContinueWithoutTrust' | 'Manage' | 'Cancel';
|
|
@@ -6,5 +10,23 @@ interface WorkspaceTrustRequestOptions {
|
|
|
6
10
|
readonly buttons?: WorkspaceTrustRequestButton[];
|
|
7
11
|
readonly message?: string;
|
|
8
12
|
}
|
|
13
|
+
declare const enum WorkspaceTrustUriResponse {
|
|
14
|
+
Open = 1,
|
|
15
|
+
OpenInNewWindow = 2,
|
|
16
|
+
Cancel = 3
|
|
17
|
+
}
|
|
18
|
+
declare const IWorkspaceTrustRequestService: ServiceIdentifier<IWorkspaceTrustRequestService>;
|
|
19
|
+
interface IWorkspaceTrustRequestService {
|
|
20
|
+
readonly _serviceBrand: undefined;
|
|
21
|
+
readonly onDidInitiateOpenFilesTrustRequest: Event<void>;
|
|
22
|
+
readonly onDidInitiateWorkspaceTrustRequest: Event<WorkspaceTrustRequestOptions | undefined>;
|
|
23
|
+
readonly onDidInitiateWorkspaceTrustRequestOnStartup: Event<void>;
|
|
24
|
+
completeOpenFilesTrustRequest(result: WorkspaceTrustUriResponse, saveResponse?: boolean): Promise<void>;
|
|
25
|
+
requestOpenFilesTrust(openFiles: URI[]): Promise<WorkspaceTrustUriResponse>;
|
|
26
|
+
cancelWorkspaceTrustRequest(): void;
|
|
27
|
+
completeWorkspaceTrustRequest(trusted?: boolean): Promise<void>;
|
|
28
|
+
requestWorkspaceTrust(options?: WorkspaceTrustRequestOptions): Promise<boolean | undefined>;
|
|
29
|
+
requestWorkspaceTrustOnStartup(): void;
|
|
30
|
+
}
|
|
9
31
|
|
|
10
|
-
export { WorkspaceTrustRequestButton, WorkspaceTrustRequestOptions };
|
|
32
|
+
export { IWorkspaceTrustRequestService, WorkspaceTrustRequestButton, WorkspaceTrustRequestOptions, WorkspaceTrustUriResponse };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { IEditorIdentifier } from '../../../common/editor.js';
|
|
2
|
+
import { Event } from '../../../../base/common/event.js';
|
|
3
|
+
import { IEditorService } from '../../../services/editor/common/editorService.js';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* A sub-interface of IEditorService to hide some workbench-core specific
|
|
7
|
+
* events from clients.
|
|
8
|
+
*/
|
|
9
|
+
interface EditorServiceImpl extends IEditorService {
|
|
10
|
+
/**
|
|
11
|
+
* Emitted when an editor failed to open.
|
|
12
|
+
*/
|
|
13
|
+
readonly onDidOpenEditorFail: Event<IEditorIdentifier>;
|
|
14
|
+
/**
|
|
15
|
+
* Emitted when the list of most recently active editors change.
|
|
16
|
+
*/
|
|
17
|
+
readonly onDidMostRecentlyActiveEditorsChange: Event<void>;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export { EditorServiceImpl };
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { IInstantiationService } from '../../../../platform/instantiation/common/instantiation.js';
|
|
2
|
+
import { IEditorOptions, IResourceEditorInput, ITextResourceEditorInput, IResourceEditorInputIdentifier } from '../../../../platform/editor/common/editor.js';
|
|
3
|
+
import { IEditorCloseEvent, IEditorIdentifier, IVisibleEditorPane, EditorsOrder, IEditorPane, IUntypedEditorInput, IUntitledTextResourceEditorInput, IResourceDiffEditorInput, ITextDiffEditorPane, EditorInputWithOptions, IFindEditorOptions, GroupIdentifier, IRevertOptions } from '../../../common/editor.js';
|
|
4
|
+
import { EditorInput } from '../../../common/editor/editorInput.js';
|
|
5
|
+
import { IFileService } from '../../../../platform/files/common/files.js';
|
|
6
|
+
import { Event } from '../../../../base/common/event.js';
|
|
7
|
+
import { URI } from '../../../../base/common/uri.js';
|
|
8
|
+
import { IEditorGroupsService, ICloseEditorOptions, IEditorGroup, IEditorReplacement } from '../common/editorGroupsService.js';
|
|
9
|
+
import { IEditorsChangeEvent, PreferredGroup, IOpenEditorsOptions, IUntypedEditorReplacement, ISaveEditorsOptions, ISaveEditorsResult, ISaveAllEditorsOptions, IRevertAllEditorsOptions } from '../common/editorService.js';
|
|
10
|
+
import { IConfigurationService } from '../../../../platform/configuration/common/configuration.js';
|
|
11
|
+
import { Disposable } from '../../../../base/common/lifecycle.js';
|
|
12
|
+
import { ICodeEditor, IDiffEditor } from '../../../../editor/browser/editorBrowser.js';
|
|
13
|
+
import { EditorServiceImpl } from '../../../browser/parts/editor/editor.js';
|
|
14
|
+
import { IWorkspaceContextService } from '../../../../platform/workspace/common/workspace.js';
|
|
15
|
+
import { IUriIdentityService } from '../../../../platform/uriIdentity/common/uriIdentity.js';
|
|
16
|
+
import { IEditorResolverService } from '../common/editorResolverService.js';
|
|
17
|
+
import { IWorkspaceTrustRequestService } from '../../../../platform/workspace/common/workspaceTrust.js';
|
|
18
|
+
import { IHostService } from '../../host/browser/host.js';
|
|
19
|
+
import { ITextEditorService } from '../../textfile/common/textEditorService.js';
|
|
20
|
+
|
|
21
|
+
declare class EditorService extends Disposable implements EditorServiceImpl {
|
|
22
|
+
private readonly editorGroupService;
|
|
23
|
+
private readonly instantiationService;
|
|
24
|
+
private readonly fileService;
|
|
25
|
+
private readonly configurationService;
|
|
26
|
+
private readonly contextService;
|
|
27
|
+
private readonly uriIdentityService;
|
|
28
|
+
private readonly editorResolverService;
|
|
29
|
+
private readonly workspaceTrustRequestService;
|
|
30
|
+
private readonly hostService;
|
|
31
|
+
private readonly textEditorService;
|
|
32
|
+
readonly _serviceBrand: undefined;
|
|
33
|
+
private readonly _onDidActiveEditorChange;
|
|
34
|
+
readonly onDidActiveEditorChange: Event<void>;
|
|
35
|
+
private readonly _onDidVisibleEditorsChange;
|
|
36
|
+
readonly onDidVisibleEditorsChange: Event<void>;
|
|
37
|
+
private readonly _onDidEditorsChange;
|
|
38
|
+
readonly onDidEditorsChange: Event<IEditorsChangeEvent>;
|
|
39
|
+
private readonly _onDidCloseEditor;
|
|
40
|
+
readonly onDidCloseEditor: Event<IEditorCloseEvent>;
|
|
41
|
+
private readonly _onDidOpenEditorFail;
|
|
42
|
+
readonly onDidOpenEditorFail: Event<IEditorIdentifier>;
|
|
43
|
+
private readonly _onDidMostRecentlyActiveEditorsChange;
|
|
44
|
+
readonly onDidMostRecentlyActiveEditorsChange: Event<void>;
|
|
45
|
+
constructor(editorGroupService: IEditorGroupsService, instantiationService: IInstantiationService, fileService: IFileService, configurationService: IConfigurationService, contextService: IWorkspaceContextService, uriIdentityService: IUriIdentityService, editorResolverService: IEditorResolverService, workspaceTrustRequestService: IWorkspaceTrustRequestService, hostService: IHostService, textEditorService: ITextEditorService);
|
|
46
|
+
private registerListeners;
|
|
47
|
+
private lastActiveEditor;
|
|
48
|
+
private onEditorGroupsReady;
|
|
49
|
+
private handleActiveEditorChange;
|
|
50
|
+
private doHandleActiveEditorChangeEvent;
|
|
51
|
+
private registerGroupListeners;
|
|
52
|
+
private readonly activeOutOfWorkspaceWatchers;
|
|
53
|
+
private handleVisibleEditorsChange;
|
|
54
|
+
private onDidRunFileOperation;
|
|
55
|
+
private onDidFilesChange;
|
|
56
|
+
private handleMovedFile;
|
|
57
|
+
private closeOnFileDelete;
|
|
58
|
+
private onConfigurationUpdated;
|
|
59
|
+
private handleDeletedFile;
|
|
60
|
+
private getAllNonDirtyEditors;
|
|
61
|
+
private readonly editorsObserver;
|
|
62
|
+
get activeEditorPane(): IVisibleEditorPane | undefined;
|
|
63
|
+
get activeTextEditorControl(): ICodeEditor | IDiffEditor | undefined;
|
|
64
|
+
get activeTextEditorLanguageId(): string | undefined;
|
|
65
|
+
get count(): number;
|
|
66
|
+
get editors(): EditorInput[];
|
|
67
|
+
getEditors(order: EditorsOrder, options?: {
|
|
68
|
+
excludeSticky?: boolean;
|
|
69
|
+
}): readonly IEditorIdentifier[];
|
|
70
|
+
get activeEditor(): EditorInput | undefined;
|
|
71
|
+
get visibleEditorPanes(): IVisibleEditorPane[];
|
|
72
|
+
get visibleTextEditorControls(): Array<ICodeEditor | IDiffEditor>;
|
|
73
|
+
get visibleEditors(): EditorInput[];
|
|
74
|
+
openEditor(editor: EditorInput, options?: IEditorOptions, group?: PreferredGroup): Promise<IEditorPane | undefined>;
|
|
75
|
+
openEditor(editor: IUntypedEditorInput, group?: PreferredGroup): Promise<IEditorPane | undefined>;
|
|
76
|
+
openEditor(editor: IResourceEditorInput, group?: PreferredGroup): Promise<IEditorPane | undefined>;
|
|
77
|
+
openEditor(editor: ITextResourceEditorInput | IUntitledTextResourceEditorInput, group?: PreferredGroup): Promise<IEditorPane | undefined>;
|
|
78
|
+
openEditor(editor: IResourceDiffEditorInput, group?: PreferredGroup): Promise<ITextDiffEditorPane | undefined>;
|
|
79
|
+
openEditor(editor: EditorInput | IUntypedEditorInput, optionsOrPreferredGroup?: IEditorOptions | PreferredGroup, preferredGroup?: PreferredGroup): Promise<IEditorPane | undefined>;
|
|
80
|
+
openEditors(editors: EditorInputWithOptions[], group?: PreferredGroup, options?: IOpenEditorsOptions): Promise<IEditorPane[]>;
|
|
81
|
+
openEditors(editors: IUntypedEditorInput[], group?: PreferredGroup, options?: IOpenEditorsOptions): Promise<IEditorPane[]>;
|
|
82
|
+
openEditors(editors: Array<EditorInputWithOptions | IUntypedEditorInput>, group?: PreferredGroup, options?: IOpenEditorsOptions): Promise<IEditorPane[]>;
|
|
83
|
+
private handleWorkspaceTrust;
|
|
84
|
+
private extractEditorResources;
|
|
85
|
+
isOpened(editor: IResourceEditorInputIdentifier): boolean;
|
|
86
|
+
isVisible(editor: EditorInput): boolean;
|
|
87
|
+
closeEditor({ editor, groupId }: IEditorIdentifier, options?: ICloseEditorOptions): Promise<void>;
|
|
88
|
+
closeEditors(editors: IEditorIdentifier[], options?: ICloseEditorOptions): Promise<void>;
|
|
89
|
+
findEditors(resource: URI, options?: IFindEditorOptions): readonly IEditorIdentifier[];
|
|
90
|
+
findEditors(editor: IResourceEditorInputIdentifier, options?: IFindEditorOptions): readonly IEditorIdentifier[];
|
|
91
|
+
findEditors(resource: URI, options: IFindEditorOptions | undefined, group: IEditorGroup | GroupIdentifier): readonly EditorInput[];
|
|
92
|
+
findEditors(editor: IResourceEditorInputIdentifier, options: IFindEditorOptions | undefined, group: IEditorGroup | GroupIdentifier): EditorInput | undefined;
|
|
93
|
+
findEditors(arg1: URI | IResourceEditorInputIdentifier, options: IFindEditorOptions | undefined, arg2?: IEditorGroup | GroupIdentifier): readonly IEditorIdentifier[] | readonly EditorInput[] | EditorInput | undefined;
|
|
94
|
+
replaceEditors(replacements: IUntypedEditorReplacement[], group: IEditorGroup | GroupIdentifier): Promise<void>;
|
|
95
|
+
replaceEditors(replacements: IEditorReplacement[], group: IEditorGroup | GroupIdentifier): Promise<void>;
|
|
96
|
+
save(editors: IEditorIdentifier | IEditorIdentifier[], options?: ISaveEditorsOptions): Promise<ISaveEditorsResult>;
|
|
97
|
+
saveAll(options?: ISaveAllEditorsOptions): Promise<ISaveEditorsResult>;
|
|
98
|
+
revert(editors: IEditorIdentifier | IEditorIdentifier[], options?: IRevertOptions): Promise<boolean>;
|
|
99
|
+
revertAll(options?: IRevertAllEditorsOptions): Promise<boolean>;
|
|
100
|
+
private getAllModifiedEditors;
|
|
101
|
+
private getUniqueEditors;
|
|
102
|
+
dispose(): void;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export { EditorService };
|