On Wed, 3 Mar 2010 06:56:19 -0800 (PST)
tfer <[email protected]> wrote:
> I can see thing I like to add to active_path plugin. For instance, on
> the "package tree" of filenames, it would be useful to be able to load
> in module docstrings into the empty bodies of *.py files
Done on the trunk:
Set @bool active_path_load_docstring = True to have active_path load the
docstring of .py files automatically. These nodes start with the special string:
@language rest # AUTOLOADED DOCSTRING
which must be left intact if you want active path to be able to double-click
load the file later.
(turns out active_path uses the emptiness of the body as a test for the
suitability of loading a file, so now it's empty body or startswith("@language
rest # AUTOLOADED DOCSTRING")).
Cheers -Terry
--
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.