I've just pushed a new implementation of bookmarks.py which supports my
interpretation of hierarchical bookmarks.
Need to finish up documentation etc. but wanted to get it out there for
testing.
So, if you're using the bookmark pane to display bookmarks as colored
tabs, what's new is this:
By default, the @setting @int bookmarks_levels = 1 will limit the
bookmarks shown to one level, so given these bookmarks
A
B
B1
B2
C
you'd just see A B C, with B underlined, indicating it has
children, and when you click B, one of two things happens.
With bookmarks_levels = 1 (the default) the effect of clicking on B
depends on whether or not B is itself a bookmark (contains an URL)
or just an organizer node (no body).
If it's just an organizer node, clicking it immediately shows its
children. If it contains an URL itself, the first click makes Leo
navigate to that URL, a subsequent click shows the children.
Note that this first click / second click behavior only applies with
@int bookmarks_levels = 1.
With @int bookmarks_levels = 2 or more, you'll initially see
A B C
with B underlined, and clicking on B will immediately show its children, so you
see
A B C
B1 B2
and, if B contains an URL, navigate to the URL
With @int bookmarks_levels = 0, the original behavior is used,
hierarchy is ignored, and you see
A B B1 B2 C
all the time.
I will have to do another video.
Let me know if there are any problems.
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 [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/groups/opt_out.