I am using the editor SciTE to edit latex documents. This page is devoted to settings, scripts, lexer for SciTE which help working with latex.
To begin with I just put here a bunch of files from my scite directory. Just unzip these files to the directory where your SciTE installation resides and it should work. Note that it overwrites the following files:
SciLexer.dll – this contains the new latex lexer which is more ‘clever’ than the previous one and supports folding.
tex.properties – this contains settings needed for the new lexer to work. Also it installs ‘compile’, ‘build’, ‘run’ commands for latex and several useful scripts which are accessible from the menu ‘Tools’ or via hotkeys.
SciTEStartup.lua – this contains the macro extension SciteExtMan which is required to make my scripts working.
SciTEGlobal.properties – this one is just a bunch of settings for Scite. If you prefer to keep your own settings just copy the last 20 lines from it to your own SciTEGlobal.properties. This is needed for the scripts to work
scripts/myscript.lua - this contains the actual scripts.
If you only need the lexer, only SciLexer.dll and tex.properties are necessary.
Finally here is the link where you can download all these files (sorry, only Windows version):
Here is a screenshot about how this should look like: