Browse Source

Updated some documentation

tags/2021-05-28
Tom Poole 6 years ago
parent
commit
52a4939b62
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_core/xml/juce_XmlElement.h

+ 1
- 1
modules/juce_core/xml/juce_XmlElement.h View File

@@ -192,7 +192,7 @@ public:
String customHeader; /**< If supplied, this header will be used (and customEncoding & addDefaultHeader will be ignored). */ String customHeader; /**< If supplied, this header will be used (and customEncoding & addDefaultHeader will be ignored). */
String customEncoding; /**< If not empty and addDefaultHeader is true, this will be set as the encoding. Otherwise, a default of "UTF-8" will be used */ String customEncoding; /**< If not empty and addDefaultHeader is true, this will be set as the encoding. Otherwise, a default of "UTF-8" will be used */
bool addDefaultHeader = true; /**< If true, a default header will be generated; otherwise just bare XML will be emitted. */ bool addDefaultHeader = true; /**< If true, a default header will be generated; otherwise just bare XML will be emitted. */
int lineWrapLength = 60; /**< A maximum line length before wrapping is done. (If allOnOneLine is true, this is ignored) */
int lineWrapLength = 60; /**< A maximum line length before wrapping is done. (If newLineChars is nullptr, this is ignored) */
const char* newLineChars = "\r\n"; /**< Allows the newline characters to be set. If you set this to nullptr, then the whole XML document will be placed on a single line. */ const char* newLineChars = "\r\n"; /**< Allows the newline characters to be set. If you set this to nullptr, then the whole XML document will be placed on a single line. */
TextFormat singleLine() const; /**< returns a copy of this format with newLineChars set to nullptr. */ TextFormat singleLine() const; /**< returns a copy of this format with newLineChars set to nullptr. */


Loading…
Cancel
Save