Re: Press ⌘ then click node

2023-07-26 Thread Thomas Passin
Not just the first line - any line with a recognizable URL should show that 
URL to be highlighted, and a CTRL-Click (or the Apple equivalent) on the 
highlighted URL will navigate you to it in the browser. CTRL-Clicking can 
navigate you to:

- A URL, as above;
- a node within a Leo outline (by clicking on a highlighted GNX or UNL);
- A class, method or function definition within the same outline by 
CTRL-Clicking on it (may not be the definition you want depending on what 
the search finds first, but it's usually what you want).
- A << named section >> (CTRL-Click on the section name in a node's body, 
and Leo will navigate you to its expansion in the outline).

There's probably something else I've forgotten just now.

On Wednesday, July 26, 2023 at 9:05:13 PM UTC-4 iamap...@gmail.com wrote:

> When I was using the features related to Leo and GitHub issues, I 
> discovered...
>
> When the first line of the body of a node contains a URL, you can 
> conveniently open that URL by pressing ⌘ and clicking the node. Leo boasts 
> an abundance of hidden features.
>

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/a1637b07-105e-4635-b780-a8a4b65ced90n%40googlegroups.com.


Re: Press ⌘ then click node

2023-07-26 Thread HaveF HaveF
Thank you for your addition, Thomas.

I know the CTRL-Click (or the Apple equivalent) on the highlighted URL.


I want to emphasize that in the GitHub Issues node, this is really
convenient. Because the default github issues node is like

```

p.h = f"#{n}: {title}"
p.b = f"{html_url}\n\n"
p.b += d.get('body').strip()

```

If you want to see the detail, just click the node's h


[image: image.png]

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CA%2BUQrQwygEDsy0OhAwQodB5MueCYyORvXUuHs5Ke0mtGTZDkZQ%40mail.gmail.com.


Re: Press ⌘ then click node

2023-07-27 Thread jkn

Yes, this is a very useful feature.

I though we had had discussions about using xdg-open() to open a file 
manager, so that you could also CTRL-click on

file:path/to/a/file/or/directory

and have your file manager come up. That doesn't seem to be working though. 
Maybe I have forgotten something about it...


On Thursday, July 27, 2023 at 4:50:11 AM UTC+1 tbp1...@gmail.com wrote:

> Not just the first line - any line with a recognizable URL should show 
> that URL to be highlighted, and a CTRL-Click (or the Apple equivalent) on 
> the highlighted URL will navigate you to it in the browser. CTRL-Clicking 
> can navigate you to:
>
> - A URL, as above;
> - a node within a Leo outline (by clicking on a highlighted GNX or UNL);
> - A class, method or function definition within the same outline by 
> CTRL-Clicking on it (may not be the definition you want depending on what 
> the search finds first, but it's usually what you want).
> - A << named section >> (CTRL-Click on the section name in a node's body, 
> and Leo will navigate you to its expansion in the outline).
>
> There's probably something else I've forgotten just now.
>
> On Wednesday, July 26, 2023 at 9:05:13 PM UTC-4 iamap...@gmail.com wrote:
>
>> When I was using the features related to Leo and GitHub issues, I 
>> discovered...
>>
>> When the first line of the body of a node contains a URL, you can 
>> conveniently open that URL by pressing ⌘ and clicking the node. Leo boasts 
>> an abundance of hidden features.
>>
>

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/c469371d-16e6-4213-9ad2-38b646ac5b83n%40googlegroups.com.


Re: Press ⌘ then click node

2023-07-27 Thread HaveF HaveF
>
> file:path/to/a/file/or/directory
>
> and have your file manager come up. That doesn't seem to be working
> though. Maybe I have forgotten something about it...
>
It works on Mac.

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CA%2BUQrQx7hj6mfhPS_-6QjHiSKV8xp-bBW_XxMK%3DA7Dhr86a7gw%40mail.gmail.com.


Re: Press ⌘ then click node

2023-07-27 Thread lewis
 file:///path/to/a/file/or/directory 

works on Windows if 3 slashes are used.

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/4bc78837-f9b8-417c-89d9-e08a0526f1ben%40googlegroups.com.


Re: Press ⌘ then click node

2023-07-27 Thread jkn
Yes, three slashes works for me as well, and is 'correct' as a URI.

 I am not quite sure why I thought it was four slashes. I think I worked 
with some app at one point which needed the 'final' slash escaping somehow 
... it might have been related to Windows UNC schemes

Anyway, good to know that it all still works

J^n

On Thursday, July 27, 2023 at 10:19:50 AM UTC+1 lewis wrote:

> file:///path/to/a/file/or/directory 
>
> works on Windows if 3 slashes are used.
>

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/651c8e11-95a0-4305-9e69-07b9876d6b27n%40googlegroups.com.


Re: Press ⌘ then click node

2023-07-27 Thread Thomas Passin
It also works with two slashes: file://.

On Thursday, July 27, 2023 at 6:12:27 AM UTC-4 jkn wrote:

> Yes, three slashes works for me as well, and is 'correct' as a URI.
>
>  I am not quite sure why I thought it was four slashes. I think I worked 
> with some app at one point which needed the 'final' slash escaping somehow 
> ... it might have been related to Windows UNC schemes
>
> Anyway, good to know that it all still works
>
> J^n
>
> On Thursday, July 27, 2023 at 10:19:50 AM UTC+1 lewis wrote:
>
>> file:///path/to/a/file/or/directory 
>>
>> works on Windows if 3 slashes are used.
>>
>

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/1d1719bb-8503-4684-b7c3-be7ef3fd8701n%40googlegroups.com.