sources/coloredline.cpp

changeset 132
8a4690db252e
parent 113
b3a33bc2e482
child 137
485cb6d6b98c
child 133
4d8fa5394d67
--- a/sources/coloredline.cpp	Mon Jan 11 16:58:59 2016 +0200
+++ b/sources/coloredline.cpp	Fri May 15 22:46:53 2015 +0300
@@ -176,6 +176,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);

mercurial