Diff Viewer not showing correct code

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Sometimes the diff viewer displays wrong code on the “old content” (red part)

On the attached image you can see that the code that appears on the normal editor (in red) is not the same code that appears when we click on the left border

The correct is the second: leafPage.ContentSize -= subPageSize
But the editor is showing db.markPageDirty(leafPage)

Steps to Reproduce

I don’t know, it happens sometimes. Not always

I suspect it is after I do accepting of some changes with mouse

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.0.0
VSCode Version: 1.96.2
Commit: 53b99ce608cba35127ae3a050c1738a959750860
Date: 2025-06-04T19:21:22.523Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin arm64 22.1.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. I noticed that you’re on an older version of Cursor. Could you try updating to the latest version or download it here:

It happened again, now in new version

pay attention to the first red line in normal window and “modal” one. they differ:

Version: 1.4.5
VSCode Version: 1.99.3
Commit: af58d92614edb1f72bdd756615d131bf8dfa5290
Date: 2025-08-13T02:08:56.371Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 22.1.0

Hey, 1.4.5 isn’t the latest version, the most recent one right now is 1.5.9.

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.