Text-Edit is horrible for Coding, If you use this, please switch to the editor suggested above Eeposs.
I didn't need a tutorial to figure it out : /
Or just, you know, use a proper code editor like Sublime Text.
Wow, I was using TextEdit all this time.EDIT: Is there any way to make it show syntax errors?