Re: 1d3e6bc: The CompareLeoOutlines class for comparing .leo files

2018-02-12 Thread Edward K. Ream
On Monday, February 12, 2018 at 2:20:13 AM UTC-6, Edward K. Ream wrote: > I plan no further work on this code. It's time to get 5.7b2 out the door. > Naturally, I immediately thought of some more useful tasks. The following will wait until after b2: - Create a command that brings up a dialog

Re: Wrap Lines in Log Pane

2018-02-12 Thread Chris George
Heh, I searched the docs first, but then realized it might be easier to find in LeoSettings.leo. Chris On Sun, Feb 11, 2018 at 10:44 PM, Edward K. Ream wrote: > On Sun, Feb 11, 2018 at 1:46 PM, Chris George > wrote: > > Found it in LeoSettings.leo,

Anaconda and Leo

2018-02-12 Thread Largo84
I recently had to reinstall Leo on my assistant's PC after a computer upgrade. I was sorta dreading the experience, but found that the Anaconda route was actually pretty easy. However, I have a documentation comment and a question: 1. Following the instructions, I tried the pip install leo

Re: 1d3e6bc: The CompareLeoOutlines class for comparing .leo files

2018-02-12 Thread Edward K. Ream
On Monday, February 12, 2018 at 2:20:13 AM UTC-6, Edward K. Ream wrote: - Added show_files keyword arg to diff_list_of_files, default False. > When False, the to-be-compared files are opened in a null gui, > effectively hiding them. > I'm not sure this is an old or new bug, but now the

Re: Anaconda and Leo

2018-02-12 Thread Edward K. Ream
On Mon, Feb 12, 2018 at 7:06 AM, Largo84 wrote: I recently had to reinstall Leo on my assistant's PC after a computer > upgrade. I was sorta dreading the experience, but found that the Anaconda > route was actually pretty easy. > ​Good to hear. ​ > However, I have a

Re: Strange problem.

2018-02-12 Thread Chris George
In the @shortcuts node in myLeoSettings.leo: @command- = Ctrl-e Turns out it still works if you skip the @command- part. Chris On Sun, Feb 11, 2018 at 10:38 PM, Edward K. Ream wrote: > On Sun, Feb 11, 2018 at 6:00 PM, Chris George > wrote:

Re: Help with script.

2018-02-12 Thread Chris George
No, but now I will be looking into them. Chris On Sun, Feb 11, 2018 at 10:42 PM, Edward K. Ream wrote: > On Sun, Feb 11, 2018 at 1:05 PM, Chris George > wrote: > > Oh man, it is Christmas all over again. >> > > ​Glad you have found Leo helpful ;-) >

Re: Anaconda and Leo

2018-02-12 Thread Chris George
>From scratch, I install Anaconda and then install Leo using git. I start Leo using a shell script in a terminal that pulls the latest code, runs launchLeo.py --session-restore --session-save, then commits any changes in checked in Leo files to fossil once Leo is shut down. This keeps me up to

Leo 5.7b2 released

2018-02-12 Thread Edward K. Ream
Leo 5.7b2, http://leoeditor.com, is now available on SourceForge and on GitHub . Many thanks to all those who have contributed to this release. Leo is an IDE, outliner and PIM, as described here

Re: The master branch is now open

2018-02-12 Thread Edward K. Ream
On Monday, February 12, 2018 at 11:33:47 AM UTC-6, Edward K. Ream wrote: All distributions files have now been created. I'll be uploading the files > soon. > Done. Please continue to hold all non-essential changes until Leo 5.7 final, due around Friday. Edward -- You received this message

Re: Strange problem.

2018-02-12 Thread Edward K. Ream
On Mon, Feb 12, 2018 at 9:22 AM, Chris George wrote: > In the @shortcuts node in myLeoSettings.leo: > > @command- = Ctrl-e > > Turns out it still works if you skip the @command- part. > ​That's because @command nodes create several commands, with and without the

The master branch is now open

2018-02-12 Thread Edward K. Ream
All distributions files have now been created. I'll be uploading the files soon. 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

Re: Strange problem.

2018-02-12 Thread Chris George
Reading that in the docs was what led me to try the form @command-x in the first place. Chris On Monday, February 12, 2018 at 8:50:55 AM UTC-8, Edward K. Ream wrote: > > > > On Mon, Feb 12, 2018 at 9:22 AM, Chris George > wrote: > >> In the @shortcuts node in

Re: Strange problem.

2018-02-12 Thread Edward K. Ream
On Mon, Feb 12, 2018 at 12:16 PM, Chris George wrote: > Reading that in the docs was what led me to try the form > @command-x in the first place. > ​ #718: @command-x = binding crashes Leo on startup ​ will be

f823e18: Simplified, improved CompareLeoOutlines class

2018-02-12 Thread Edward K. Ream
It turns out that always reading the entire .leo files to be diffed collapses the complexity of the code, clarifies what is happening, and does not greatly complicate the diffs: - diff_list_of_files no longer takes a show_files arg. To-be-differed files are always fully loaded and always

Re: 1d3e6bc: The CompareLeoOutlines class for comparing .leo files

2018-02-12 Thread Edward K. Ream
On Monday, February 12, 2018 at 1:58:57 AM UTC-6, Edward K. Ream wrote: >This post describes the new CompareLeoOutlines class in leo/core/leoCompare.py. Rev 612e353 improves the code as follows: - Added show_files keyword arg to diff_list_of_files, default False. When False, the

Re: Anaconda and Leo

2018-02-12 Thread Largo84
So, is there an Anaconda update command that will pull in a more recent 'official' release? Or, is her machine stuck with whichever version was installed initially? Or would I need to manually update her Leo package in Anaconda whenever I think it's advantageous to do so? Rob... > >>1.

Re: Anaconda and Leo

2018-02-12 Thread Matt Wilkie
> Upgrade to any tag in the >> development version (after ~Dec 2017, earlier tags will probably fail): >> >> pip install --upgrade https:// >> github.com/leo-editor/leo-editor/archive/5.7b2.zip >> > > Sigh. One of these days I'll learn to test my

Re: Anaconda and Leo

2018-02-12 Thread Matt Wilkie
> So, is there an Anaconda update command that will pull in a more recent > 'official' release? Or, is her machine stuck with whichever version was > installed initially? Or would I need to manually update her Leo package in > Anaconda whenever I think it's advantageous to do so? > Just to

Re: Anaconda and Leo

2018-02-12 Thread Matt Wilkie
> Upgrade to any tag in the > development version (after ~Dec 2017, earlier tags will probably fail): > > pip install --upgrade https:// > github.com/leo-editor/leo-editor/archive/5.7b2.zip > Sigh. One of these days I'll learn to test my

Re: Help with script.

2018-02-12 Thread Matt Wilkie
> The @button saved the .leo file, triggering the save of the text file as > well. Fossil picked up both changes. > > Is it possible to write the @clean node to disk without saving the .leo > file? That would let me give unique commit messages for each @clean file > and also for the .leo file

Re: 1d3e6bc: The CompareLeoOutlines class for comparing .leo files

2018-02-12 Thread Matt Wilkie
This is really cool work Edward. I'm sorry the patient died, but the necropsy yielded a useful tool for future work :) - Create a command that brings up a dialog prompting for 2 or more files to > be compared. I'll never use this myself, but it may be useful for those > who are afraid of

Re: Matt, how do I review your docs?

2018-02-12 Thread Matt Wilkie
> Leo's diff-marked-nodes command only compares two outlines at a time. > Ahh, thank you for that. There's so much about Leo I've yet to discover! -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop

Re: A prize for better looking Qt style sheets?

2018-02-12 Thread Matt Wilkie
> > Stay on that soapbox.The imposition of ultra low contrast, gray on gray > text is simply poor design with very little regard for legibility. > It's not like we have an ink shortage. > Hear! Hear! Gray on gray bothered me *before* I started needing glasses for computer work. Now it's