Does anyone use g.app.afterHandler (for idle-time processing)?

2014-07-01 Thread Edward K. Ream
Leo's idle-time handling is a bit of a mess. I'm thinking of simplifying it by putting most of the logic in qtGui.py. This makes sense, imo, because idle-time handling is inherently platform/gui dependent. I'll do this regardless of the choices I am about to discuss... I have a half memory

Re: Does anyone use g.app.afterHandler (for idle-time processing)?

2014-07-01 Thread 'Terry Brown' via leo-editor
On Tue, 1 Jul 2014 05:06:27 -0700 (PDT) Edward K. Ream edream...@gmail.com wrote: Leo's idle-time handling is a bit of a mess. I'm thinking of simplifying it by putting most of the logic in qtGui.py. This makes sense, imo, because idle-time handling is inherently platform/gui dependent.

Re: unit testing increases number of registered handlers

2014-07-01 Thread Edward K. Ream
On Monday, June 30, 2014 12:21:07 PM UTC-5, Edward K. Ream wrote: On Mon, Jun 30, 2014 at 11:48 AM, 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: But even if the idle time was respected, are there really separate idle times for each registered hook? Or just the first

Re: spatial versioning

2014-07-01 Thread Kent Tenney
OK, I've written a simple implementation of 'spatial versioning' A database maintains a table 'choices' with 3 columns: - id (node gnx) - index (currently selected choice) - data (a json dict with numeric keys, the value a dict {'h':p.h, 'b':p.b}) The gui element turns out to be not required, in

Re: unit testing increases number of registered handlers

2014-07-01 Thread Edward K. Ream
On Tue, Jul 1, 2014 at 9:02 AM, Edward K. Ream edream...@gmail.com wrote: I have completed everything related to idle-time processing. The are now 6 new commands: enable-idle-time-tracing disable-idle-time-tracing toggle-idle-time-tracing enable-idle-time-events disable-idle-time-events

Using leo for documentation (rst3 html)

2014-07-01 Thread Todd Mars
HI, I'm trying to use Leo for documentation, memoes, etc. using rst3 One hassle: how do you do columnar editing mode? On Windows it is hold down ALT key while using the mouse for columnar copy paste etc. Another request! I've found a delay timer to execute code is very useful. For example, if I

Re: Using leo for documentation (rst3 html)

2014-07-01 Thread 'Terry Brown' via leo-editor
On Tue, 1 Jul 2014 10:54:25 -0700 (PDT) Todd Mars tamn...@gmail.com wrote: Another request! I've found a delay timer to execute code is very useful. For example, if I stopped typing for 5 seconds, It would execute 'Alt-X Ctrl-P' and execute the last command which in my case is to produce my

issues/bugs from launchpad to github - volunteers?

2014-07-01 Thread 'Terry Brown' via leo-editor
Hi all, Any volunteers to move the issues/bugs from launchpad to github? I think someone did an initial assessment but I can't remember the conclusion. It would be nice to get them all in one place. Cheers -Terry -- You received this message because you are subscribed to the Google Groups

Qt's triggered() signal

2014-07-01 Thread 'Terry Brown' via leo-editor
I've done some experiments and it seems that Qt can send its triggered(checked) signal to callables that accept zero or more arguments. foo.triggered.connect(lambda: do_something()) and foo.triggered.connect(lambda checked: do_something()) both work, it must either check or try/except the