Re: key logging

2014-08-06 Thread Edward K. Ream
On Wed, Aug 6, 2014 at 12:49 AM, Fidel N fidelpe...@gmail.com wrote:
 Its great to know that you have that in mind, vim mode is so fresh I was not
 expecting it to work yet.

Both the logging and the present idea of the dot are shown in the vim
status area, the same area as the minibuffer.

Visual mode doesn't show the logged strokes because a) they could be
inferred from the expanding selections range and b) they might not
matter anyway: the commands that end visual mode use the selection
range, whatever it happens to be.  But as I write this, it seems that
the logged strokes do matter, so maybe I'll show stokes in visual mode
also.

EKR

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


Re: key logging

2014-08-05 Thread Jacob Peck

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


Re: key logging

2014-08-05 Thread Fidel N
Awesome! Spent a couple of hours searching and only found the command 
history.
This perfectly solves my needs, big thanks!!

Edit: Just checked, doesn't work with the new vim mode, but Im guessing its 
just too early for that hehe.

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