For people on this board who write a lot of scripts for the GDK, I recommend using a syntax highlighter that will recognize the keywords in your script and make it more easily readable. I created one for a multi-platform text editor called Atom.
To try this syntax highlighter, please head to the project's homepage.
I hope this solution serves you well.