On Fri, Apr 8, 2011 at 12:05 AM, Kent Tenney <[email protected]> wrote:
> Is this sort of like Manuel?
> http://packages.python.org/manuel/

Partly, though valuespace is much simpler and general. E.g this seems familiar:

http://packages.python.org/manuel/#capture

However, valuespace is in no way specific to rst, or documentation
needs. Rather, I see valuespace (just like I see ILeo / LeoWorkbook)
as a way to make Leo tree "become alive", i.e. embed functionality in
a richer way than just adding scripts and @buttons would accomplish.

BTW, a fun hack would be creating leo commands from snippets of text:

--------
blah
blah

@x =foo {
print c
print g
@x }

@x add_leo_command('print-vars', foo)

blah blah
blah
-------------

This is easy, just add definition for add_leo_command to "prelude" @x
block earlier in the leo tree.

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

Reply via email to