mitchell wrote:
m> diff -br scite/src/LuaExtension.cxx scite2/src/LuaExtension.cxx
m> 296a297,301
>> static int cf_scite_menu_command(lua_State *L) {
>> int cmdID = luaL_checkint(L, 1);
>> if (cmdID) host->DoMenuCommand(cmdID);
>> return 0;
>> }
You have forgotten to add it in LuaExtension.cxx:
Insert to line 1439:
> --------------------------------------------------
lua_pushliteral(luaState, "MenuCommand");
lua_pushcfunction(luaState, cf_scite_menu_command);
lua_rawset(luaState, -3);
> --------------------------------------------------
I did independent search. He was very interesting.
All works superb.
Many thanks!
It is a pity that no ZIP-file...
--
mozers
<http://scite.ruteam.ru>
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest