Skip to content

Commit 2f16bb6

Browse files
committed
remove unused code
1 parent 857a0b5 commit 2f16bb6

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

src/vs/workbench/contrib/interactiveEditor/browser/interactiveEditorStrategies.ts

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ export abstract class EditModeStrategy {
4040

4141
abstract renderChanges(response: EditResponse, changes: LineRangeMapping[]): Promise<void>;
4242

43-
abstract hide(): Promise<void>;
44-
4543
abstract toggleInlineDiff(): void;
4644
}
4745

@@ -101,10 +99,6 @@ export class PreviewStrategy extends EditModeStrategy {
10199
}
102100
}
103101

104-
override async hide(): Promise<void> {
105-
// nothing to do, input widget will be hidden by controller
106-
}
107-
108102
async cancel(): Promise<void> {
109103
// nothing to do
110104
}
@@ -264,10 +258,6 @@ export class LiveStrategy extends EditModeStrategy {
264258
}
265259
}
266260

267-
override async hide(): Promise<void> {
268-
this._inlineDiffDecorations.clear();
269-
}
270-
271261
async cancel() {
272262
const { textModelN: modelN, textModel0: model0, lastSnapshot } = this._session;
273263
if (modelN.isDisposed() || (model0.isDisposed() && !lastSnapshot)) {
@@ -362,11 +352,6 @@ export class LivePreviewStrategy extends LiveStrategy {
362352
super.dispose();
363353
}
364354

365-
override async hide(): Promise<void> {
366-
this._diffZone.hide();
367-
super.hide();
368-
}
369-
370355
override async makeChanges(_response: EditResponse, edits: ISingleEditOperation[]): Promise<void> {
371356
super.makeChanges(_response, edits, true);
372357
}

0 commit comments

Comments
 (0)