mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 04:49:35 +00:00
Fixes #198814
This commit is contained in:
parent
ead63533e1
commit
823d54f86e
|
@ -470,6 +470,7 @@ export class DiffEditorWidget extends DelegatingEditor implements IDiffEditor {
|
|||
revert(diff: DetailedLineRangeMapping): void {
|
||||
if (diff.innerChanges) {
|
||||
this.revertRangeMappings(diff.innerChanges);
|
||||
return;
|
||||
}
|
||||
|
||||
const model = this._diffModel.get()?.model;
|
||||
|
|
Loading…
Reference in a new issue