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 HTML (rst3)
> so I can look at it.
> This would help editing, making it more interactive editing in the
> rst3.

Ha, interesting idea.

https://github.com/leo-editor/snippets/blob/master/on_typing_idle.py

executes `g.es('do stuff')` whenever 5 seconds passes since the last
keystroke in the body editor.

Cheers -Terry

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to