mitchell:
I believe my LuaExtension51.cxx (Lua 5.1 support) for SciTE is stable enough for inclusion in the release version of SciTE. I don't believe I have had to modify it at all since I sent you the patch/tarball way back when, and compatibility issues have been nonexistant.
The compilation problems I mentioned before are still present particularly bitlib won't compile with Borland or Microsoft: ..\lua51\src\lib\lbitlib.c(7) : fatal error C1083: Cannot open include file: 'inttypes.h': No such file or directory These can probably just be fixed although its strange upstream Lua hasn't fixed them: ..\lua51\src\lparser.c: Warning W8012 ..\lua51\src\lparser.c 841: Comparing signed and unsigned values in function subexpr ..\lua51\src\lundump.c: Warning W8008 ..\lua51\src\lundump.c 125: Condition is always true in function LoadConstants ..\lua51\src\lib\lauxlib.c: Warning W8001 ..\lua51\src\lib\lauxlib.c 650: Superfluous & with function in function luaL_newstate This just needs a != 0: ..\src\LuaExtension51.cxx(296) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning) I'm looking at your code in http://scite-tools.googlecode.com/svn/trunk .
I think it would also be a good time to finally decide which Lua extension functions (if any) to add. I propose at least OnKey, and maybe UpdateStatusBar (I find it very useful for displaying key-command chains in the status bar).
OK. And OnDwellStart. An OnClose can go in if its useful at the start of SciTEBase::Close which is after the buffer has effectively been abandoned. If it is to go further up the stack then the number of contexts rises and the relationship of tis to saving has to be worked out. Neil _______________________________________________ Scite-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scite-interest
