Lexer: Migrated trim(), trimLeft() and trimRight() from text to Lexer

This commit is contained in:
Paul Beckingham
2015-10-30 11:17:23 -04:00
parent 51def4b12b
commit 182b5427cd
13 changed files with 75 additions and 72 deletions

View File

@@ -113,7 +113,7 @@ Color::Color (const std::string& spec)
std::string word;
for (auto& it : words)
{
word = Lexer::lowerCase (trim (it));
word = Lexer::lowerCase (Lexer::trim (it));
if (word == "bold") fg_value |= _COLOR_BOLD;
else if (word == "bright") bg_value |= _COLOR_BRIGHT;