On Thu, Oct 27, 2011 at 7:51 PM, Edward K. Ream <[email protected]> wrote: > On Thu, Oct 27, 2011 at 2:42 PM, Kent Tenney <[email protected]> wrote: >> I don't know if this code is of any use, it's working ok for me. >> >> Below is the code I'm calling from buttons. When I rclick on >> the "session" button, my choices are save, load, clear, refresh, >> snapshot-save, snapshot-load > > Thanks for this. Imo, these would make good commands. > > Anyone have any suggestions? I'd like to make these into first-class > comments soon.
How about if those functions were methods of class Session: def save(self): def load(self): ... I think that would be better. > > 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. > > -- 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.
