SciTE is a text and source code editor based on scintilla.
This is a handy tool for writing, editing, and debugging Perl/CGI scripts.
It will assists you while you type your LaTeX equations.