[REQ] compare by contents - allow user to set bg color

English support forum

Moderators: white, Hacker, petermad, Stefan2

ggiunta
Junior Member
Junior Member
Posts: 39
Joined: 2005-05-09, 16:40 UTC

[REQ] compare by contents - allow user to set bg color

Post by *ggiunta »

It would be nice to set the background color for differences in the compared files. The standard white background is not enough of an indicator for me.

PS: Is it already possible? I have missed quite a few options in the past...
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

That must Christian have had foreseen :lol: :

Configuration->options->Color:Combox "others": Compare by Content:
"Differences - text mode"
"Differences - text mode (selected)"
"Differences - binary mode"
"Differences - binary mode (selected)"

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
ggiunta
Junior Member
Junior Member
Posts: 39
Joined: 2005-05-09, 16:40 UTC

Post by *ggiunta »

Yes, but I cannot use that dialog to pick a background color.

There could also be an option for 'new text' (lines only appearing in one of the 2 files) as opposed to 'changed text' - I am not sure if the integrated diff viewer can handle that, though.
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

:oops: sorry, apparently I did not read carefully enough. :oops:

For the Backgroud color is no way to change AFAIK.

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
User avatar
leedlt
Junior Member
Junior Member
Posts: 18
Joined: 2004-05-03, 08:51 UTC
Location: Stuttgart, Germany

I second the motion!!!

Post by *leedlt »

Hi All,

I am color-challenged and really need to have a different background color for the "differences" text. That can't really be very hard to do. :wink:

Maybe somebody knows a "hack" to "fix" this? :shock:

Greetings

Thom
Just Do It
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

Yep, there is a hack, it's called WinMerge:
http://winmerge.sourceforge.net/

You can integrate it as a compare tool in TC, by creating a button or by editing wincmd.ini:

Code: Select all

[Configuration]
CompareTool="%programfiles%\WinMerge\WinMergeU.exe" /x /s /r /e
Other workarounds aren't available.

Icfu
This account is for sale
User avatar
leedlt
Junior Member
Junior Member
Posts: 18
Joined: 2004-05-03, 08:51 UTC
Location: Stuttgart, Germany

Thanks

Post by *leedlt »

Hi ICFU,

thanks, that's a big help. I can't get the two files to be displayed one over the other, but at least I can SEE the differences now. :shock:

Greetings

Thom
Just Do It
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

I can't get the two files to be displayed one over the other
Well, you can display the differences vertically:
Menu => View => Diff Pane

Then jump with Alt+Down/Up to the differences.

Icfu
This account is for sale
User avatar
sas2000
Power Member
Power Member
Posts: 682
Joined: 2003-02-07, 04:32 UTC
Location: Galiza

Post by *sas2000 »

 
icfu wrote:Yep, there is a hack, it's called WinMerge:
http://winmerge.sourceforge.net/
Do you know if is it possible to redefine hotkeys in WinMerge ?, thanks.
 
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

Not that I know of. But you can, as always, use AHK and create own hotkeys.

This would send Ctrl+f when Alt+F7 is pressed and Ctrl+Y when Ctrl+Shift+Z is pressed:

Code: Select all

#IfWinActive, ahk_class Afx:00400000:8:00010011:00000000:001C06E3
!f7::SendInput, ^f
^+z::SendInput, ^y
Icfu
This account is for sale
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

ggiunta wrote:It would be nice to set the background color for differences in the compared files.
Support++.

If, in case of tabs, only the real character is marked (not the expanded additional tabs),
this would help to see these white space differences, too.
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
User avatar
menet
Member
Member
Posts: 199
Joined: 2005-04-21, 12:27 UTC
Location: Paris, France

Post by *menet »

StatusQuo wrote:
ggiunta wrote:It would be nice to set the background color for differences in the compared files.
Support++.

If, in case of tabs, only the real character is marked (not the expanded additional tabs),
this would help to see these white space differences, too.
+1 8)

I have also requested to give color to background in file compare function in the past HERE but never received a reply from Christian :cry:

Best regards :wink:
#22273 Personal licence
User avatar
Charla
Junior Member
Junior Member
Posts: 13
Joined: 2011-09-18, 14:06 UTC
Location: Czech Republic

Agree

Post by *Charla »

Unfortunately I am semi colour-blindness. I can't see compaction when only text colour change. I really need to set bg colour, because it helps me to see differences.
Thanks for understanding.
BTW I am so sorry for my English, I hope You'll understand.
Thanks for reading and have a nice day,
With regards,
Chibi Charla
User avatar
Stance
Power Member
Power Member
Posts: 1079
Joined: 2005-03-29, 06:26 UTC

Post by *Stance »

Thanks for using the search before posting - but this topic is from 2005: 6.5 years old. Even the last posting is nearly 4 years old.
That must be a world record for bumping the oldest topic. :D

Link: Style of cursor and selection - why they are exclusive??
Here I have made the suggestion that TC needs a color-selection-tool with two panels. A lot of problems could be solved with that.
It gives you a "on the fly-overview" for the active and the inactive panel. You can show your support in this topic.

I don't believe that you are the only color-blind person who need a color-theme for the "file compare tool".
Just open another topic and ask other colorblind users to share their color-settings with you.
HackerTradition
Junior Member
Junior Member
Posts: 13
Joined: 2012-01-18, 10:37 UTC

Re: Agree

Post by *HackerTradition »

Charla wrote:Unfortunately I am semi colour-blindness. I can't see compaction when only text colour change. I really need to set bg colour, because it helps me to see differences.
Thanks for understanding.
You can try out TC UP (Total Commander Ultima Prime), which employs TC as its core program but with additional features.

Check out the screen shots
http://tcup.pl/index.php?l=en&s=screeny&akcja=pokaz
It has got what you want.
Post Reply