Skip to content

Editor: first line code-diff seems it doesn't appear #39258

@gianpaj

Description

@gianpaj

Summary

Diff in the first line seems broken.

Description

If you have a code change in the first line of the editor and click on the Git gutter to display the previous code, it appears that the Editor is broken or something is missing.

Notice that the scrollbar on the right moves slightly down.

It took me some time to realise that you can scroll up.

Expected Behavior:

You should see the previous code change (- diff) in the line above.

The editor should probably scroll to the top in this case

Actual Behavior:

You don't see the previous code change (- diff) in the line above

See the video
zed-Oct-01-2025.02-46-04-opt.mp4

Thanks a lot <3

Zed Version and System Specs

Zed: v0.205.9 (Zed)
OS: macOS 15.6.1
Memory: 16 GiB
Architecture: aarch64

Metadata

Metadata

Assignees

Labels

area:design papercutSmall visual defectsarea:editorFeedback for code editing, formatting, editor iterations, etcfrequency:alwaysBug that happens for everyone on every platform no matter how they use Zedpriority:P3Papercuts, minor issues with a clear workaround, cosmetic bugssize:smallbite-size issuesstate:reproducibleVerified steps to reproduce included and someone on the team managed to reproduce

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions