That's awesome, Terry! I saw the GitHub change, but haven't had a chance to try it yet, but will sometime over the weekend. I glanced at your code and confirmed what I suspected; I would have no idea how to do that:-)
Rob.......... On Friday, June 16, 2017 at 4:58:14 PM UTC-4, Terry Brown wrote: > > On Fri, 2 Jun 2017 07:56:31 -0700 (PDT) > Largo84 <[email protected] <javascript:>> wrote: > > > I use the backlinks plugin which works well to create links to other > > nodes *within* a single .leo file. However, it won't create links to > > nodes in other .leo files. The bookmarks plugin doesn't really do > > what I need either. Any suggestions on how to create links to nodes > > in other .leo files? Of course, I can add the UNL in the body pane, > > but then it clutters up the body pane. Maybe I'm missing something > > obvious. > > Rob's idea is now implemented. I think it's really a big enhancement > in node annotation in Leo. Which perhaps means it's buried deeper in > the interface than it should be. > > When running the backlinks plugin, the backlinks pane displays: > > [Link] [from] here [to] [mark ▼] > > Clicking from / to swaps them around. > Clicking Link creates a link. > The mark pull down menu has these entries: > > - mark (wherever you placed it) > - mark (undirected) (unimportant variation) > - a new child of mark > - URL/UNL > > It's this last entry which is new. You can enter and URL or UNL to > create a link from this node to that URL / UNL. > > For convenience links to files or directories should start with > file://, paths with no protocol specified will have unl:// prepended. > This is convenient because it allows you to copy the default UNL view > from the status bar. > > This allows cross outline links in backlinks, as well as links to > arbitrary resources (web pages, local files). > > So now a plain Python file can, within Leo, have per node links to > relevant API web pages / pdf files etc., as well as nodes in other Leo > outlines. > > Also added a "find next node with a link" button to the backlinks pane. > > Great idea, Rob. > > Cheers -Terry > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
