Skip to content

Commit e5943cb

Browse files
committed
1 parent 0a4b9f3 commit e5943cb

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/vs/editor/common/services/bulkEdit.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,14 @@ class EditTask implements IDisposable {
114114
}).map(element => element.value);
115115

116116
this._initialSelections = this._getInitialSelections();
117+
this._model.pushStackElement();
117118
this._model.pushEditOperations(this._initialSelections, this._edits, (edits) => this._getEndCursorSelections(edits));
119+
this._model.pushStackElement();
118120
}
119121
if (this._newEol !== undefined) {
122+
this._model.pushStackElement();
120123
this._model.setEOL(this._newEol);
124+
this._model.pushStackElement();
121125
}
122126
}
123127

0 commit comments

Comments
 (0)