We have received a very good suggestion from one of our operators (thanks Erich) that we should install the codewarrior query plugin which would make the editing of the skin templates easier. We have checked it and within a few hours we managed to make it work. This is a good example that sometimes there are simple ideas that are easy to implement.
For functions you can check out http://codemirror.net/index.html .
Thanks for the write up and mention guys..