Re: Viewrendered3 Advice and Thoughts Sought

2020-03-03 Thread Thomas Passin
On Wednesday, March 4, 2020 at 12:08:15 AM UTC-5, gar wrote: > > Good news! > Thomas, can the then later use vr3 for say doxygen or javadocs docstings > preview? > Currently it can do anything that viewrendered can do, plus the enhancements for RsT and MD. In the future, I hope to have it rende

Re: Viewrendered3 Advice and Thoughts Sought

2020-03-03 Thread gar
Good news! Thomas, can the then later use vr3 for say doxygen or javadocs docstings preview? Leo is very good as a code documenter. ср, 4 мар. 2020 г. в 06:41, Thomas Passin : > Thanks, Gar and Edward. I have combined the two stylesheets into one and > placed it into a directory in the plugins di

Re: Find & Navigate jump to wrong location

2020-03-03 Thread gar
> > Yes, I don't know why anyone would actually want to do that - too hard to > edit and find things. > I used that particular case to have a reference implementation of the things I need. Built-in @auto-import algo gave me too many nodes so I decided to use @edit to see the whole picture at the mo

Re: Viewrendered3 Advice and Thoughts Sought

2020-03-03 Thread Thomas Passin
Thanks, Gar and Edward. I have combined the two stylesheets into one and placed it into a directory in the plugins directory. They won't be automatically be updated when docutils updates theirs, but I think that's a small price to pay for simplicity. You can still specify your own stylesheet,

Re: Find & Navigate jump to wrong location

2020-03-03 Thread Thomas Passin
On Tuesday, March 3, 2020 at 6:52:48 PM UTC-5, Edward K. Ream wrote: > > On Tue, Mar 3, 2020 at 3:04 PM Thomas Passin > wrote: > > I imported a 15MB text file (10,000 lines) using Read-File-Into-Node. >> > > @killcolor should speed things up considerably. > > That said, it would be more Leonin

Re: Find & Navigate jump to wrong location

2020-03-03 Thread Edward K. Ream
On Tue, Mar 3, 2020 at 3:04 PM Thomas Passin wrote: I imported a 15MB text file (10,000 lines) using Read-File-Into-Node. > @killcolor should speed things up considerably. That said, it would be more Leonine to split the file into nodes. But you knew that. In any case, there is no way, other

Re: Heads up: #1521 changes Leo's read code

2020-03-03 Thread Edward K. Ream
On Tue, Mar 3, 2020 at 2:22 PM jkn wrote: > > Thank you. It looks like > > {{g.app.homeDir}} > > etc. is what I am after... > Glad to hear it. Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop r

Re: zombie process generated by g.execute_shell_commands

2020-03-03 Thread Edward K. Ream
On Tue, Mar 3, 2020 at 2:11 PM Matt Wilkie wrote: > > ... I click the mouse in the terminal but accidentally drag it. This >> hangs Leo. I think it's something about stdin waiting for a keystroke. >> That's why typing clears it - that terminates the readline on stdin. >> > > Yeah, this is a ge

Re: Find & Navigate jump to wrong location

2020-03-03 Thread Thomas Passin
I imported a 15MB text file (10,000 lines) using Read-File-Into-Node. It worked, but it took a long time. Scrolling or jumping within the file also took a very long time. Jumping from the end to the start took several seconds. A search from the start to a phrase at the end took about 5 seco

Re: Heads up: #1521 changes Leo's read code

2020-03-03 Thread jkn
On Tuesday, March 3, 2020 at 6:23:05 PM UTC, Edward K. Ream wrote: > > On Tue, Mar 3, 2020 at 9:18 AM jkn > > wrote: > > > > the path expressions section you link to mentions using something like: > > @file {{c.config.getString('my-dir')}}{{sep}}myFile.py > > but is it possible to use environmen

Re: zombie process generated by g.execute_shell_commands

2020-03-03 Thread Matt Wilkie
> ... I click the mouse in the terminal but accidentally drag it. This > hangs Leo. I think it's something about stdin waiting for a keystroke. > That's why typing clears it - that terminates the readline on stdin. > Yeah, this is a generic Windows Command Prompt window problem. I use the

Re: Heads up: #1521 changes Leo's read code

2020-03-03 Thread Edward K. Ream
On Tue, Mar 3, 2020 at 10:11 AM Thomas Passin wrote: > I'm not crazy about using {{sep}} here. > g.os_path_finalize_join will avoid the need for {{sep}}. Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and

Re: Heads up: #1521 changes Leo's read code

2020-03-03 Thread Edward K. Ream
On Tue, Mar 3, 2020 at 9:18 AM jkn wrote: > the path expressions section you link to mentions using something like: @file {{c.config.getString('my-dir')}}{{sep}}myFile.py but is it possible to use environment variables in a similar way? You can do anything that is possible to do knowing c and

Re: Find & Navigate jump to wrong location

2020-03-03 Thread Edward K. Ream
On Tue, Mar 3, 2020 at 5:03 AM gar wrote: > Very strange. Tested right now on anther box. Searched for "php_rule70". > It doesnt even change the screen on doubleclick. And works extremely slow. > Did you included it as @edit? > Yes. Edward -- You received this message because you are subscrib

Re: Heads up: #1521 changes Leo's read code

2020-03-03 Thread Thomas Passin
I'm not crazy about using {{sep}} here. It's not very readable, and it's harder to type that a single character. Requiring matched double braces also promotes the chance of an unspotted typo. IMO, instead of {{sep}} Leo should accept any of the standard path separators and convert them itself

Re: Viewrendered3 Advice and Thoughts Sought

2020-03-03 Thread Thomas Passin
Thank you, Edward. On Tuesday, March 3, 2020 at 4:34:22 AM UTC-5, Edward K. Ream wrote: > > On Mon, Mar 2, 2020 at 10:00 PM Thomas Passin > wrote: > > > ...is considered acceptable to place a css style sheet in the plugins > directory. > > Yes. Plugins can even create sub-directories in the plug

Re: Heads up: #1521 changes Leo's read code

2020-03-03 Thread jkn
On Tuesday, March 3, 2020 at 10:58:42 AM UTC, Edward K. Ream wrote: > > #1521 fixes > long-standing bugs with path expressions > in @clean, @asis > and @shadow nodes. > > The new cod

Re: Find & Navigate jump to wrong location

2020-03-03 Thread gar
Very strange. Tested right now on anther box. Searched for "php_rule70". It doesnt even change the screen on doubleclick. And works extremely slow. Did you included it as @edit? вт, 3 мар. 2020 г. в 13:04, Edward K. Ream : > On Monday, March 2, 2020 at 2:42:02 PM UTC-6, gar wrote: > > Add @edit m

Heads up: #1521 changes Leo's read code

2020-03-03 Thread Edward K. Ream
#1521 fixes long-standing bugs with path expressions in @clean, @asis and @shadow nodes. The new code is simpler than before. All unit tests pass, which is a significant set of tests

Re: Find & Navigate jump to wrong location

2020-03-03 Thread Edward K. Ream
On Monday, March 2, 2020 at 2:42:02 PM UTC-6, gar wrote: Add @edit modes/php.py in leo 6.2-b1-devel. > Find "::php_lit", press F3 - "ne_start" is selected on the line where > nothing similar to search string at al. > Then do the same with --F - all matches lead to random location w/o > desired p

Re: Viewrendered3 Advice and Thoughts Sought

2020-03-03 Thread Edward K. Ream
On Mon, Mar 2, 2020 at 10:26 PM Thomas Passin wrote: > I should probably have started with a summary of what VR3 is all about. > Thanks for this. Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop re

Re: Viewrendered3 Advice and Thoughts Sought

2020-03-03 Thread Edward K. Ream
On Mon, Mar 2, 2020 at 10:08 PM Thomas Passin wrote: My question here is whether to release the plugin even though it doesn't > work dockless. > It's fine to do that. Not all plugins work in all environments. Edward -- You received this message because you are subscribed to the Google Groups

Re: Viewrendered3 Advice and Thoughts Sought

2020-03-03 Thread Edward K. Ream
On Mon, Mar 2, 2020 at 10:00 PM Thomas Passin wrote: > ...is considered acceptable to place a css style sheet in the plugins directory. Yes. Plugins can even create sub-directories in the plugins directory. Edward -- You received this message because you are subscribed to the Google Groups "