-
Notifications
You must be signed in to change notification settings - Fork 0
fix: expanded hunk breaks editor layout — gutter overlaps code content #698
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, the gutter (line numbers + diff markers) overlaps with the code content area. All code lines appear cropped on the left — only the right portion of each line is visible. The hunk toolbar floats over the gutter area.
Screenshot
Full editor view shows line numbers overlapping code text. The entire left side of code content is hidden behind the gutter.
Motivation
Editor is unreadable when hunk is expanded — blocks usage of the inline diff feature.
Implementation ideas
- The expanded hunk insertion likely doesn't account for gutter width recalculation
- NSTextContainer text inset may need updating when hunk expands
- Or the overlay view blocks the text area
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingeditorCode editor relatedCode editor relatedpriority: highCritical priorityCritical priority