i made a nice little tool that quickly sees where global variables are accessed or set in a lua file. link is at
http://www.wowinterface.com/download...OTANADDON.html
it doesnt have a built in text editor or anything but it does give you line numbers so you can go check it in whichever editor you do use. and SUPER quickly can scan multiple files for compile errors.
(go on throw it at healbot watch the mess it gives hehe) full source is included if you wish to compile yourself instead