Highlighting Agent Changes is broken after recent update

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

After recept update 80% of the code generated by the Agent is not highlighted. I cannot accept/reject it, which makes reviewing it much harder and it forces me to read the diffs.

Some code generate by the Agent is highlighted, but not much.

E.g. I’m talking about this kind of highlighting: (screenshot)

Steps to Reproduce

I am not really sure. Try asking the Agent to make some changes in the codebase. If the changes are one liners, the highlights work. It needs to be a bigger one, mine are 64 characters and bigger.

Expected Behavior

It should highlight absolutely all changes made by the agent with a possibility to Accept/Reject the change.

Screenshots / Screen Recordings

Operating System

Linux

Version Information

Version: 2.5.20
Commit: 511523af765daeb1fa69500ab0df5b6524424610
Date: 2026-02-19T20:41:31.942Z
Browser: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Cursor/2.5.20 Chrome/142.0.7444.265 Electron/39.4.0 Safari/537.36

Does this stop you from using Cursor

No - Cursor works, but with this issue

2 Likes

Hey, this is a known issue. The agent only shows a diff for the first change in a file, and the rest get applied without highlighting. A few dozen users have run into the same thing.

Main thread: Only some diffs are shown when agent makes changes

The bug is logged and the team is aware. As a temporary workaround, you can check changes via git diff or use the Review button in chat.

A post was merged into an existing topic: Only some diffs are shown whhen agent makes changes