From: Bertram Scharpf Date: 2007-09-06T07:33:38+09:00 Subject: Re: Missing "end" and My least favourite ruby error message.... Hi, Am Donnerstag, 06. Sep 2007, 07:23:36 +0900 schrieb M. Edward (Ed) Borasky: > John Carter wrote: > > "syntax error, unexpected $end, expecting kEND" > > > > With the line number pointing to the last line of the file. > > > > So I was busy doing something when I was interrupted and I dropped an > > "end" somewhere. > > > > I wish I could think of an easier way, like the highlighting emacs > > does for '(; and '{' > > I think vim syntax coloring highlights xx-end pairs, and Komodo's > auto-indent cleans them up nicely as well. The newest Vim highlights module's `end' underlined and classes `end' non-underlined. Moving the module's end through the file I find them quite easy. The only thing I have to do is to update my old sub-highlighting that features SQL and TeX strings. Sigh. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de