On Sunday, November 6, 2016 at 3:43:57 AM UTC-6, Edward K. Ream wrote: This post will be pre-writing for a theory of operation of Leo's new (V2) > import code. >
I have made two corrections to this post to keep this post up to date. However, the corrections won't appear in emails, so here they are: 1. Broken link. Here <https://github.com/leo-editor/leo-editor/blob/master/leo/plugins/importers/basescanner.py>is the correct link to the infrastructure, importers/basescanner.py. 2. I was wrong about not being able to change the "state" keyword argument to controller classes. It was straightforward. The new code is in rev 1de52f0. So the corrected text says: The javascript controller is JS_ImportController. It consists only of a ctor that inits the base class with various keyword arguments...The only important argument is: scanner = JS_Scanner(c) The argument tells the infrastructure what the scanner class is. EKR -- 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.
