1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-18 00:54:19 +00:00

Added Value support to the Button's toggle state and TextEditor content. Refactored the atomic operation functions to live inside a class called Atomic, and the byte order functions into a class called ByteOrder.

This commit is contained in:
Julian Storer 2010-01-10 22:00:59 +00:00
parent 3ddbc82f9f
commit 18ffeba9da
64 changed files with 3721 additions and 3609 deletions

View file

@ -1130,12 +1130,13 @@ void XmlElement::setText (const String& newText) throw()
const String XmlElement::getAllSubText() const throw()
{
String result;
String::Concatenator concatenator (result);
const XmlElement* child = firstChildElement;
while (child != 0)
{
if (child->isTextElement())
result += child->getText();
concatenator.append (child->getText());
child = child->nextElement;
}