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

Re: [TSVN] TBlame patch for window colours

From: SteveKing <steveking_at_gmx.ch>
Date: 2004-09-18 10:53:37 CEST

Simon Large wrote:
> At last! I made MyFirstProgram.patch :-)

Thanks! Committed in revision 1701.

> This implements the colour interpolation scheme described on the user list.
> I have tested it with quite a few of the Win2K colour schemes and it seems
> to work in most cases. It does not work that well with the reverse colour
> high-contrast schemes because there is not a big difference between
> green-on-black and green-on-very-dark-grey. But there again, the scintilla
> bit ignores the colour scheme altogether.

Works great on XP too.
About the scintilla: The coloring there is done via the lexers. Check
out the Lexer.cpp file to see how it's done. But I don't think that
coloring the backgrounds there is worth the work.

> You will be pleased to know that my first attempt came out pink as well.
> Wrong algorithm ;-)

At least, I'm not the only one doing things wrong the first time :)

> BTW. If the scintilla dll is missing, the program shows a blank window and
> then either does nothing or stops with a divide-by-zero error.

I don't think that this would ever happen. At least not if the
installation of TSVN doesn't get messed up.
But I added a check for that in revision 1702 which will simply end
TBlame in such a case.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sat Sep 18 13:04:30 2004

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