How to save text from TexEditor to DAW?


#1

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?


#2

[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.


#4

Do you know where I can find an example of encoding TextEditor data to save using setStateInformation?