sources/coloredline.cpp

changeset 145
d0aedc9be448
parent 143
b9993733952a
child 150
37db42ad451a
child 181
e254398fcc7c
equal deleted inserted replaced
144:e8d58327cd7f 145:d0aedc9be448
125 } 125 }
126 else if (m_colorCodeStage == 2) 126 else if (m_colorCodeStage == 2)
127 { 127 {
128 if (ch == ']') 128 if (ch == ']')
129 { 129 {
130 String color = m_incomingColorName.to_lowercase(); 130 String color = m_incomingColorName.toLowerCase();
131 131
132 for (const ColorCodeInfo &colorInfo : colorCodes) 132 for (const ColorCodeInfo &colorInfo : colorCodes)
133 { 133 {
134 if (String(colorInfo.name).to_lowercase() == color) 134 if (String(colorInfo.name).toLowerCase() == color)
135 { 135 {
136 activateColor(colorInfo.color, colorInfo.bold); 136 activateColor(colorInfo.color, colorInfo.bold);
137 m_colorCodeStage = 0; 137 m_colorCodeStage = 0;
138 break; 138 break;
139 } 139 }

mercurial