mirror of
https://github.com/Microsoft/vscode
synced 2024-10-12 06:17:18 +00:00
This commit is contained in:
parent
fa7c021a82
commit
1f607d67c5
|
@ -819,7 +819,7 @@ export class InlineChatController implements IEditorContribution {
|
|||
|
||||
this._resetWidget();
|
||||
|
||||
this._strategy?.pause?.();
|
||||
this._strategy?.dispose?.();
|
||||
this._session = undefined;
|
||||
}
|
||||
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue