On Mon, May 19, 2014 at 5:02 AM, <varun...@gmail.com> wrote:
> Thank you very much Ned, Rodri and Gary. I changed the settings of gedit text
> editor as mentioned in the Zed Shaw tutorial. I think this is causing me the
> problem. I'll follow your advice.
I find that there are better editors than gedit. My personal
preference is SciTE; one of its syntax highlighting features is a nice
big warning if the indentation doesn't make sense from one line to the
next. So if you switch from spaces to tabs, or mismatch indents, or
anything, it gives you this blue marker right through the faulty
indented section. Pick an editor with that kind of feature, and you'll
find your job way easier.