#include <TextOutput.h>
Style of newline used by word wrapping and by (optional) conversion. default: Windows: NEWLINE_WINDOWS, Linux, OS X: NEWLINE_UNIX.
Enumerator |
---|
NEWLINE_WINDOWS |
|
NEWLINE_UNIX |
|
Definition: TextOutput.h:93
Definition: TextOutput.h:93
WRAP_NONE Word wrapping is disabled WRAP_WITHOUT_BREAKING Word-wrap, but don't break continuous lines that are longer than numColumns (default) WRAP_ALWAYS Wrap even if it means breaking a continuous line or a quoted string.
Word wrapping is only allowed at whitespaces ('\n', '\r', '\t', ' '); it will not occur after commas, punctuation, minus signs, or any other characters
Enumerator |
---|
WRAP_NONE |
|
WRAP_WITHOUT_BREAKING |
|
WRAP_ALWAYS |
|
Definition: TextOutput.h:75
Definition: TextOutput.h:75
Definition: TextOutput.h:75
G3D::TextOutput::Settings::Settings |
( |
| ) |
|
|
inline |
bool allowWordWrapInsideDoubleQuotes
Definition: TextOutput.h:82
NewlineStyle newlineStyle
Definition: TextOutput.h:95
Definition: TextOutput.h:93
int spacesPerIndent
Definition: TextOutput.h:88
WordWrapMode wordWrap
Definition: TextOutput.h:78
int numColumns
Definition: TextOutput.h:85
std::string trueSymbol
Definition: TextOutput.h:102
Definition: TextOutput.h:93
Definition: TextOutput.h:75
std::string falseSymbol
Definition: TextOutput.h:105
bool convertNewlines
Definition: TextOutput.h:99
bool G3D::TextOutput::Settings::allowWordWrapInsideDoubleQuotes |
Is word-wrapping allowed to insert newlines inside double quotes? Default: false
bool G3D::TextOutput::Settings::convertNewlines |
If true, all newlines are converted to NewlineStyle regardless of how they start out. Default: true.
std::string G3D::TextOutput::Settings::falseSymbol |
int G3D::TextOutput::Settings::numColumns |
Number of columns for word wrapping. Default: 8
int G3D::TextOutput::Settings::spacesPerIndent |
Number of spaces in each indent. Default: 4
std::string G3D::TextOutput::Settings::trueSymbol |
Defaults to WRAP_WITHOUT_BREAKING
The documentation for this class was generated from the following file: