Page 1 of 1

compare by content background color

Posted: 2009-05-29, 15:14 UTC
by drac
Hi,

Compare by content is a very nice feature of Total Commander.

Sometimes the differences displayed with red text are hard to spot, sometimes impossible - differences between tabs and spaces in source code.

I would suggest the ability to change also the background color for the differences.

Tanks for listenting.

Cheers.

Posted: 2009-05-29, 15:20 UTC
by Samuel
Support++

Winmerge uses a good color scheme.

Posted: 2009-05-29, 17:28 UTC
by MVV
You can setup _foreground_ colour for differences in "Configuration - Color" page (check listbox "Others"). But maybe it won't so bad to add also background colours.

Posted: 2009-05-31, 09:32 UTC
by X-Byte
I also requested this a while ago, without success.
But I support this new request, maybe we succeed this time ;-)

Support++

Posted: 2009-05-31, 10:13 UTC
by jb
++Support
Samuel wrote:Winmerge uses a good color scheme.
What exactly do you find good on it?

I find the default color scheme of WinMerge 2.12 bad because it stresses the equal parts instead of the different parts within a line and even this only if "View line differences" is enabled.
Total Commander does it much better (apart from differences in whitespace) because Total Commander marks only different characters instead of different lines.

By the way I find also the diff engine (actually the main task) of WinMerge disappointing, that is, WinMerge recognizes the different parts less reliably than Total Commander and other compare tools.

I use WinMerge only in emergencies with my USB stick on foreign computers because:
- WinMerge is portable and free (open source).
- WinMerge supports syntax highlighting for about 30 programming languages.
- WinMerge has a "Diff Pane" presenting the current two lines vertically.


MVV wrote:You can setup _foreground_ colour for differences in "Configuration - Color" page (check listbox "Others").
Thanks for the hint. I missed this possibility.
MVV wrote:But maybe it won't so bad to add also background colours.
It is definitely a good idea because "whitespace" is pure background, that is, differences in whitespace can be made visible only with a different background.

Posted: 2009-05-31, 10:22 UTC
by Sombra
Already commented, but I support the idea too.
(apart from differences in whitespace).
The next maybe can help you a bit, but no so good as the suggestion for mark "only" the differences in a line.
A workaround that I use often is activate the "edit mode", in this way, the whole line is selected and marked with a different color, so the tabs and blank spaces can be seen more easily (especially if the blank spaces are at begin or to the end of the line).

Posted: 2009-05-31, 10:57 UTC
by Samuel
2jb
I just like the colors of winmerge. I also dont like how winmerge compares sometimes.

Posted: 2016-07-07, 08:33 UTC
by damjang
support +++++++

white spaces differences are not visible now (not coloured in red because is a white space...). The background modification on differences will be very good option, or maybe also another option to show invisible chars (like in various text editors). Then this chars can be coloured in red...

Re: compare by content background color

Posted: 2022-09-20, 05:09 UTC
by PLCh
I join the request for an additional possibility (constant) of the background color for detected differences, especially needed for intervals.
___
Thanks in advance !