Re: Rev 112b14f: unl:// syntax creates clickable links between .leo files

2017-02-28 Thread Largo84
Good, finally figured out what that means, so I created a '@button get-unl`. That places the UNL in the log pane. What script command would copy it to the clipboard? On Monday, February 27, 2017 at 3:11:14 PM UTC-5, Edward K. Ream wrote: > > > ​Use p.get_UNL​(), in an @command or @button node.

Re: Rev 112b14f: unl:// syntax creates clickable links between .leo files

2017-02-27 Thread Edward K. Ream
On Mon, Feb 27, 2017 at 10:30 AM, Largo84 wrote: > > Excellent! Now, still wondering if there's a more 'Leonine' way to capture > the node UNL such an alt-X command or keyboard shortcut. Just curious, how > do you typically do that? > ​Use p.get_UNL​(), in an @command or

Re: Rev 112b14f: unl:// syntax creates clickable links between .leo files

2017-02-27 Thread Largo84
Excellent! Now, still wondering if there's a more 'Leonine' way to capture the node UNL such an alt-X command or keyboard shortcut. Just curious, how do you typically do that? Rob. > > > Many thanks, Rob, for your help in smoothing the rough edges. > > Edward > -- You received this

Re: Rev 112b14f: unl:// syntax creates clickable links between .leo files

2017-02-27 Thread Edward K. Ream
On Mon, Feb 27, 2017 at 10:05 AM, Edward K. Ream wrote: > On Mon, Feb 27, 2017 at 8:02 AM, Largo84 wrote: > >> >> If I right-click the bar, there are shown 3 options: Copy, Select All, >> *Toggle >> UNL mode*. If I select the latter, the address bar now

Re: Rev 112b14f: unl:// syntax creates clickable links between .leo files

2017-02-27 Thread Edward K. Ream
On Mon, Feb 27, 2017 at 8:02 AM, Largo84 wrote: > > If I right-click the bar, there are shown 3 options: Copy, Select All, *Toggle > UNL mode*. If I select the latter, the address bar now shows: > > file://G:\Shared%20Workbook.leo#File%20Directories:16 > ​Hahaha. I didn't

Re: Rev 112b14f: unl:// syntax creates clickable links between .leo files

2017-02-27 Thread Largo84
In the address bar (lower right) I see the address of the current node, such as: G:\Shared Workbook.leo#File Directories If I right-click the bar, there are shown 3 options: Copy, Select All, *Toggle UNL mode*. If I select the latter, the address bar now shows:

Re: Rev 112b14f: unl:// syntax creates clickable links between .leo files

2017-02-26 Thread Edward K. Ream
On Sun, Feb 26, 2017 at 10:38 PM, lewis wrote: > Hi Edward, > > I'm running commit = 01b7a7d358d4 and my bookmarks are working fine. > And just to clarify - my bookmarks worked fine again after the 7a3a0c4 > fix. > ​Thanks for the confirmation. Edward -- You

Re: Rev 112b14f: unl:// syntax creates clickable links between .leo files

2017-02-26 Thread lewis
Hi Edward, I'm running commit = 01b7a7d358d4 and my bookmarks are working fine. And just to clarify - my bookmarks worked fine again after the 7a3a0c4 fix. Regards Lewis *On Monday, February 27, 2017 at 3:27:18 PM UTC+11, Edward K. Ream wrote:* > > > *The new code is subtly different from the

Re: Rev 112b14f: unl:// syntax creates clickable links between .leo files

2017-02-26 Thread Edward K. Ream
On Saturday, February 25, 2017 at 5:34:46 PM UTC-6, 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

Re: Rev 112b14f: unl:// syntax creates clickable links between .leo files

2017-02-26 Thread Edward K. Ream
1. On Sun, Feb 26, 2017 at 7:49 PM, Largo84 wrote: 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 >

Re: Rev 112b14f: unl:// syntax creates clickable links between .leo files

2017-02-26 Thread Edward K. Ream
On Sun, Feb 26, 2017 at 7:49 PM, Largo84 wrote: 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. > ​It seems to work now, with the recent changes. Edward

Re: Rev 112b14f: unl:// syntax creates clickable links between .leo files

2017-02-26 Thread Edward K. Ream
On Sun, Feb 26, 2017 at 7:49 PM, Largo84 wrote: ​> ​ If I replace file:// with unl:// the right-click menu option is no longer available. Can that be added back? ​Done at 47c6370. Edward -- You received this message because you are subscribed to the Google Groups

Re: Rev 112b14f: unl:// syntax creates clickable links between .leo files

2017-02-26 Thread Edward K. Ream
On Sun, Feb 26, 2017 at 5:17 PM, lewis wrote: > Is it the cleanest, preferred fix? If you asked some bookmarks users to > test, was there an option to update the bookmarks plugin? > ​The new code should work with bookmarks unchanged. If it doesn't, that's a bug. Edward

Re: Rev 112b14f: unl:// syntax creates clickable links between .leo files

2017-02-26 Thread Largo84
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

Re: Rev 112b14f: unl:// syntax creates clickable links between .leo files

2017-02-26 Thread lewis
Is it the cleanest, preferred fix? If you asked some bookmarks users to test, was there an option to update the bookmarks plugin? Lewis *On Monday, February 27, 2017 at 3:13:43 AM UTC+11, Edward K. Ream wrote:* > > *​​* > *I haven't touched the bookmarks plugin, nor have I tested it directly,

Re: Rev 112b14f: unl:// syntax creates clickable links between .leo files

2017-02-26 Thread Edward K. Ream
​​ On Sat, Feb 25, 2017 at 11:03 PM, lewis wrote: > 1. When I press a bookmark button, linked to an internal node, I get a a > message to log File '' does not exist. > > 2. When I press a bookmark button, a new Leo window opens (not a tab as > expected) and it starts

Re: Rev 112b14f: unl:// syntax creates clickable links between .leo files

2017-02-25 Thread lewis
And to clarify with another scenario: 3. When I press a bookmark button, linked to an external file *which is already open*, a new Leo window opens with the same traceback. -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this

Re: Rev 112b14f: unl:// syntax creates clickable links between .leo files

2017-02-25 Thread lewis
1. When I press a bookmark button, linked to an internal node, I get a a message to log File '' does not exist. 2. When I press a bookmark button, a new Leo window opens (not a tab as expected) and it starts with only the default workbook.leo opened, not the file specified in the bookmark.

Rev 112b14f: unl:// syntax creates clickable links between .leo files

2017-02-25 Thread Edward K. Ream
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