On Aug 6, 4:28 pm, Kent Tenney <[email protected]> wrote: > On Mon, Aug 2, 2010 at 7:37 AM, Edward K. Ream <[email protected]> wrote: > > > On Sun, Aug 1, 2010 at 12:58 PM, Kent Tenney <[email protected]> wrote: > > >> Navigation history seems like an aspect of undo / redo, appropriate for > >> core. > >> I think it would be useful if Leo kept a list of nodes visited, > >> possibly several lists: > > >> - nodes having received headline focus > >> - nodes having received body focus > >> - nodes having been edited > > > I have much more important projects on the list now, as I'll soon explain. > > Since this is my itch, I'd best scratch it. > > I want a file on disk which is Leo history, a record of nodes visited, whether > the body received focus, and whether the body content changed. > I guess it is the equivalent of a database 'journal' file. > > (stuff like a diff for the changes might be somewhere down this road) > > It seems that if I hook 'receiveFocus' and 'loseFocus', it should be pretty > straightforward. > > Any guidance appreciated; > - correct method calls ... > - should be written as a plugin? > - already solved somewhere? > ... > > Thanks, > Kent
I would use nav_qt.py plugin for reference, it seems to do something similar. -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
