File tree 1 file changed +0
-8
lines changed
1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ import {
23
23
IStatusBarService ,
24
24
StatusBarService ,
25
25
} from 'mo/services' ;
26
- import { FolderTreeEvent } from 'mo/model/workbench/explorer/folderTree' ;
27
26
28
27
export interface IEditorController {
29
28
groupSplitPos ?: string [ ] ;
@@ -215,7 +214,6 @@ export class EditorController extends Controller implements IEditorController {
215
214
const newValue = editorInstance . getModel ( ) ?. getValue ( ) ;
216
215
const { current } = this . editorService . getState ( ) ;
217
216
const tab = current ?. tab ;
218
- const originValue = tab ?. data ?. value ;
219
217
if ( ! tab ) return ;
220
218
this . editorService . updateTab (
221
219
{
@@ -227,12 +225,6 @@ export class EditorController extends Controller implements IEditorController {
227
225
} ,
228
226
groupId
229
227
) ;
230
- this . emit ( EditorEvent . OnUpdateTab , newValue , groupId , originValue ) ;
231
- this . emit (
232
- FolderTreeEvent . onUpdateFileContent ,
233
- current ?. tab ?. id as any ,
234
- newValue
235
- ) ;
236
228
this . updateStatusBar ( editorInstance ) ;
237
229
} ) ;
238
230
You can’t perform that action at this time.
0 commit comments