On Tue, 7 Feb 2012 11:16:36 -0800 (PST) HansBKK <[email protected]> wrote:
> > for importing files. It's possibly, if my import approach was quick and > > dirty enough :-) that you could get away with setting that to > > "@view", and you'll just get the file contents loaded into a node which > > will never write anything (because @view isn't a real @<file> type). > > > That's very helpful thanks, I hadn't caught that directive. Um, I didn't know it was a directive - I just made it up :-) I can't remember how active_path does its importing - I was hoping it was simplistic enough to just create a node '@<xxx> filename.py' and stick the contents of the file in the body - where <xxx> is whatever you put in the setting for preferred @<file> type. Now I think more about it I guess it does proper @auto / @shadow importing, so maybe that won't work (even with a truly non-existent directive, like @peek or @list or whatever :-) Just too busy right now to actually look at the code. 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.
