Enhancement

- Allow a separate color for error messages via the 'color.error'
  configuration variable.
This commit is contained in:
Louis-Claude Canon 2012-06-26 09:30:39 +02:00 committed by Paul Beckingham
parent eaae2d84da
commit e1407437e0
21 changed files with 97 additions and 1 deletions

View file

@ -356,6 +356,15 @@ std::string colorizeFootnote (const std::string& input)
return input;
}
////////////////////////////////////////////////////////////////////////////////
std::string colorizeError (const std::string& input)
{
if (gsColor["color.error"].nontrivial ())
return gsColor["color.error"].colorize (input);
return input;
}
////////////////////////////////////////////////////////////////////////////////
std::string colorizeDebug (const std::string& input)
{