I’m working with my own custom
LookAndFeel, set at the main component. When I dynamically addAndMakeVisible a component containing a
TextEditor, the text colour remains the default colour, even though my custom LookAndFeel changed it. The editor does use all the other colours (background, outline, highlight) correctly, just not the text colour itself. This seems to be a bug.
I’m guessing the problem has to do with something in the editor caching the text colour and not updating correctly on a
lookAndFeelChanged(). When I change the editor content by calling setText(), the colour is being updated.