On Tue, Dec 21, 2010 at 10:34 AM, Kent Tenney <[email protected]> wrote:
> What is the syntax to get an objtree from </path/to/myfile.leo> ?
As Ville said, the leoCache module creates objtrees. You probably want::
c.cacher.readFile(fileName,root).
If you want more control, you could look at the code for
c.cacher.readFile and possibly call::
c.cacher.createOutlineFromCacheList(root.v,aList,fileName=fileName)
HTH.
Edward
--
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.