diff -r 4996c8684b93 -r 4d8fa5394d67 sources/coloredline.cpp --- a/sources/coloredline.cpp Wed Jul 20 12:55:39 2016 +0300 +++ b/sources/coloredline.cpp Wed Jul 20 13:20:32 2016 +0300 @@ -184,6 +184,14 @@ // ------------------------------------------------------------------------------------------------- // +void ColoredLine::add_string (const String& text) +{ + for (char a : text) + add_char (a); +} + +// ------------------------------------------------------------------------------------------------- +// void ColoredLine::set_color (Color a, bool on) { assert (a < 8);