{"version":"2.1.337","anchor":"diff-view-uses-real-file-line-count-for-gutter-width","canonical_anchor":"diff-view-uses-real-file-line-count-for-gutter-width","heading":"Line numbers in diffs now line up across the whole file","tier":"notice","area":"Elsewhere","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337\/e\/diff-view-uses-real-file-line-count-for-gutter-width","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337","markdown":"### Line numbers in diffs now line up across the whole file\n\nThe line-number column in diffs is now sized from the file's total line count, and wrapped rows in side-by-side diffs are counted differently\n\n**What**\n\nA diff is the view that shows what changed in a file. Its gutter is the column of line numbers beside the changes. Claude Code now sizes that column from the total number of lines in the file, not from the start line plus the length of the shown snippet.\n\nThe way it counts rows that wrap onto more than one screen line in side-by-side diffs was also reworked.\n\n**Why**\n\nLine numbers in diffs should stay aligned instead of shifting when the shown part of a file is short.\n\n- Area: Elsewhere\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}