Feature - Special tags

- Implemented the 'nocolor' special tag.
This commit is contained in:
Paul Beckingham 2009-12-06 11:48:09 -05:00
parent 3003cdaf08
commit 2c5f590fed

View file

@ -55,6 +55,10 @@ void initializeColorRules ()
////////////////////////////////////////////////////////////////////////////////
void autoColorize (Task& task, Color& c)
{
// The special tag 'nocolor' overrides all auto colorization.
if (task.hasTag ("nocolor"))
return;
// Note: fg, bg already contain colors specifically assigned via command.
// Note: These rules form a hierarchy - the last rule is King.