Skip to content

Anchor scroll offsets so that entire diff hunks at viewport top become visible#44932

Merged
maxbrunsfeld merged 2 commits intomainfrom
diff-hunk-scroll
Dec 15, 2025
Merged

Anchor scroll offsets so that entire diff hunks at viewport top become visible#44932
maxbrunsfeld merged 2 commits intomainfrom
diff-hunk-scroll

Conversation

@maxbrunsfeld
Copy link
Collaborator

@maxbrunsfeld maxbrunsfeld commented Dec 15, 2025

Fixes #39258

Release Notes:

  • Fixed a bug when expanding a diff hunk at the beginning of a file, where the deleted portion of the hunk would remain outside of the viewport.

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Dec 15, 2025
@maxbrunsfeld maxbrunsfeld merged commit f8561b4 into main Dec 15, 2025
23 checks passed
@maxbrunsfeld maxbrunsfeld deleted the diff-hunk-scroll branch December 15, 2025 23:50
marcocondrache added a commit to marcocondrache/zed that referenced this pull request Dec 16, 2025
Signed-off-by: Marco Mihai Condrache <52580954+marcocondrache@users.noreply.github.com>
CherryWorm pushed a commit to CherryWorm/zed that referenced this pull request Dec 16, 2025
marcocondrache added a commit to marcocondrache/zed that referenced this pull request Dec 18, 2025
Signed-off-by: Marco Mihai Condrache <52580954+marcocondrache@users.noreply.github.com>
marcocondrache added a commit to marcocondrache/zed that referenced this pull request Dec 25, 2025
Signed-off-by: Marco Mihai Condrache <52580954+marcocondrache@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

1 participant