@@ -16,7 +16,7 @@ import { attachProgressBarStyler } from 'vs/platform/theme/common/styler';
1616import { IThemeService , registerThemingParticipant , Themable } from 'vs/platform/theme/common/themeService' ;
1717import { editorBackground , contrastBorder } from 'vs/platform/theme/common/colorRegistry' ;
1818import { EDITOR_GROUP_HEADER_TABS_BACKGROUND , EDITOR_GROUP_HEADER_NO_TABS_BACKGROUND , EDITOR_GROUP_EMPTY_BACKGROUND , EDITOR_GROUP_FOCUSED_EMPTY_BORDER , EDITOR_GROUP_HEADER_BORDER } from 'vs/workbench/common/theme' ;
19- import { IMoveEditorOptions , ICopyEditorOptions , ICloseEditorsFilter , IGroupChangeEvent , GroupChangeKind , GroupsOrder , ICloseEditorOptions , ICloseAllEditorsOptions , OpenEditorInGroupContext } from 'vs/workbench/services/editor/common/editorGroupsService' ;
19+ import { IMoveEditorOptions , ICopyEditorOptions , ICloseEditorsFilter , IGroupChangeEvent , GroupChangeKind , GroupsOrder , ICloseEditorOptions , ICloseAllEditorsOptions , OpenEditorContext } from 'vs/workbench/services/editor/common/editorGroupsService' ;
2020import { TabsTitleControl } from 'vs/workbench/browser/parts/editor/tabsTitleControl' ;
2121import { EditorControl } from 'vs/workbench/browser/parts/editor/editorControl' ;
2222import { IEditorProgressService } from 'vs/platform/progress/common/progress' ;
@@ -863,7 +863,7 @@ export class EditorGroupView extends Themable implements IEditorGroupView {
863863
864864 //#region openEditor()
865865
866- async openEditor ( editor : EditorInput , options ?: EditorOptions , context ?: OpenEditorInGroupContext ) : Promise < IEditorPane | null > {
866+ async openEditor ( editor : EditorInput , options ?: EditorOptions , context ?: OpenEditorContext ) : Promise < IEditorPane | null > {
867867
868868 // Guard against invalid inputs
869869 if ( ! editor ) {
@@ -1171,7 +1171,7 @@ export class EditorGroupView extends Themable implements IEditorGroupView {
11711171 } ) ) ;
11721172
11731173 // A move to another group is an open first...
1174- target . openEditor ( editor , options , keepCopy ? OpenEditorInGroupContext . COPY_EDITOR : OpenEditorInGroupContext . MOVE_EDITOR ) ;
1174+ target . openEditor ( editor , options , keepCopy ? OpenEditorContext . COPY_EDITOR : OpenEditorContext . MOVE_EDITOR ) ;
11751175
11761176 // ...and a close afterwards (unless we copy)
11771177 if ( ! keepCopy ) {
@@ -1718,7 +1718,7 @@ class EditorOpeningEvent implements IEditorOpeningEvent {
17181718 private _group : GroupIdentifier ,
17191719 private _editor : EditorInput ,
17201720 private _options : EditorOptions | undefined ,
1721- private _context : OpenEditorInGroupContext | undefined
1721+ private _context : OpenEditorContext | undefined
17221722 ) {
17231723 }
17241724
@@ -1734,7 +1734,7 @@ class EditorOpeningEvent implements IEditorOpeningEvent {
17341734 return this . _options ;
17351735 }
17361736
1737- get context ( ) : OpenEditorInGroupContext | undefined {
1737+ get context ( ) : OpenEditorContext | undefined {
17381738 return this . _context ;
17391739 }
17401740
0 commit comments