On Thursday, May 11, 2017 at 9:40:42 AM UTC-5, Edward K. Ream wrote:
>
>
> Focusing on process is the easy way to understand what I'm actually going 
> to do:
>
> 1. Copy the entire class LeoQtTree into cursesGui2.py.
>
> 2. Create new copies of the "must be defined in subclasses" methods listed 
> above.
>
> 3. Figure out how much of the LeoQtTree code to retain.  Presumably this 
> will involve most of the dicts.
>
> *Note: *The edit_widget method will "deliver" headline wrappers, that is, 
> LeoTreeLine objects. It's not clear yet whether everything will "just work" 
> or whether the LeoTreeLine objects will have to know more about context. 
> This is the major blurry area at present.
>
> 4. Replace the dummy methods by the revised code.
>
> 5. Test.
>

As of rev 889272a, Leo gets through both startup and shutdown after 
completing these steps.

pyflakes and pylint both helped greatly.  If you aren't using these tools 
for largish projects you are probably wasting quite a bit of time.

Next, I'll see whether the new code might actually be useful :-) There is a 
lot of work left...

Edward

-- 
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.

Reply via email to