Skip to content

Fix removal highlighting for multiple indented lines#407

Open
0x2a-42 wants to merge 2 commits intorust-lang:mainfrom
0x2a-42:fix-multiline-removal-highlight
Open

Fix removal highlighting for multiple indented lines#407
0x2a-42 wants to merge 2 commits intorust-lang:mainfrom
0x2a-42:fix-multiline-removal-highlight

Conversation

@0x2a-42
Copy link
Copy Markdown

@0x2a-42 0x2a-42 commented Apr 23, 2026

Fix for #405.

I think this change should cause partially removed lines, where only whitespace characters remain, to be treated like completely removed lines.

All tests pass except for multiple_highlight_duplicated, which does however not show any visual changes. The only difference is that previously some whitespace characters where not highlighted in red.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant