Cycling74 / max-sdk

Software Development Kit for Max by Cycling '74
Other
262 stars 57 forks source link

simpletext bug #28

Closed andreaagostini closed 6 years ago

andreaagostini commented 6 years ago

Hi, the simpletext example is buggy:

I assume this is because the editor should be destroyed in simpletext_free(). Will do some testing.

Cheers, andrea

tap commented 6 years ago

Thanks for the report. Yes, object_free() is definitely supposed to be called on the editor when the object is freed!

As a side note, it's harder to mess that up using the texteditor in the C++ API @ https://github.com/Cycling74/min-devkit