@codingame/monaco-vscode-api 1.79.7 → 1.79.8
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/services.d.ts +73 -1
- package/dist/services.js +1 -0
- package/monaco-editor-treemending.patch +531 -531
- package/package.json +1 -1
package/dist/services.d.ts
CHANGED
|
@@ -5250,6 +5250,78 @@ interface ICodeEditorOpenHandler {
|
|
|
5250
5250
|
(input: ITextResourceEditorInput, source: ICodeEditor | null, sideBySide?: boolean): Promise<ICodeEditor | null>;
|
|
5251
5251
|
}
|
|
5252
5252
|
|
|
5253
|
+
declare abstract class BreadcrumbsItem {
|
|
5254
|
+
dispose(): void;
|
|
5255
|
+
abstract equals(other: BreadcrumbsItem): boolean;
|
|
5256
|
+
abstract render(container: HTMLElement): void;
|
|
5257
|
+
}
|
|
5258
|
+
interface IBreadcrumbsWidgetStyles {
|
|
5259
|
+
readonly breadcrumbsBackground: string | undefined;
|
|
5260
|
+
readonly breadcrumbsForeground: string | undefined;
|
|
5261
|
+
readonly breadcrumbsHoverForeground: string | undefined;
|
|
5262
|
+
readonly breadcrumbsFocusForeground: string | undefined;
|
|
5263
|
+
readonly breadcrumbsFocusAndSelectionForeground: string | undefined;
|
|
5264
|
+
}
|
|
5265
|
+
interface IBreadcrumbsItemEvent {
|
|
5266
|
+
type: 'select' | 'focus';
|
|
5267
|
+
item: BreadcrumbsItem;
|
|
5268
|
+
node: HTMLElement;
|
|
5269
|
+
payload: any;
|
|
5270
|
+
}
|
|
5271
|
+
declare class BreadcrumbsWidget {
|
|
5272
|
+
private readonly _disposables;
|
|
5273
|
+
private readonly _domNode;
|
|
5274
|
+
private readonly _scrollable;
|
|
5275
|
+
private readonly _onDidSelectItem;
|
|
5276
|
+
private readonly _onDidFocusItem;
|
|
5277
|
+
private readonly _onDidChangeFocus;
|
|
5278
|
+
readonly onDidSelectItem: Event$1<IBreadcrumbsItemEvent>;
|
|
5279
|
+
readonly onDidFocusItem: Event$1<IBreadcrumbsItemEvent>;
|
|
5280
|
+
readonly onDidChangeFocus: Event$1<boolean>;
|
|
5281
|
+
private readonly _items;
|
|
5282
|
+
private readonly _nodes;
|
|
5283
|
+
private readonly _freeNodes;
|
|
5284
|
+
private readonly _separatorIcon;
|
|
5285
|
+
private _enabled;
|
|
5286
|
+
private _focusedItemIdx;
|
|
5287
|
+
private _selectedItemIdx;
|
|
5288
|
+
private _pendingLayout;
|
|
5289
|
+
private _dimension;
|
|
5290
|
+
constructor(container: HTMLElement, horizontalScrollbarSize: number, separatorIcon: ThemeIcon, styles: IBreadcrumbsWidgetStyles);
|
|
5291
|
+
setHorizontalScrollbarSize(size: number): void;
|
|
5292
|
+
dispose(): void;
|
|
5293
|
+
layout(dim: Dimension | undefined): void;
|
|
5294
|
+
private _updateDimensions;
|
|
5295
|
+
private _updateScrollbar;
|
|
5296
|
+
private _style;
|
|
5297
|
+
setEnabled(value: boolean): void;
|
|
5298
|
+
domFocus(): void;
|
|
5299
|
+
isDOMFocused(): boolean;
|
|
5300
|
+
getFocused(): BreadcrumbsItem;
|
|
5301
|
+
setFocused(item: BreadcrumbsItem | undefined, payload?: any): void;
|
|
5302
|
+
focusPrev(payload?: any): any;
|
|
5303
|
+
focusNext(payload?: any): any;
|
|
5304
|
+
private _focus;
|
|
5305
|
+
reveal(item: BreadcrumbsItem): void;
|
|
5306
|
+
revealLast(): void;
|
|
5307
|
+
private _reveal;
|
|
5308
|
+
getSelection(): BreadcrumbsItem;
|
|
5309
|
+
setSelection(item: BreadcrumbsItem | undefined, payload?: any): void;
|
|
5310
|
+
private _select;
|
|
5311
|
+
getItems(): readonly BreadcrumbsItem[];
|
|
5312
|
+
setItems(items: BreadcrumbsItem[]): void;
|
|
5313
|
+
private _render;
|
|
5314
|
+
private _renderItem;
|
|
5315
|
+
private _onClick;
|
|
5316
|
+
}
|
|
5317
|
+
|
|
5318
|
+
declare const IBreadcrumbsService: ServiceIdentifier<IBreadcrumbsService>;
|
|
5319
|
+
interface IBreadcrumbsService {
|
|
5320
|
+
readonly _serviceBrand: undefined;
|
|
5321
|
+
register(group: GroupIdentifier, widget: BreadcrumbsWidget): IDisposable;
|
|
5322
|
+
getWidget(group: GroupIdentifier): BreadcrumbsWidget | undefined;
|
|
5323
|
+
}
|
|
5324
|
+
|
|
5253
5325
|
declare const IExtensionResourceLoaderService: ServiceIdentifier<IExtensionResourceLoaderService>;
|
|
5254
5326
|
/**
|
|
5255
5327
|
* A service useful for reading resources from within extensions.
|
|
@@ -5532,4 +5604,4 @@ declare function registerServiceInitializeParticipant(participant: ServiceInitia
|
|
|
5532
5604
|
declare const onRenderWorkbench: Event$1<ServicesAccessor>;
|
|
5533
5605
|
declare function initialize(overrides: IEditorOverrideServices): Promise<void>;
|
|
5534
5606
|
|
|
5535
|
-
export { EditorInput, EditorsOrder, GoFilter, GoScope, GroupIdentifier, IAction, IAudioCueService, IBulkEditService, IClipboardService, ICloseEditorOptions, ICodeEditorService, IColorTheme, ICommandService, IConfigurationChangeEvent, IConfigurationService, IContextKeyService, IDebugService, IEditorCloseEvent, IEditorGroup, IEditorOptions, IEditorPane, IEditorService, IEditorWorkerService, IFileService, IFindEditorOptions, IGroupModelChangeEvent, IHistoryService, IHostService, IInstantiationService, IKeybindingEditingService, ILanguageService, ILanguageStatusService, ILayoutService, ILogService, IMarkdownString, IModelService, IOpenerService, IOutputService, IPaneCompositePartService, IPathService, IPreferencesSearchService, IPreferencesService, IProductService, IQuickInputService, IResourceEditorInput, ISnippetsService, IStorageService, ITelemetryService, IThemeService, IUntypedEditorInput, IUriIdentityService, IVisibleEditorPane, IWorkbenchEnvironmentService, IWorkspaceContextService, Severity, StorageScope, StorageTarget, initialize, onRenderWorkbench, registerServiceInitializeParticipant };
|
|
5607
|
+
export { EditorInput, EditorsOrder, GoFilter, GoScope, GroupIdentifier, IAction, IAudioCueService, IBreadcrumbsService, IBulkEditService, IClipboardService, ICloseEditorOptions, ICodeEditorService, IColorTheme, ICommandService, IConfigurationChangeEvent, IConfigurationService, IContextKeyService, IDebugService, IEditorCloseEvent, IEditorGroup, IEditorOptions, IEditorPane, IEditorService, IEditorWorkerService, IFileService, IFindEditorOptions, IGroupModelChangeEvent, IHistoryService, IHostService, IInstantiationService, IKeybindingEditingService, ILanguageService, ILanguageStatusService, ILayoutService, ILogService, IMarkdownString, IModelService, IOpenerService, IOutputService, IPaneCompositePartService, IPathService, IPreferencesSearchService, IPreferencesService, IProductService, IQuickInputService, IResourceEditorInput, ISnippetsService, IStorageService, ITelemetryService, IThemeService, IUntypedEditorInput, IUriIdentityService, IVisibleEditorPane, IWorkbenchEnvironmentService, IWorkspaceContextService, Severity, StorageScope, StorageTarget, initialize, onRenderWorkbench, registerServiceInitializeParticipant };
|
package/dist/services.js
CHANGED
|
@@ -29,6 +29,7 @@ export { IProductService } from 'monaco-editor/esm/vs/platform/product/common/pr
|
|
|
29
29
|
export { IQuickInputService } from 'monaco-editor/esm/vs/platform/quickinput/common/quickInput.js';
|
|
30
30
|
export { ITelemetryService } from 'monaco-editor/esm/vs/platform/telemetry/common/telemetry.js';
|
|
31
31
|
export { IUriIdentityService } from 'monaco-editor/esm/vs/platform/uriIdentity/common/uriIdentity.js';
|
|
32
|
+
export { IBreadcrumbsService } from './vscode/vs/workbench/browser/parts/editor/breadcrumbs.js';
|
|
32
33
|
export { GroupDirection, GroupLocation, GroupOrientation, GroupsArrangement, GroupsOrder, IEditorGroupsService, MergeGroupMode } from './vscode/vs/workbench/services/editor/common/editorGroupsService.js';
|
|
33
34
|
export { CloseDirection, EditorsOrder } from './vscode/vs/workbench/common/editor.js';
|
|
34
35
|
export { EditorInput } from './vscode/vs/workbench/common/editor/editorInput.js';
|