How to save text from TexEditor to DAW?

I’m using the TextEditor component on my audio plugin, and I want to know how to save inputed text to DAW.
I’m aware parameters and such get saved with setStateInformation()

Would anyone be happy to share some knowledge?

[quote=“rickycourtes, post:1, topic:19100”]
I’m aware parameters and such get saved with setStateInformation()
[/quote]You can save any information you want in set/getStateInformation. It’s a binary format, so just append (or use some structured format - xml?) your text together with anything else you want to save, like parameters.