steve donovan: > So the IDM_ constants could be put into IFaceTable, and would then be > automatically available. Then GetMenuCommandAsInt() could call > IFaceTable::FindConstant(name). I know this is a little awkward, > because then the script-generated tables in IFaceTable come from two > sources, but it would avoid the double storage issue and provides a > unified mechanism to look up significant constants.
The modularity wasn't that great either as it made other features depend on the Lua subsystem. It also exposes a lot more symbols to features like user.shortcuts that may not be sensible although it would allow user.shortcuts=Alt+Home|SCI_RIGHTEND| Neil _______________________________________________ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/listinfo/scite-interest