Hans-Emil Skogh wrote:
> Hi again!
>
> I was looking at the age coloring of lines in TortoiseBlame, and I don't
> really get it. When I look at the code it seems to me as the color would
> suppose to fade linearly from the new color to the old color depending
> of the age of the line. But on the nightly that I'm running there is no
> such fading present. The top new lines (50 revisions of 3000 or so) have
> the new color and the rest have the old color.
>
> What gives? Am I reading the code wrong, is Scintilla somehow narrowing
> the number of colors down, or is it plain simple magic going on?
Well, if you have revisions between 1 and 3000, but most lines are e.g.,
above 2500, then you won't see much difference: the lowest revision gets
the most red, the highest revision gets the most blue. Revisions in
between the lowest and the highest get a color between red and blue,
according to their 'distance' between the lowest and highest revision.
You can try this on the src/changelog.txt file in the TSVN repository:
that file has many lines, with the oldest at the bottom and the newest
ones at the top - when you scroll through that file in TortoiseBlame,
you will see the fading colors quite clear.
Stefan
--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed May 23 21:00:09 2007