I just tried again with the latest updates on both develop and master branches, it’s still happening on my end.
Here’s what I’m seeing:
Pasting the following text into the Member Initialisers field for a GUI component file (test.cpp) and saving, (save, save all, save project and open in IDE, etc)…
sliders{{new Slider(Slider::SliderStyle::RotaryHorizontalVerticalDrag, Slider::TextEntryBoxPosition::NoTextBox),
new Slider(Slider::SliderStyle::RotaryHorizontalVerticalDrag, Slider::TextEntryBoxPosition::NoTextBox),
new Slider(Slider::SliderStyle::RotaryHorizontalVerticalDrag, Slider::TextEntryBoxPosition::NoTextBox),
new Slider(Slider::SliderStyle::RotaryHorizontalVerticalDrag, Slider::TextEntryBoxPosition::NoTextBox),
new Slider(Slider::SliderStyle::RotaryHorizontalVerticalDrag, Slider::TextEntryBoxPosition::NoTextBox),
new Slider(Slider::SliderStyle::RotaryHorizontalVerticalDrag, Slider::TextEntryBoxPosition::NoTextBox),
new Slider(Slider::SliderStyle::RotaryHorizontalVerticalDrag, Slider::TextEntryBoxPosition::NoTextBox),
new Slider(Slider::SliderStyle::RotaryHorizontalVerticalDrag, Slider::TextEntryBoxPosition::NoTextBox),
new Slider(Slider::SliderStyle::RotaryHorizontalVerticalDrag, Slider::TextEntryBoxPosition::NoTextBox),
new Slider(Slider::SliderStyle::RotaryHorizontalVerticalDrag, Slider::TextEntryBoxPosition::NoTextBox)}},
buttons{{new DrawableButton(“button”, DrawableButton::ButtonStyle::ImageStretched),
new DrawableButton(“button”, DrawableButton::ButtonStyle::ImageStretched),
new DrawableButton(“button”, DrawableButton::ButtonStyle::ImageStretched),
new DrawableButton(“button”, DrawableButton::ButtonStyle::ImageStretched),
new DrawableButton(“button”, DrawableButton::ButtonStyle::ImageStretched),
new DrawableButton(“button”, DrawableButton::ButtonStyle::ImageStretched),
new DrawableButton(“button”, DrawableButton::ButtonStyle::ImageStretched),
new DrawableButton(“button”, DrawableButton::ButtonStyle::ImageStretched),
new DrawableButton(“button”, DrawableButton::ButtonStyle::ImageStretched),
new DrawableButton(“button”, DrawableButton::ButtonStyle::ImageStretched)}},
labels{{new Label(“label”, TRANS(“label”)),
new Label(“label”, TRANS(“label”)),
new Label(“label”, TRANS(“label”)),
new Label(“label”, TRANS(“label”)),
new Label(“label”, TRANS(“label”)),
new Label(“label”, TRANS(“label”)),
new Label(“label”, TRANS(“label”)),
new Label(“label”, TRANS(“label”)),
new Label(“label”, TRANS(“label”)),
new Label(“label”, TRANS(“label”))}}
…results in the following text being written to that .cpp file:
sliders{{new Slider(Slider::SliderStyle::RotaryHorizontalVerticalDrag, Slider::TextEntryBoxPosition::NoTextBox),
new Slider(Slider::SliderStyle::RotaryHorizontalVerticalDrag, Slider::TextEntryBoxPosition::NoTextBox),
new Slider(Slider::SliderStyle::RotaryHorizontalVerticalDrag, Slider::TextEntryBoxPosition::NoTextBox)}},
buttons{{new DrawableButton(“button”, DrawableButton::ButtonStyle::ImageStretched),
new DrawableButton(“button”, DrawableButton::ButtonStyle::ImageStretched),
new DrawableButton(“button”, DrawableButton::ButtonStyle::ImageStretched)}},
labels{{new Label(“label”, TRANS(“label”)),
new Label(“label”, TRANS(“label”)),
new Label(“label”, TRANS(“label”))}}
The full text gets saved in the jucer file just fine, but text is dropping between those curly braces. So far it appears that the dropped chunks of text are arguments within the curly braces – words aren’t being cut in half, but comma-separated sections are left out. Here’s another example I’ve observed:
arrayOfScopedPointers{{new Thing(instance1Arg1,
instance1Arg2, instance1Arg3),
new Thing(instance2Arg1,
instance2Arg2, instance2Arg3)}},
…the bold text is missing when the jucer writes it to the file. This is on a Mac running El Capitan, just FYI.