Johannes Rieken 2024-01-24 13:08:06 +01:00 committed by GitHub
parent fa7c021a82
commit 1f607d67c5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 6 deletions

View file

@ -819,7 +819,7 @@ export class InlineChatController implements IEditorContribution {
this._resetWidget();
this._strategy?.pause?.();
this._strategy?.dispose?.();
this._session = undefined;
}

View file

@ -61,7 +61,6 @@ export abstract class EditModeStrategy {
readonly onDidDiscard: Event<void> = this._onDidDiscard.event;
toggleDiff?: () => any;
pause?: () => any;
constructor(
protected readonly _session: Session,
@ -466,10 +465,6 @@ export class LiveStrategy extends EditModeStrategy {
}
}
override pause = () => {
this._ctxCurrentChangeShowsDiff.reset();
};
async apply() {
this._resetDiff();
if (this._editCount > 0) {