also there's this project...http://vclua.99k.org/Sourcecode is here; http://sourceforge.net/projects/vclua/looks like 4.2 (latest version) doesn't have the absolute latest source for the editor - but 4.1 appears to (Lazarus source and has a Lua SynEdit file);http://sourceforge.net/projects/vclua/files/vclua-v0.4.1/
There's a highlighter already;http://sourceforge.net/p/synedit/user-components-patches/11/although it might need bringing up to date... TheBlackSheep