Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Word difference colors for deletions are also used for additions #2341

Open
bobbyfox82 opened this issue May 29, 2024 · 1 comment
Open

Word difference colors for deletions are also used for additions #2341

bobbyfox82 opened this issue May 29, 2024 · 1 comment

Comments

@bobbyfox82
Copy link

When performing a text diff with Line Difference Coloring enabled, the colors for Deleted Word Difference and Deleted Selected Word Diff are applied to the word additions.
To reproduce, diff original.txt and modified.txt. See the images below for the diff options used and the diff results.

original.txt
modified.txt

Options
WordDifference
SelectedWordDifference

@sdottaka
Copy link
Member

This is confusing, but it's the expected coloring: if a word in either pane is deleted, the Word Difference (Deleted) color will be applied to the word in the other pane. This is because WinMerge doesn't essentially assume that the left pane is the old file and the right pane is the new file. There are some UI improvement requests for this:

Related issue: #359

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

No branches or pull requests

2 participants