I try to reload all text-blocks by a loop, cause I want to use an external editor and let blender reload the scripts before starting the game.
But actually I'm not sure how to achieve this.
Manipulating each of the blocks via
is not the problem. But I don't know how to use the operator or how to set the context the right way:
Looking in the sourcecode tells me that reload looks for "edit_text" in the blender-context, which is a Text-type
Would be great if someone could give me a hint, how to set "edit_text" properly.