The script editor is a powerfull text editor with syntax highlighting and autocomplete. It allows you to open and edit multiple documents at the same time, even if they are not in your map.