Quoting Bert Wesarg <[EMAIL PROTECTED]>: > On Dec 20, 2007 3:37 AM, Tony Balinski <[EMAIL PROTECTED]> wrote: > > I'd really like to change the way macro.c registers the built-in functions > and > > special variables to the way it's done in my patch, available here > > > > http://ajbj.free.fr/nedit/nedit5.5dev/patches/newMacroFnRegistration1b.diff > > > > The only snag that I can see is that it would break all those wonderful > > patches available out there that add new functions (my own included). This > > registration system allows us to provide new macro built-ins in different > > source files so macro.c need not grow indefinitely, by using > > RegisterMacroSubroutineSet() and RegisterGlobalReturnValuesSet() in the new > > files. > If I have a vote, I would vote for that. > > > > > Comments? > Yes, one little (and I think I commented this before privately to you): > Please switch the struct BuiltInSubrNameTag members. All other lists > of this type have the string constant first and as the second member > the function pointer. Most commonly know the XtActionsRec Actions[] > from menu.c. Interestingly is that the struct ReturnGlobalNameTag have > the "right" order of members. > > Regards > Bert
Yes, you did comment on it earlier! What you say makes sense; I'll change the order as you suggest and make the new version available. Tony -- NEdit Develop mailing list - [email protected] http://www.nedit.org/mailman/listinfo/develop
