Forums > Dev

Saving the text inside a text editor

May 15 2012 | 1:02 pm

Hi everyone,

I’m trying to figure out how to save the text written inside a text editor window.
I’m working with the example external simpletext as a basis. Once the object is created inside my patcher, the text is stored inside a char** variable inside the object’s structure. However, even if I save my patcher, the text is not saved along (after closing Max, all the text is lost).
Is there a way to do this ?

I read in the documentation about the edsave function, called each time the user chooses to save the text file – however, if possible, I’d rather not use external text files, and have all data stored inside the external.

Thanks !

Viewing 1 post (of 1 total)

Forums > Dev