This post will be pre-writing for code-level documentation, including the
Scripting Miscellany.
leoApp.py now contains the IdleTimeManager (ITM) class, with a singleton
instance, g.app.idleTimeManager.
This class handles all details of running code at idle time, including
running 'idle' hooks.
The BackgroundManager class is something I have vaguely dreamed about for
decades. It handles all details of running separate processes in the
background *without blocking Leo*.
Previous efforts were feeble. They merely provided a thin (useless!)
wrapper around subprocess.Popen.
The Backgro
On Friday, October 28, 2016 at 5:38:13 AM UTC-5, Edward K. Ream wrote:
The BackgroundManager class...handles all details of running separate
> processes in the background *without blocking Leo*.
>
At present, if you pylint on several files and then switch to another
outline tab, the output will
On Friday, October 28, 2016 at 5:38:13 AM UTC-5, Edward K. Ream wrote:
> ...it would be better to use a singleton BackgroundManager, say
> g.app.backgroundManager. This would allow multiple *kinds* of background
> processes to coexist peacefully without intermixed output.
>
Rev d52a103 compl
On Friday, October 28, 2016 at 7:12:45 AM UTC-5, Edward K. Ream wrote:
> Rev d52a103 completes all the improvements discussed today:
Rev b1bd2b4 ensures that message always go to the originating pane. This
was a bit tricky. I finally saw that the BPM must use a new put_log method
rather than g
The following describes the code as of rev 4288779e2. This posting
documents how the new importers work. Feel free to skip it.
I'm not going to show much code in this post, so it would be best if you
are looking at importers/basescanner.py and importers/perl.py in
LeoPlugins.leo as you read thi
Your use pattern is working fine and makes sense. It would be helpful if
some basic user guides were added to the Graphcanvas docstring. And also
for 'graph-toggle-autoload'.
Help-For-Command F11 reports ''no docstring available.
Lewis
On Thursday, 27 October 2016 09:30:35 UTC+11, Terry Brown