Neil Hodgson wrote:
Kein-Hong Man:I am looking at CVS HEAD and it says: scite.MenuCommand(IDM_constant) in SciTEDoc.html but the constants are not in IFaceTable.cxx, so should IFaceTableGen.py be updated? (My Python is hopeless, so I can't really help out immediately...)You could interpret that as meaning that the value can be plugged in but it would be nicer to use symbols. The table is already compiled into SciTEBase::GetMenuCommandAsInt in scite/src/SciTEProps.cxx. They could be added into IFaceTable.cxx as well but it would be better to avoid duplication in source.
Right. So cf_global_metatable_index() should call SciTEBase::GetMenuCommandAsInt() if anything starts with "IDM_". I can fix that.
However, cf_scite_constname() for the ConstantName thingy won't search the "IDM_*" namespace. Is the asymmetry okay?
-- Cheers, Kein-Hong Man (esq.) Kuala Lumpur, Malaysia _______________________________________________ Scite-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scite-interest
