On Fri, May 7, 2010 at 1:28 PM, Steve Borho <st...@borho.org> wrote: > On Fri, May 7, 2010 at 1:23 PM, Stanimir Stamenkov <s7a...@netscape.net> > wrote: >> Sat, 1 May 2010 16:56:35 -0500, /Steve Borho/: >> >>> Looks like there's a typo in color.py (introduced by me) in w32effects >>> >>> 'bold': FOREGROUND_INTENSITY, >>> .,, >>> 'bold_background': FOREGROUND_INTENSITY, >>> >>> That should be BACKGROUND_INTENSITY [1]. I'll push a fix for this in >>> a short bit. >> >> Thanks, Steve. I'm now using: >> >> tortoisehg-unstable-1.0.25010.25019-x86-3a92b483-6b36-4e14-938e-ab7941aabe26.msi >> >> and I see I can use: >> >> status.deleted = yellow bold blue_background bold_background >> >> I've also tried: >> >> status.deleted = blue bold yellow_background bold_background >> >> but the 'yellow_background' doesn't appear recognized. Looking at: >> >> http://selenic.com/repo/hg/file/tip/hgext/color.py >> >> I see: >> >> _effects = { ... >> 'black_background': 40, 'red_background': 41, >> 'green_background': 42, 'yellow_background': 43, >> 'blue_background': 44, 'purple_background': 45, >> 'cyan_background': 46, 'white_background': 47} >> >> but only: >> >> w32effects = { >> ... >> 'black_background': 0, >> 'red_background': BACKGROUND_RED, >> 'green_background': BACKGROUND_GREEN, >> 'blue_background': BACKGROUND_BLUE, >> 'cyan_background': BACKGROUND_BLUE | BACKGROUND_GREEN, >> ... >> >> Is there a particular reason the 'yellow', 'purple' and 'white' backgrounds >> are omitted for the win32 console? > > I didn't find them here: > > http://msdn.microsoft.com/en-us/library/ms682088%28VS.85%29.aspx
I'll also say I didn't experiment much with OR'ing all the combinations. If you find a combination that works for any of those other tags, let me know and I'll be glad to add them. -- Steve Borho ------------------------------------------------------------------------------ _______________________________________________ Tortoisehg-discuss mailing list Tortoisehg-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss