[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [TSVN] Re: Re[2]: Official request... Directory Diff

From: Molle Bestefich <molle.bestefich_at_gmail.com>
Date: 2005-03-16 13:59:44 CET

Jens Scheidtmann wrote:
> The binary diff is best thought of as:
> - Built up second string from longest substrings, which can be found in first string.
> - color those parts alike.

Doesn't always work though. See screenshot.
(The bizarre colors from m_BinDiffColors actually looks OK in this
case - I wonder ;-).)

[snipped explanation]

Your explanation is better. Thanks.

> If parts of the second string cannot be found in first string, these
> will have the same color as the string in the right display (yellow).

Screenshot is relevant.

>> The reason for each match to get a different color is that the exact
>> position of the matched strings does not matter; they can be shuffled
>> inside the two lines. The color is used to indicate which strings
>> relate from one line to the other.
> So you want to have them as visually distinct as possible.

Hell no :-)! I'd like them to be different shades, to aid in visually
discerning matched strings. But I'd like to have different meanings
for different colours. Keeping the explanation as simple as "red
means removed, yellow means added, green is the same (might have been
moved around)" appeals to me.

Can you provide any good examples where it is vitally important to
have extremely contrasting colors?

Many of the original colors are, by the way, for some reason *very*
close. Compare:
         RGB(0x33, 0x00, 0x99)
         RGB(0x41, 0x00, 0x99)

Can anybody provide a good explanation for why this is?

SteveKing wrote:
> Can you provide a color scheme with 8 colors? I then change it to only
> use 8 colors...

Guess I'm too late :-).
Let me know if you want me to whip something up anyway.

To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org

Received on Wed Mar 16 14:01:05 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.