On Saturday, July 11, 2020 at 2:03:48 AM UTC-4, Félix wrote: > > I'm just learning about those @buttons by reading the mod_scripting > 'readme' and trying to bring'em into leoInteg : > > ... > I'm also reading about the @button having to be in a setting file or a > @setting node ? but that would be to make them 'global' in all opened files > if I got it right...? >
Not necessarily, because you can have a @settings tree in any Leo outline. @button commands in that local tree would be local to that outline. That's good for experimenting, but it's easy to lose them when you start working with other outlines later in development, outlines that don't have those commands or buttons. You (or at least I, since it's happened to me) can forget where they are, or even that they exist. Actually, you don't have to even have the @button nodes in an @settings tree. Unless they are put into your MyLeoSettings outline (or LeoSettings), they will be local to the outline where you have their definition. -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/61174305-a0c5-4b44-a9ed-3e09b4f8eaa4o%40googlegroups.com.
