-
Notifications
You must be signed in to change notification settings - Fork 37.7k
Closed
Closed
Copy link
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugverifiedVerification succeededVerification succeeded
Milestone
Description
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.69-insider
- OS Version: MacOS Monterey
Steps to Reproduce:
- Having a side-by-side diff editor
- Make a change that removes a single empty line
- Try to revert the change with the arrow Arrows to revert changes in side by side diff editor #151826
Due to an inaccurate if check in revertChange method [1], the delete of an empty line is not correctly recognized (sorry about that!)
[1]
| } else if (change.modifiedEndLineNumber === 0 && originalContent) { |
... && originalContent != null) instead of just checking ... && originalContent)Metadata
Metadata
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugverifiedVerification succeededVerification succeeded
