Gets the text, to save it or to run it. Takes editor (An editor handle). Returns all the editor's text, with Chr(10) between lines.
editor
Int
fileSaveString(igiCodeEditorGetText(editor), "level1.script", BBR_STR_FORM_UTF8)