at the moment the following is used for the “textToShowWhenEmpty”:
if (isMultiLine())
g.drawText (textToShowWhenEmpty, getLocalBounds(),
Justification::centred, true);
else
g.drawText (textToShowWhenEmpty,
leftIndent, 0, viewport->getWidth() - leftIndent, getHeight(),
Justification::centredLeft, true);
Perhaps the TextEditor Justification should be applied here when not in the multiline case?
It’s weird to have a single line textEditor with centred text but with the textToShowWhenEmpty on the left, not sure anyone would want that?