> > > 1. It would be crazy to change the API of the Position and VNode classes. > The payoff would not remotely justify a fork in Leo's code base. *Do not > go there*. > > Imo, it is tragic that python decided to fork itself into python 3. The > pain will be eternal. There were other alternatives (from future import > x). Forking python was a huge blunder. Do not repeat that mistake! > > Have you looked in the code examples I gave in my previous message. Moving gnxDict from c.fileCommands to VNode itself and keeping c.fileCommands.gnxDict as a property that links to VNode would be 100% backward compatible and yet it would allow instantiation of VNode without commander instance?
AFAIK no user script should be broken with such refactoring. Vitalije -- 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 post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
