SynEdit Lua syntax highlight lazarus / 31-LCL ---------------------------------------------------------------------- Rave · 2010-08-05 12:59 Anyone knows if there is SynEdit component for Lua syntax highlight? If so - where I can get it, because in near future i may be forced to make Lua editor and want to use Lazarus along with Synedit. ---------------------------------------------------------------------- Martin_fr · 2010-08-05 13:04 I don't know if any exists... There may be for the original SynEdit: http://sourceforge.net/apps/mediawiki/synedit/index.php?title=SynEdit_ Home_Page But they would not be compatible with the SynEdit in lazarus => and I don't know how well that original SynEdit will compile with Lazarus... There is a highlighter that allows to configure your own keywords => but they will not be context sensitive... ---------------------------------------------------------------------- Rave · 2010-08-05 13:29 hm... So maybe one of Lazarus' devs can write TSynLua? Because I don't know lua syntax just will be need to make editor, and don't want to learn something that i probably never use. ---------------------------------------------------------------------- rasberryrabbit · 2013-12-07 06:43 I convert for fpc from luaforge 'luaedit' source.  https://github.com/luaforge/luaedit ---------------------------------------------------------------------- TheBlackSheep · 2013-12-07 10:34 There's a highlighter already; http://sourceforge.net/p/synedit/user-components-patches/11/ although it might need bringing up to date... TheBlackSheep ---------------------------------------------------------------------- TheBlackSheep · 2013-12-07 10:51 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/ ---------------------------------------------------------------------- rasberryrabbit · 2013-12-07 13:51 Quote from: TheBlackSheep on December 07, 2013, 11:51:28 amalso 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/ Good project ---------------------------------------------------------------------- rasberryrabbit · 2013-12-07 13:57 Quote from: TheBlackSheep on December 07, 2013, 11:34:22 amThere's a highlighter already; http://sourceforge.net/p/synedit/user-components-patches/11/ although it might need bringing up to date... TheBlackSheep This Highlighter is compatible with pre-lua 5.1, some modification need for lazarus (edit)  converted it to fpc, but some bugs in original source.