Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
- When the AI makes multiple StrReplace edits to the same file in one prompt, not all edits appear in the diff summary
- “Undo all” only reverts the edits that were shown in the diff, leaving the file in a broken partial state
- This is worse across multiple files — some files revert, others don’t
Steps to Reproduce
Do a prompt in agent code and let it edit some files. Expand the review tab (the one above prompt text area), click any one file to see changes and you will notice some changes not being highlighted in the diff view. When you click on “undo all” button in the head of review tab you will see that the non highlighted diff doesn’t get undone.
Expected Behavior
All changes should be highlighted and undone.
Operating System
MacOS
Version Information
Version: 2.5.17 (Universal)
VSCode Version: 1.105.1
Commit: 7b98dcb824ea96c9c62362a5e80dbf0d1aae4770
Date: 2026-02-17T05:58:33.110Z
Build Type: Stable
Release Track: Default
Electron: 39.3.0
Chromium: 142.0.7444.265
Node.js: 22.21.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.1.0
For AI issues: which model did you use?
auto
Does this stop you from using Cursor
No - Cursor works, but with this issue