On 8/5/2014 2:05 PM, Fidel N wrote:
Is there a way to check the recent keys written in Leo?
alt-X 'view-lossage' prints this data out to the log.

It looks like you can access this data with g.app.lossage...

g.es(list(reversed(g.app.lossage)))

Looks like they're tuples, where [0] is a char, and [1] is a KeyStroke object, which seems to be documented here:

leoPy.leo#Notes:1-->@file%20../doc/leoNotes.txt:0-->Notes:0-->About%20Key%20handling:3-->About%20the%20KeyStroke%20class:2

Hope this helps!
-->Jake

--
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 http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to