Personalised code sections

it would be great if there were an option for custom code going before/after generated code.

for example:

an editor component, that wants a safe-guard ‘store’ function to store the contents of the various components to a data object when the editor is destroyed.

however, the call to this function cannot be made in the destructor, as the only place available to put it is after the components have been deleted!

Easy to do - you can edit the template cpp file yourself and add extra user sections. Good point about the destructor though, I’ll add another comment section in there before things get deleted.