April White wrote:
Some time ago I downloaded a VB example of an interface to Scintilla. I recently realized that this example was missing many of the constants and such from Scintilla.iface. Not having Python on my PC, updating the HFacer.py script was fruitless, so I wrote an equivalent one in Lua.

This script and the resulting SciLexer.bas file are uploaded to:
http://www.scintilla.org/aprilw/HFacer.lua
http://www.scintilla.org/aprilw/SciLexer.bas

The script also rebuilds Scintilla.h and SciLexer.h, though it does not overwrite the original file if there is a change. The new file has "copy-" prefaced to the file name.

Obviously you need the Lua executable to run this script.

Excellent, I wanted to do this for a long time, because I didn't wanted to install a multimegabyte language on my old, saturated computer just to run a couple utilities...
But I never took the time to do it. Thanks for sharing!
I guess we can adapt easily your code to generate other formats.

Oh, and I am happy to see the mailing list is still working, it was quite some time since the last message...

--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --

_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to