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

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

From: Jean-Marc van Leerdam <developer_at_bemy.demon.nl>
Date: 2005-03-15 14:01:38 CET

MB> Jean-Marc van Leerdam wrote:
>> Back to the topic of diff colors: What are the exact meanings of the
>> colors listed in the m_BinDiffColors array?

MB> The #define'd diff colors each have a particular meaning.

MB> Each one of the m_BinDiffColors means exactly the same - that a
MB> (precisely) similar block of text was found in both lines that are
MB> being compared. In the m_BinDiffColors case, each substring matched
MB> gets a different color from this array.

MB> The reason for each match to get a different color is that the exact
MB> position of the matched strings does not matter; they can be shuffled
MB> inside the two lines. The color is used to indicate which strings
MB> relate from one line to the other.

Ok, in that case using similar colors will even add to the confusion,
especially if the matched blocks are not on/near the same position in
both lines.

The colors of matched blocks should also stay away from the other
colors in use (added, deleted, conflict). However, since these colors
can be changed by the end-user this creates a challenge :)
Ideally the end user should be allowed to select the 10 different
block colors to use in the line-diff window (so they can be made
suitable for his/her choice).

If creating a GUI for this is not (yet) an option, I would suggest
using light colors, at most two shades per primary color (to avoid
mixing them up on monochrome/low color monitors ;)

Is it possible to change not only the backgroubd color, but foreground
as well? In that case, perhaps matched text can be displayed in blue
on one of the block-color backgrounds, and added/removed/conflicted in
black on the added/removed/conflicted background?

HTH

Jean-Marc.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Mar 15 14:02:09 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.