File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed
src/vs/workbench/contrib/interactiveEditor/browser Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -40,8 +40,6 @@ export abstract class EditModeStrategy {
40
40
41
41
abstract renderChanges ( response : EditResponse , changes : LineRangeMapping [ ] ) : Promise < void > ;
42
42
43
- abstract hide ( ) : Promise < void > ;
44
-
45
43
abstract toggleInlineDiff ( ) : void ;
46
44
}
47
45
@@ -101,10 +99,6 @@ export class PreviewStrategy extends EditModeStrategy {
101
99
}
102
100
}
103
101
104
- override async hide ( ) : Promise < void > {
105
- // nothing to do, input widget will be hidden by controller
106
- }
107
-
108
102
async cancel ( ) : Promise < void > {
109
103
// nothing to do
110
104
}
@@ -264,10 +258,6 @@ export class LiveStrategy extends EditModeStrategy {
264
258
}
265
259
}
266
260
267
- override async hide ( ) : Promise < void > {
268
- this . _inlineDiffDecorations . clear ( ) ;
269
- }
270
-
271
261
async cancel ( ) {
272
262
const { textModelN : modelN , textModel0 : model0 , lastSnapshot } = this . _session ;
273
263
if ( modelN . isDisposed ( ) || ( model0 . isDisposed ( ) && ! lastSnapshot ) ) {
@@ -362,11 +352,6 @@ export class LivePreviewStrategy extends LiveStrategy {
362
352
super . dispose ( ) ;
363
353
}
364
354
365
- override async hide ( ) : Promise < void > {
366
- this . _diffZone . hide ( ) ;
367
- super . hide ( ) ;
368
- }
369
-
370
355
override async makeChanges ( _response : EditResponse , edits : ISingleEditOperation [ ] ) : Promise < void > {
371
356
super . makeChanges ( _response , edits , true ) ;
372
357
}
You can’t perform that action at this time.
0 commit comments