Lexer: Migrated commify, ucFirst and lowerCase from text to Lexer
This commit is contained in:
@@ -25,13 +25,14 @@
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include <cmake.h>
|
||||
#include <Color.h>
|
||||
#include <iostream>
|
||||
#include <iomanip>
|
||||
#include <sstream>
|
||||
#include <vector>
|
||||
#include <algorithm>
|
||||
#include <main.h>
|
||||
#include <Color.h>
|
||||
#include <Lexer.h>
|
||||
#include <text.h>
|
||||
#include <i18n.h>
|
||||
|
||||
@@ -112,7 +113,7 @@ Color::Color (const std::string& spec)
|
||||
std::string word;
|
||||
for (auto& it : words)
|
||||
{
|
||||
word = lowerCase (trim (it));
|
||||
word = Lexer::lowerCase (trim (it));
|
||||
|
||||
if (word == "bold") fg_value |= _COLOR_BOLD;
|
||||
else if (word == "bright") bg_value |= _COLOR_BRIGHT;
|
||||
|
||||
Reference in New Issue
Block a user