int lineWrapLength = 60; /**< A maximum line length before wrapping is done. (If allOnOneLine is true, this is ignored) */
There is no member variable name allOnOneLine
Where is this at? I believe they’re referring to the argument(s) allOnOneLine
in the createDocument()
/ writeToStream()
/ writeToFile()
methods
https://docs.juce.com/master/classXmlElement.html#a4a55313aba630bc87deb927375f06cff
In struct TextFormat
I think it should say: If newLineChars == nullptr, this is ignored
RolandMR:
In struct TextFormat
I can’t find this anywhere in XmlElement
, and I also only see a newLineChars
in the CodeDocument
class files. Is this an older version of JUCE?
It’s in the latest on develop:
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2017 - ROLI Ltd.
JUCE is an open source library subject to commercial or open-source
licensing.
The code included in this file is provided under the terms of the ISC license
http://www.isc.org/downloads/software-support-policy/isc-license. Permission
To use, copy, modify, and/or distribute this software for any purpose with or
without fee is hereby granted provided that the above copyright notice and
this permission notice appear in all copies.
JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
DISCLAIMED.
==============================================================================
This file has been truncated. show original
t0m
June 12, 2019, 2:00pm
6
Thanks, I’ll get that fixed.