-
Notifications
You must be signed in to change notification settings - Fork 0
fix: expanded hunk corrupts line number display in gutter #697
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workingeditorCode editor relatedCode editor relatedpriority: highCritical priorityCritical priority
Description
Summary
When inline diff hunk is expanded (click on diff marker), the line number for the expanded line shows garbled text (e.g., "87℃" instead of "37"). The hunk toolbar appears correctly, but the gutter line number is corrupted.
Screenshot
Line 37 shows "87℃" with the hunk toolbar visible on the right.
Motivation
Line numbers must always be readable, even when hunk viewer is expanded.
Implementation ideas
- The expanded hunk likely inserts content that shifts line number rendering
- Line number view may need to skip or specially handle expanded hunk lines
- Ensure LineNumberGutter accounts for expanded state
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingeditorCode editor relatedCode editor relatedpriority: highCritical priorityCritical priority