I've begun work on making Leo's help system clearer and more useful.

F1 now binds to a new 'help' command, rather than help-for-command.  The 
help command should be better for newbies.

The help-for-<a topic> commands replace the old apropos-<a topic> commands, 
so typing <Alt-X>help<tab> will show *all* help-related commands.

The help-for-python command's output goes to the viewrendered pane.  This 
is a *big* improvement over putting text in either the console or the log 
pane.  BTW, the output is "rendered" using <pre> formatted, which is 
appropriate formatting for *Python's* help command.

I've put several hours of work into simplifying and improving the 
viewrendered plugin, which is now an essential part of the help system. For 
instance, F1 now puts introductory text in the vr pane.

- The docstrings for plugins are no longer locked in place by default.  Use 
the vr-lock command if you want to keep the text unchanged when changing 
nodes.  This eliminates a lot of "huh?" moments.

- Various vr commands now open the vr pane automatically, rather than 
stupidly saying that the pane must be opened by hand.

- The new vr-expand and vr-contract commands expand and contract the vr 
pane.

- The new vr-show and vr-hide commands replace the vr-show-toggle command.

- The crucial update, must_update and show_scrolled_message methods have 
been simplified.  This is *very* important: the program logic is now as 
stateless as possible, which should eliminate a lot of edge cases.  A 
crucial comment at the start of the update logic reminds me why update's 
signature must be as it is.

Edward

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to