I wanted to get the name of the currently opened leo file from a
script button.
I decided to look for hints on how to do this by looking at the code
that initially opens a leo file when leo is launched, in LeoPyRef.
I started at the node @thin runLeo.py --> run & helpers.
I see there in def run(...) there is a call to
g.computeStandardDirectories.
I would like to know what this function does.
Is there an easy way to jump to the node that defines it?
I was thinking it might be nice if I could clone that node and stick
it under "run & helpers" for future reference, but then it would end
up getting added to runLeo.py, right?  And I wouldn't want that.
The only way I can think of is to do a ctrl+f, but that's kind of a
slow way of getting around.
Is there some way I don't know about to quickly jump to a node that
defines a function, or to bring some kind of link to that other node
over to this one without messing up the derived file?
--~--~---------~--~----~------------~-------~--~----~
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