On Fri, May 21, 2010 at 10:22 AM, Terry Brown <[email protected]> wrote: > On Fri, 21 May 2010 06:58:10 -0700 (PDT) > "Edward K. Ream" <[email protected]> wrote: > >> @button rst3 >> >> c.rstCommands.rst3() >> >> I'm not sure what is happening, but the proper code is not being >> executed. > > It seems to be working for me, I get lots of > > wrote: > /mnt/usr1/usr1/home/tbrown/.gnome-desktop/Package/leo/bzr/leo.repo/mod_scripting/leo/doc/html/new-4-4-2.html.txt > wrote: > /mnt/usr1/usr1/home/tbrown/.gnome-desktop/Package/leo/bzr/leo.repo/mod_scripting/leo/doc/html/new-4-4-2.html > > in the shell > > what symptoms are you seeing?
I'm not seeing anything at all in the log window. There is a crash in atButtonCallback.__init__ Something like __init__ takes exactly 6 args, 2 given. Note that I am doing <alt-x>rst3<return> rather than pushing the button. Also note that leoDocs.leo on the trunk has @button rst3 commented out, which may be why <alt-x>rst3<return> works :-) Edward Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
