A few things about this change: 1. Previously, for nodes within the same Leo file, I could truncate everything before the `#' and the right-click `Open URL' would take me there. That no longer works. That's not too big deal, I can now prepend the `#' with unl:// and it works (except for no. 2 below). 2. If I replace file:// with unl:// the right-click menu option is no longer available. Can that be added back? 3. The address in the bottom bar still uses `file://...' when I toggle in UNL mode (that's where I usually get the node address, not sure if there's a quicker way). It seems that it would make more sense for that to be `unl://...' Generally, I like the change; maybe it will make cross file linking easier.
Rob........ On Saturday, February 25, 2017 at 6:34:46 PM UTC-5, Edward K. Ream wrote: > > Leo now supports the unl:// syntax. Leo colors from unl:// to the end of > the line. > > More importantly, control-clicking on an unl:// link will open a .leo file > (if specified) and will select a node, if specified. > > The syntax is: unl://(optional-path-to-a-.leo-file)(#)(optional unl). > > The '#' is required if both parts are given. > > Examples: > > 1. unl://leoSettings.leo > > Opens leoSettings.leo > > 2. unl://leoSettings.leo#@settings-->Plugins-->wikiview plugin > > Opens leoSettings.leo, and selects the wikiview plugin node. > > 3. When clicked in leoSettings.leo itself, these all select a node: > > unl://@settings-->Plugins-->wikiview plugin-->@bool wikiview-active = > True > unl://#@settings-->Plugins-->wikiview plugin-->@bool wikiview-active = > True > unl://@settings-->Plugins-->wikiview plugin-->@bool wikiview-active > unl://@settings-->Plugins-->wikiview plugin > > This is a superb feature. In fact, it has existed for quite some time, > but the links used (abused) the file:// notation for URL's. The new > notation explicitly shows that the target will be a .leo file on the > current machine. > > The wikiview plugin (via its settings) is now aware of the unl:// notation. > > Yes, some people may have to change file:// links to unl:// links. I'm > good with that. The old notation (and the old code) was intolerably wonky. > > All comments and questions are welcome. > > Edward > -- 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.
