mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-03 15:01:57 +01:00
move editor moved event to group service
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
import {createDecorator, ServiceIdentifier} from 'vs/platform/instantiation/common/instantiation';
|
||||
import {Position, IEditorInput} from 'vs/platform/editor/common/editor';
|
||||
import {IEditorStacksModel} from 'vs/workbench/common/editor';
|
||||
import Event from 'vs/base/common/event';
|
||||
|
||||
export enum GroupArrangement {
|
||||
MINIMIZE_OTHERS,
|
||||
@@ -23,6 +24,11 @@ export var IEditorGroupService = createDecorator<IEditorGroupService>('editorGro
|
||||
export interface IEditorGroupService {
|
||||
serviceId: ServiceIdentifier<any>;
|
||||
|
||||
/**
|
||||
* Emitted when a editors are moved to another position.
|
||||
*/
|
||||
onEditorsMoved: Event<void>;
|
||||
|
||||
/**
|
||||
* Keyboard focus the editor group at the provided position.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user