Password option for texteditor

Hey Jules

Would it be possible to have an option to tick for a TextEditor to set it as a password box? Otherwise if you set the constructor yourself to make it hold a password (with *'s), every time Jucer loads the Component again it resets it.

EDIT:
Oh, and while this is in my mind, why does Jucer delete each and every widget it adds to the Component? Why not use the deleteAllChildren() function call in the destructor?

Yep, another good suggestion. Thanks.

I didn’t use deleteAllChildren because you might want to add your own components using custom code, and don’t necessarily want them deleted automatically.