Re: Discuss: drop support for Qt docks?

2020-09-17 Thread tbp1...@gmail.com
" reopening the window creates an unstyled window". I don't see that happening. Closing a free-floating VR3 window with vr3-toggle doesn't work, that's true, but I can close the window by clicking in its close box. Next time I toggle it into visibility, it opens correctly in the embedded pa

Re: Discuss: drop support for Qt docks?

2020-09-17 Thread tbp1...@gmail.com
34 AM UTC-4 Edward K. Ream wrote: > On Thu, Sep 17, 2020 at 9:07 AM tbp1...@gmail.com > wrote: > >> " reopening the window creates an unstyled window". I don't see that >> happening. Closing a free-floating VR3 window with vr3-toggle doesn't >> wor

Re: Discuss: drop support for Qt docks?

2020-09-17 Thread tbp1...@gmail.com
Edward K. Ream wrote: > On Thu, Sep 17, 2020 at 10:57 AM tbp1...@gmail.com > wrote: > >> Hmm, that's different from what I'm getting. And what do you mean by >> "styled"? >> > > The new window is white, not black, so I assume no stylesheet is bein

No-docks Unexpected Behavior with VR3

2020-09-20 Thread tbp1...@gmail.com
I just discovered an unexpected behavior when Viewrendered3 is opened. This is a change from before, and it must be related to the changes in Leo's pane/splitter code. If I open VR3 - and it always opens in a free floating window at present - everything seems to work properly. However, if I s

Re: About changes to VR3

2020-09-22 Thread tbp1...@gmail.com
For VR3, I just copied the code from VR. I didn't know anything about how it all worked, the ``provides`` code and all, so I didn't make any changes. I seem to remember that at some point, I did change ``viewrendered`` to ``viewrendered3`` somewhere in the ``provider`` class, but I might not

Re: About changes to VR3

2020-09-22 Thread tbp1...@gmail.com
Unfortunately, changing ns_provider_id to return a constant string did not cause the VR3 pane to be global. -- 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-ed

Re: About changes to VR3

2020-09-22 Thread tbp1...@gmail.com
x27;t bear on how to get VR3 to open in a internal pane instead of a floating window. On Tuesday, September 22, 2020 at 6:41:59 PM UTC-4 tbp1...@gmail.com wrote: > Unfortunately, changing ns_provider_id to return a constant string did not > cause the VR3 pane to be global. > -- You

Re: About changes to VR3

2020-09-22 Thread tbp1...@gmail.com
n Tuesday, September 22, 2020 at 9:04:43 PM UTC-4 tbp1...@gmail.com wrote: > The upshot is : > > 1) Making the suggested change(s) does not give us a global VR3 window; > 2) All these ``ns_provider`` things seem to apply only when a floating > window is opened from the splitter ba

Re: About changes to VR3

2020-09-22 Thread tbp1...@gmail.com
f the outline file being rendered. This must be a clue, and I'll see if it leads me anywhere. On Tuesday, September 22, 2020 at 10:16:39 PM UTC-4 tbp1...@gmail.com wrote: > After I deleted .leo\db folder, VR3 finally opened in an internal frame. > Opening a floating VR3 window f

Re: About changes to VR3

2020-09-23 Thread tbp1...@gmail.com
Neither one returns VR3 to the internal pane. On Wednesday, September 23, 2020 at 7:27:36 AM UTC-4 Edward K. Ream wrote: > On Tue, Sep 22, 2020 at 10:01 PM tbp1...@gmail.com > wrote: > >> We are not out of the woods yet. I have found that unpredictably an >> outli

Re: SQL Syntax / Custom Syntaxes

2020-09-23 Thread tbp1...@gmail.com
Leo can colorize javascript (perhaps not es-6 specifically). @language javascript works fine on my tiny test node. On Wednesday, September 23, 2020 at 1:14:02 PM UTC-4 gar wrote: > For my private usage I made javascript-es6 syntax fork and use it in my > project until now. > Actually it is pret

Re: About changes to VR3

2020-09-23 Thread tbp1...@gmail.com
ptember 23, 2020 at 9:42:08 AM UTC-4 tbp1...@gmail.com wrote: > Neither one returns VR3 to the internal pane. > > On Wednesday, September 23, 2020 at 7:27:36 AM UTC-4 Edward K. Ream wrote: > >> On Tue, Sep 22, 2020 at 10:01 PM tbp1...@gmail.com >> wrote: >> >

Re: About changes to VR3

2020-09-23 Thread tbp1...@gmail.com
only they could have been made to work correctly. On Wednesday, September 23, 2020 at 3:15:52 PM UTC-4 tbp1...@gmail.com wrote: > Some progress to report. I created a layout that puts VR3 into the > right-hand pane. This is my normal layout with the outline and log panes > at the

Re: About changes to VR3

2020-09-24 Thread tbp1...@gmail.com
], 'sizes': [0,0,0] } splitter.load_layout(layout) vr3.c.k.simulateCommand('vr3-update') I have de-compactified the layout dictionary to make it easier to read and modify. On Thursday, September 24, 2020 at 10:00:36 AM UTC-4 Edward K. Ream wrote: &

Re: About changes to VR3

2020-09-24 Thread tbp1...@gmail.com
Note that the Viewrendered plugin suffers from the same problems as VR3 did. That is not surprising since the VR3 splitter code was taken directly from VR. On Thursday, September 24, 2020 at 11:55:02 AM UTC-4 tbp1...@gmail.com wrote: > Here is the code for my experimental command to open

Re: About changes to VR3

2020-09-24 Thread tbp1...@gmail.com
-4 Edward K. Ream wrote: > On Thu, Sep 24, 2020 at 10:57 AM tbp1...@gmail.com > wrote: > >> Note that the Viewrendered plugin suffers from the same problems as VR3 >> did. That is not surprising since the VR3 splitter code was taken directly >> from VR. >> >

Leo Should Include a Basic ns_provider Class

2020-09-26 Thread tbp1...@gmail.com
after looking over VR3's ViewRenderedProvider3 class, and the TestPaneProvider class in Terry Brown's example of putting up an additional pane (see https://leoeditor.com/FAQ.html#how-can-i-create-a-pane-for-matplotlib-charts), it seems to me that Leo should be providing a basic or generic class

Re: ENB: Saving restoring layouts

2020-09-29 Thread tbp1...@gmail.com
When a pane is opened as a toplevel window by using the Open Window context menu, that pane is not a part of the ordinary nested splitter layout, so far as I can tell. How can this pane be accessed? On Tuesday, September 29, 2020 at 12:35:13 PM UTC-4 Edward K. Ream wrote: > For the last severa

Re: ENB: Saving restoring layouts

2020-09-29 Thread tbp1...@gmail.com
This question is related to (or part of) the question of how you can tell that your pane has been opened as top-level window or as one of the panes of a nested splitter? On Tuesday, September 29, 2020 at 11:23:41 PM UTC-4 tbp1...@gmail.com wrote: > When a pane is opened as a toplevel win

Re: LaTex to PDF workflow using Leo

2020-09-30 Thread tbp1...@gmail.com
Yes, the method signature has changed. It's now: def afterChangeNodeContents(self, p, command, bunch, inHead=False): """Create an undo node using d created by beforeChangeNode.""" The command argument seems to be the name of the Leo command that would cause the undoable changes. Presumably

Re: ENB: Saving restoring layouts

2020-09-30 Thread tbp1...@gmail.com
On Wednesday, September 30, 2020 at 11:57:38 AM UTC-4 Edward K. Ream wrote: > On Tue, Sep 29, 2020 at 10:23 PM tbp1...@gmail.com > wrote: > > When a pane is opened as a toplevel window by using the Open Window >> context menu, that pane is not a part of the ordinary nested s

Re: ENB: Saving restoring layouts

2020-10-02 Thread tbp1...@gmail.com
By adding print statements to the constructors, I see that only one VR3 plugin instance is getting created per outline. I also see that a new VR3 controller widget (ViewRenderedController3) is getting created every time the vr3-show command is run. So the question is, what happens to the previ

Re: Leo won't start

2020-10-02 Thread tbp1...@gmail.com
I always use the command python -m leo.core.runLeo. This lets me avoid problems with paths to any special launchers, and just runs the actual code directly. If I want to run from my Github repo, I first set the PYTHONPATH environmental variable to the top of the repo first. As for the command

Re: ENB: Saving restoring layouts

2020-10-03 Thread tbp1...@gmail.com
ce to the new widget, or is its reference simply replaced by the new? If the former, we might have a leak if the old layout still hangs around somewhere. On Saturday, October 3, 2020 at 8:07:38 AM UTC-4 Edward K. Ream wrote: > On Fri, Oct 2, 2020 at 11:57 AM tbp1...@gmail.com > wrote: &g

Re: How to zoom-in or zoom-out vr3 font size?

2020-10-03 Thread tbp1...@gmail.com
The rendering pane is basically a web browser. So click in the rendering pane, then use or like most other browsers. Note that this will change the entire display, including image size. If you do not want that, then you will have to edit the stylesheet, which is in Leo's plugins/viewrende

Re: mathematical formulas display in vr3

2020-10-03 Thread tbp1...@gmail.com
Yes, it is great, isn't it? Are you asking how to make it work? You have to set a setting: For ReStructured Text, the setting is @bool vr3-math-output = True For Markdown, the setting is @bool vr3-md-math-output = True You also have to tell it where the MathJax script file is located. The s

Re: How to zoom-in or zoom-out vr3 font size?

2020-10-03 Thread tbp1...@gmail.com
Actually, there is a setting to change the default font size: @int qweb-view-font-size = 16 (or use some other size). On Saturday, October 3, 2020 at 11:48:28 AM UTC-4 tbp1...@gmail.com wrote: > The rendering pane is basically a web browser. So click in the rendering > pane, then u

Re: Tab-related bugs in devel and master

2020-11-18 Thread tbp1...@gmail.com
Also I want more versatile select commands - select whatever in braces/quotes/..., goto to the maching brace, goto the closes symbol etc. Leo does have a match-brackets command, which I have hot-keyed to Ctrl+]. It selects the region between a bracket and its matching one. There is also add-

Re: Tab-related bugs in devel and master

2020-11-18 Thread tbp1...@gmail.com
On Wednesday, November 18, 2020 at 11:19:44 AM UTC-5 Edward K. Ream wrote: > On Wed, Nov 18, 2020 at 8:45 AM gar wrote: > >> >>> Put your cursor to the beginning of the line (position 0, not the first >> char). Hold shift, press down - the line is selected. Press tab - next line >> becomes sele

Re: Tab-related bugs in devel and master

2020-11-18 Thread tbp1...@gmail.com
match-brackets does work on [], and {} as well. What kind of syntax regards "//" as bracket markers?. On Wednesday, November 18, 2020 at 12:29:01 PM UTC-5 gar wrote: > Leo does have a match-brackets command, which I have hot-keyed to Ctrl+]. >> It selects the region between a bracket and its m

Re: Tab-related bugs in devel and master

2020-11-18 Thread tbp1...@gmail.com
I just checked , and match-brackets worked there, too. It didn't work for /**/ though, if that's what you meant by "//". On Wednesday, November 18, 2020 at 1:50:54 PM UTC-5 tbp1...@gmail.com wrote: > match-brackets does work on [], and {} as well. What kind of sy

Re: Tab-related bugs in devel and master

2020-11-18 Thread tbp1...@gmail.com
1:09 PM UTC-5 tbp1...@gmail.com wrote: > I just checked , and match-brackets worked there, too. It > didn't work for /**/ though, if that's what you meant by "//". > > On Wednesday, November 18, 2020 at 1:50:54 PM UTC-5 tbp1...@gmail.com > wrote: > >&

More About TAB Issues

2020-11-18 Thread tbp1...@gmail.com
I have probably lost track in all the posts in the last TABs thread, but pressing the TAB key in the middle of a line now indents the line instead of adding a tab at the cursor location. I'm referring to the current devel branch: Leo 6.4-devel, devel branch, build b6a382048c 2020-11-18 07:49:2

Re: More About TAB Issues

2020-11-18 Thread tbp1...@gmail.com
2020 г. в 02:01, tbp1...@gmail.com : > >> I have probably lost track in all the posts in the last TABs thread, but >> pressing the TAB key in the middle of a line now indents the line instead >> of adding a tab at the cursor location. I'm referring to the current devel

Re: More About TAB Issues

2020-11-19 Thread tbp1...@gmail.com
Thanks! On Thursday, November 19, 2020 at 6:50:33 AM UTC-5 Edward K. Ream wrote: > On Wed, Nov 18, 2020 at 5:01 PM tbp1...@gmail.com > wrote: > >> I have probably lost track in all the posts in the last TABs thread, but >> pressing the TAB key in the middle of a line

Re: More About TAB Issues

2020-11-19 Thread tbp1...@gmail.com
it of having fixed tab stops. I had never noticed this before, but I see that it is also the way the Editplus works. Thank you, Edward, for getting this straightened out! On Thursday, November 19, 2020 at 6:50:33 AM UTC-5 Edward K. Ream wrote: > On Wed, Nov 18, 2020 at 5:01 PM tbp1...@g

Colorizing of @language directive

2020-11-19 Thread tbp1...@gmail.com
For a line in the body starting with @language, the directive is colored for common languages but not all. Specifically, it gets colored for plsql but not sql. I would like to include sql in the colored directives. I noticed that there was a syntax rules file plsql.py in the leo/modes direc

Re: Colorizing of @language directive

2020-11-19 Thread tbp1...@gmail.com
olorizes SQL code that follows an @language sql directive, as I wanted. I got interested in this because I had some SQL bits that I wanted VR3 to render in a colorized manner. That change was easy, but then the @language sql didn't behave as desired. On Thursday, November 19, 2020 at

Replace-all Fails for RexExP Replacements

2020-11-21 Thread tbp1...@gmail.com
When I run a search/replace with a RegExp search phrase, and I want to specify a group to change, the replace works when I use the command replace-then-find (ALT+-), but it fails when I run replace-all. Test case: Add a space following a regex group - 1. Enter the following into a node body: 20

Re: inject arbitrary python code into leo's node

2020-11-27 Thread tbp1...@gmail.com
Wouldn't this work, as long as you know the path already? import sys sys.path.insert(path_to_lib, 0) import lib This would cause Python to look first in path_to_lib for the import. I've used this technique a few times myself. On Friday, November 27, 2020 at 9:16:06 AM UTC-5 gar wrote: > What I

Re: inject arbitrary python code into leo's node

2020-11-27 Thread tbp1...@gmail.com
should be the default one > > пятница, 27 ноября 2020 г. в 18:26:07 UTC+3, tbp1...@gmail.com: > >> Wouldn't this work, as long as you know the path already? >> >> import sys >> sys.path.insert(path_to_lib, 0) >> import lib >> >> This would ca

Re: inject arbitrary python code into leo's node

2020-11-27 Thread tbp1...@gmail.com
You could also add your directories to the pythonpath by adding a .pth file containing the path(s), possibly in your application's directory or in site-packages. On Friday, November 27, 2020 at 11:18:58 AM UTC-5 tbp1...@gmail.com wrote: > You could put the packages into some standard

Re: inject arbitrary python code into leo's node

2020-11-27 Thread tbp1...@gmail.com
has no attribute 'frame' > > Wasted a couple of hours in the resultless attempts to make it work :-( > пятница, 27 ноября 2020 г. в 19:25:28 UTC+3, tbp1...@gmail.com: > >> You could also add your directories to the pythonpath by adding a .pth >> file co

Re: SB: Please Read. Huge Ahas re unit testing

2020-11-29 Thread tbp1...@gmail.com
I'm glad to see you taking this approach. I think that different development tasks should be done in separate branches. In the past I've not always been careful about this, and by now I think I may finally have learned the lesson. On Sunday, November 29, 2020 at 1:52:56 PM UTC-5 Edward K. Rea

Re: PR's are a great success

2020-11-30 Thread tbp1...@gmail.com
I suggest searching for Raymond Chen's posts on git tricks in his blog "The Old New Things". This search might be a starting point: *"the old new thing" commit tricks*. Examples: https://devblogs.microsoft.com/oldnewthing/20190514-00/?p=102493 https://devblogs.microsoft.com/oldnewthing/20190515

Re: exec python code from myLeoSettings at startup and on reload-settings

2020-11-30 Thread tbp1...@gmail.com
I think there would need ot be a new type of setting: @execute. You would probably need to code it yourself :) On Monday, November 30, 2020 at 3:52:09 PM UTC-5 gar wrote: > Still working on "myLeoIDE" mode. > The idea with making command files and loading them with import gave my > alot of ben

Re: Headline editing change

2020-12-01 Thread tbp1...@gmail.com
Running Windows on a near-current devel branch, I don't get this behavior. I tried both as described by Rob, and by backspacing to delete a character, and neither time did the focus go to the body. Going back to the release version 6.3, I also don't get this behavior. I also tried the 6.3 rel

Re: Headline editing change

2020-12-01 Thread tbp1...@gmail.com
r > if I'm the only one who sees this behavior. > > Rob... > > On Tuesday, December 1, 2020 at 12:04:47 PM UTC-5 tbp1...@gmail.com wrote: > >> Running Windows on a near-current devel branch, I don't get this >> behavior. I tried both as described by Rob, a

Re: About the default behavior for externally modifying a .leo file while it's opened in Leo

2020-12-06 Thread tbp1...@gmail.com
No, I don't think that's what Félix means. Open a .Leo file in say a text editor while it's also open in Leo. In the text editor, make a change to the .leo file and save. Leo doesn't notice the change. I just tried it. After I closed and reopened the .leo file in Leo, the change showed up in

Re: ENB: Are huge Leo outlines possible?

2020-12-09 Thread tbp1...@gmail.com
Ah, the pdp-8, a trip down memory lane. I used an 8i extensively in the early 70s, but did not make the acquaintance of TECO. After looking it up on Wikipedia, I' m glad I didn't. Remember how 3 ascii characters were packed into two 12-bit words? And while the 8e may have come with 12k of R

Re: ENB: Are huge Leo outlines possible?

2020-12-10 Thread tbp1...@gmail.com
must have stored it there, but it's been too long... On Thursday, December 10, 2020 at 8:51:30 PM UTC-5 David Szent-Györgyi wrote: > On Wednesday, December 9, 2020 at 10:11:01 AM UTC-5 tbp1...@gmail.com > wrote: > >> Ah, the pdp-8, a trip down memory lane. I used an 8i ext

Re: Three big Ahas re collaborating with Leo

2020-12-12 Thread tbp1...@gmail.com
This is where I get uneasy because I have messed up too many merge attempts (never tried with Leo outlines). Those merge tools can be so confusing as to what is going to happen! On Saturday, December 12, 2020 at 10:06:53 AM UTC-5 Edward K. Ream wrote: > ... 2. Because of conflict markers, leoj

Re: Upgrading Leo from 6.1 to 6.3 - my oh my

2020-12-13 Thread tbp1...@gmail.com
I learned that some GUI settings left over from years ago still have an effect if I'm not using a theme. And sometimes those settings and the theme don't play together well. OTOH, I'm not using a theme just now because there are a few things I don't like in the current dark theme but I haven'

Re: lost my leo and much data with it

2020-12-13 Thread tbp1...@gmail.com
Your actual .leo files are probably still there, where ever they were before. You could look for them with find. Then after getting Leo reinstalled, you should be good to go. Otherwise, there's always the backups :) On Sunday, December 13, 2020 at 7:42:01 PM UTC-5 andyjim wrote: > I updated

Re: lost my leo and much data with it

2020-12-13 Thread tbp1...@gmail.com
to install 3.9 from > Python. Says it's installed but doesn't seem to be. > should I just run a leo install anyway? What install command should I > use? MacOS > > On Sunday, December 13, 2020 at 8:08:24 PM UTC-5 tbp1...@gmail.com wrote: > >> Your actual .leo fi

Re: lost my leo and much data with it

2020-12-14 Thread tbp1...@gmail.com
Of course, if brew was your only package manager, I suppose my suggestions above might not work out so well... On Sunday, December 13, 2020 at 11:22:59 PM UTC-5 tbp1...@gmail.com wrote: > Many systems have both Python 2.7x and Python 3.x. On several Linux > systems I have, "pytho

Re: lost my leo and much data with it

2020-12-14 Thread tbp1...@gmail.com
from >> Python. Says it's installed but doesn't seem to be. >> should I just run a leo install anyway? What install command should I >> use? MacOS >> >> On Sunday, December 13, 2020 at 8:08:24 PM UTC-5 tbp1...@gmail.com wrote: >> >>> Your ac

Re: lost my leo and much data with it

2020-12-14 Thread tbp1...@gmail.com
t know if it works on Mac. > On Monday, December 14, 2020 at 7:47:10 AM UTC-5 Edward K. Ream wrote: > >> On Sun, Dec 13, 2020 at 7:08 PM tbp1...@gmail.com >> wrote: >> >>> Your actual .leo files are probably still there, where ever they were >>> before.

Re: ENB: The kernel of leojs: Leo in JS

2020-12-16 Thread tbp1...@gmail.com
I believe that Graal can (or soon will be able to) target both python and javascript. What I'm not sure about yet is whether you could write in python and output javascript. It may be that you would have to write in java and then you could output either python or javascript (see, e.g., https:

Re: ENB: The kernel of leojs: Leo in JS

2020-12-16 Thread tbp1...@gmail.com
PyPy has a "preliminary" version of a javascript interpreter for Python code. https://doc.pypy.org/en/latest/faq.html?highlight=javascript#can-i-use-pypy-s-translation-toolchain-for-other-languages-besides-python On Wednesday, December 16, 2020 at 4:55:50 PM UTC-5 Edward K. Ream wrote: > On Wed

Re: ENB: The kernel of leojs: Leo in JS

2020-12-16 Thread tbp1...@gmail.com
I also found dukpy: dukpy <https://pypi.org/project/dukpy/> " DukPy is a simple javascript interpreter for Python built on top of duktape engine *without any external dependency*". It can transpile to Typescript. On Wednesday, December 16, 2020 at 5:36:24 PM UTC-5 tbp1...

Re: lost my leo and much data with it

2020-12-16 Thread tbp1...@gmail.com
;, > line 7, in from pip.*internal.main import main ImportError: No > module named pip.*internal.main > > Where do I go from here? Thanks. > > > On Tuesday, December 15, 2020 at 12:16:24 AM UTC-5 tbp1...@gmail.com > wrote: > >> The most obvious thing would be

Re: lost my leo and much data with it

2020-12-16 Thread tbp1...@gmail.com
On Wednesday, December 16, 2020 at 8:28:54 PM UTC-5 andyjim wrote: > Tom, you have saved my bacon. .leoRecentFiles found the missing file, 7 > directories deep at usr/local/lib/python3.7/site-packages/Leo/doc/. The > file appears uncorrupted, but it seems to be the only copy of that file > an

Re: ENB: The kernel of leojs: Leo in JS

2020-12-16 Thread tbp1...@gmail.com
If you plan to write a server to be the go-between between Leo and vs, it's the API that counts, not the coding language. The server language can be whatever works well for you. So Rust, sure, go for it. Leo/python will be able to talk with your API. If you want to have an especially well-ar

Re: lost my leo and much data with it

2020-12-17 Thread tbp1...@gmail.com
:) We all need help sometimes, don't we? On Thursday, December 17, 2020 at 7:18:38 AM UTC-5 Edward K. Ream wrote: > On Wed, Dec 16, 2020 at 10:12 PM tbp1...@gmail.com > wrote: > > > So create a new directory, maybe ~/leo-outlines, if you like, and put > them there. An

Re: lost my leo and much data with it

2020-12-17 Thread tbp1...@gmail.com
On Thursday, December 17, 2020 at 9:30:29 AM UTC-5 andyjim wrote: > Despite the glitch with pip, it appears I have python3.9, so I went ahead >> with: >> >> Andrews-iMac:~ jam$ python 3.9 - leo.core.runLeo python: can't open file >> '3.9': [Errno 2] No such file or directory >> > No space after

Re: lost my leo and much data with it

2020-12-17 Thread tbp1...@gmail.com
darwin > Type "help", "copyright", "credits" or "license" for more information. > >>> > > not sure what's supposed to happen here > > On Thursday, December 17, 2020 at 9:51:45 AM UTC-5 tbp1...@gmail.com > wrote: > >> O

PIP can't find any version of Leo to install

2020-12-17 Thread tbp1...@gmail.com
Just out of curiosity, I ran py38 -m pip install leo== ERROR: Could not find a version that satisfies the requirement leo== ERROR: No matching distribution found for leo== Hmm, Pypi doesn't have any version of Leo to install? Same results on two Linux VMs. I know how to install the current ver

Re: PIP can't find any version of Leo to install

2020-12-17 Thread tbp1...@gmail.com
Oh, I forgot, I got the same result for leo-editor. On Thursday, December 17, 2020 at 9:55:55 PM UTC-5 tbp1...@gmail.com wrote: > Just out of curiosity, I ran > > py38 -m pip install leo== > ERROR: Could not find a version that satisfies the requirement leo== > ERROR: No matchi

Re: PIP can't find any version of Leo to install

2020-12-18 Thread tbp1...@gmail.com
2020 at 10:00:07 PM UTC-5 tbp1...@gmail.com wrote: > Oh, I forgot, I got the same result for leo-editor. > > On Thursday, December 17, 2020 at 9:55:55 PM UTC-5 tbp1...@gmail.com > wrote: > >> Just out of curiosity, I ran >> >> py38 -m pip install leo== >&g

Errors in leoUndo.py for None objects

2020-12-18 Thread tbp1...@gmail.com
I've been getting a lot of errors like these - Unexpected exception... Traceback (most recent call last): File "d:\Tom\git\leo-editor\leo\core\leoUndo.py", line 1054, in doTyping prev_start, prev_end = u.prevSel TypeError: cannot unpack non-iterable NoneType object I can't tell yet just w

Re: Errors in leoUndo.py for None objects

2020-12-18 Thread tbp1...@gmail.com
only happening in an outline for which I have set @string undo-granularity = word They don't happen in another outline that doesn't have this setting. On Friday, December 18, 2020 at 4:18:23 PM UTC-5 tbp1...@gmail.com wrote: > I've been getting a lot of errors like thes

Re: Errors in leoUndo.py for None objects

2020-12-18 Thread tbp1...@gmail.com
K. Ream wrote: > >> On Fri, Dec 18, 2020 at 3:29 PM tbp1...@gmail.com >> wrote: >> > > >> OK, this happens when I create a node, type some characters, and then > backspace some of them. I get the error on every backspace. > > > Thanks for the report. I

Re: Issues with Leo installation in Debian

2020-12-19 Thread tbp1...@gmail.com
When you tried to install using pip, it seems to have failed to install qt5 properly. Then when you copied the zip file, it would be trying to use that incomplete qt5 system. This might be behind the problem. You can disable themes in the latest versions (e.g., 6.3) by adding a setting to m

Re: Issues with Leo installation in Debian

2020-12-19 Thread tbp1...@gmail.com
On Saturday, December 19, 2020 at 11:09:26 AM UTC-5 btmc...@gmail.com wrote: > ... > I'm curious how do you open files in Leo 6.3? It looks like standard > "Open" item in File menu is removed but there are non-core (and unnecessary > for me) ones like File-Open-by_Name. > Use the *File/Open Out

Re: Issues with Leo installation in Debian

2020-12-19 Thread tbp1...@gmail.com
a satisfactory default theme > (attached). Leo looks stable and I can open files by using > Open-Outline. Sorry, it confused me, I expected to see just Open:) > > Thank you once again! > > > On Saturday, December 19, 2020 at 7:38:53 PM UTC+3 tbp1...@gmail.com > w

Re: Issues with Leo installation in Debian

2020-12-19 Thread tbp1...@gmail.com
theme, these settings may not work as intended, and should probably be disabled. On Saturday, December 19, 2020 at 1:14:49 PM UTC-5 tbp1...@gmail.com wrote: > I'm so glad you got it working. Leo 6.3 is better than the 5.x series, so > that's good. > > You can also create a l

Re: Issues with Leo installation in Debian

2020-12-19 Thread tbp1...@gmail.com
>> Thanks for font advice! MATE in Debian 10 comes with Cantarell fonts and >> I didn't change default settings. I set fonts in Leo like in MATE (@string >> font-family = Cantarell) with default size. >> >> I attached the screenshot of Leo now. >> >>

Leo Needs A HELP Entry For Templates and Appearances

2020-12-19 Thread tbp1...@gmail.com
We've heard from quite a few folks recently who have had trouble with themes and the appearances of Leo, especially new users. Many of them disliked the default dark template. None of them had any idea how to make changes and get the appearance more how they like. I suggest it's time for a n

Multiple myLeoSettings.leo files?

2020-12-19 Thread tbp1...@gmail.com
The Help entry for settings says in part: " Put myLeoSettigns.leo in your home ~ directory or in the ~/.leo directory." It's a little obsolete because Leo will create this file for you (so the wording should be updated). But it got me wondering what would happen if somehow there were a myLeoS

Re: Leo Needs A HELP Entry For Templates and Appearances

2020-12-20 Thread tbp1...@gmail.com
to use the default theme. I think both the command line option and the setting should give the same result for a non-existing theme file (or at least for None). On Sunday, December 20, 2020 at 10:31:37 AM UTC-5 Edward K. Ream wrote: > On Saturday, December 19, 2020 at 10:12:07 PM UTC-6 t

Re: lost my leo and much data with it

2020-12-20 Thread tbp1...@gmail.com
sr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/bin/python' > > while executing command python setup.py egg_info > ERROR: Could not install packages due to an EnvironmentError: [Errno 2] No > such file or directory: > '/usr/local/Cell

Re: highlight word under cursor

2020-12-21 Thread tbp1...@gmail.com
I have got this feature in some editors, but I usually find it to be annoying. I prefer to move from one instance to the next with or or one of those standard shortcuts. In Leo, the NAV pane can search a node or file - of course you have to type or paste the phrase in - and gives you a list

Re: highlight word under cursor

2020-12-21 Thread tbp1...@gmail.com
ed. This simplifies refactoring and analysis. > Actually I cannot work on reasonable large codebases without it. The > project I started when knew about leo - became large enough so I can > develop it in leo w/o some features of it's IDE brothers. > > 2020-12-21 22:23 GMT+03:00,

Re: highlight word under cursor

2020-12-21 Thread tbp1...@gmail.com
I understand ... and I would add something. To develop making good use of some of Leo's strengths, I have found myself breaking up files into subtrees, and nodes. Each node usually only has a page's worth of code, sometimes much less. Their arrangement and names in the outline convey quite a

Clones - How To Return To "Original" Node?

2020-12-21 Thread tbp1...@gmail.com
If I issue a command from the cff family, I will get a subtree of clones of targets that have the search phrase. After I look at several of them, I sometimes want to go back to its matching clone, the one this new clone was duplicated from. I haven't found a convenient way to do this. The se

Re: Clones - How To Return To "Original" Node?

2020-12-22 Thread tbp1...@gmail.com
I thought there had to be something like that. Thanks, all! On Tuesday, December 22, 2020 at 5:46:09 AM UTC-5 Edward K. Ream wrote: > On Mon, Dec 21, 2020 at 10:31 PM Jacob Peck wrote: > >> “clone-find-parents” will show you all the parent nodes of that clone, >> which might be enough context?

Re: Progress re themes. Theme devs, pls read

2020-12-22 Thread tbp1...@gmail.com
I'm currently using @string font-family = Consolas, Droid Sans Mono, DejaVu Sans Mono I think that that Consolas comes with Windows and I like it better than some of the alternatives. Apparently it can be installed on Linux in some manner. I should probably move the DajaVu font ahead of the D

Re: Pls read: The new theme code is in devel

2020-12-23 Thread tbp1...@gmail.com
It looks like the new default no-theme is working on my Windows machine. And it looks very acceptable, to my eyes. I still want 10pt type for my particular display, and I already have the settings in place for that. Perhaps related to Viktor's question, I expect that reloading all settings af

Re: Pls read: The new theme code is in devel

2020-12-23 Thread tbp1...@gmail.com
build 10.0.19041) SP0 On Wednesday, December 23, 2020 at 4:10:38 PM UTC-5 tbp1...@gmail.com wrote: > It looks like the new default no-theme is working on my Windows machine. > And it looks very acceptable, to my eyes. I still want 10pt type for my > particular display, and I al

Re: Pls read: The new theme code is in devel

2020-12-23 Thread tbp1...@gmail.com
One question, though, is what should happen if an outline doesn't just override some of a theme's settings but asks for a whole other theme. Say the theme set in myLeoSettings is a dark theme but I want a light theme for my workbook. Right now that doesn't seem to work. On Wednesday, December

Themes: What is the setting to change the gutter font size?

2020-12-23 Thread tbp1...@gmail.com
I haven't been able to find a setting for specifying the gutter font size. When I change the default theme to use 10pt text, the gutter numbers look like they stay at 12 pt (although they line up properly). I have searched both the default theme and LeoPyRef, and haven't found it so far. Pre

Re: Themes: What is the setting to change the gutter font size?

2020-12-24 Thread tbp1...@gmail.com
On Thursday, December 24, 2020 at 6:43:31 AM UTC-5 Edward K. Ream wrote: > On Wed, Dec 23, 2020 at 11:24 PM tbp1...@gmail.com > wrote: > > I haven't been able to find a setting for specifying the gutter font >> size. >> > > leoSettings.leo contains a &quo

Re: highlight word under cursor

2020-12-24 Thread tbp1...@gmail.com
You could bind the *cff** command to some unused key combination. Except that these commands don't work on the selected text - you have to have entered something in the *find *tab first. I think that's an oversight. I'd like the *cff** commands work like *find-quick-selected*: if some text is

Re: Progress re themes. Theme devs, pls read

2020-12-26 Thread tbp1...@gmail.com
It's a matter of adding or changing a setting in *myLeoSettings.leo* vs changing a setting in a theme outline. Not much different. More of a difficulty is knowing what particular settings to change. In my case, I copied one of the dark themes and used that renamed copy to try to reduce the fo

Re: Progress re themes. Theme devs, pls read

2020-12-26 Thread tbp1...@gmail.com
On Saturday, December 26, 2020 at 9:10:39 AM UTC-5 gar wrote: > It's a matter of adding or changing a setting in *myLeoSettings.leo* vs >> changing a setting in a theme outline. Not much different. More of a >> difficulty is knowing what particular settings to change. >> > Great difference act

Re: highlight word under cursor

2020-12-26 Thread tbp1...@gmail.com
I have written a script that more-or-less does this. It highlights every occurrence of the selected string. You have to invoke it - I tested the script using a button, but you could bind it to a hotkey. To remove the highlighting, you unselect the string (by clicking somewhere else), and the

Re: highlight word under cursor

2020-12-26 Thread tbp1...@gmail.com
Actually, I see I had several unneeded lines left over from earlier development. They are harmless but not needed. The attached revision has them removed. On Saturday, December 26, 2020 at 1:33:17 PM UTC-5 tbp1...@gmail.com wrote: > I have written a script that more-or-less does this.

Re: highlight word under cursor

2020-12-26 Thread tbp1...@gmail.com
highlighted too. To clear them, you would have to select another node then come back to the original one. On Saturday, December 26, 2020 at 1:41:39 PM UTC-5 tbp1...@gmail.com wrote: > Actually, I see I had several unneeded lines left over from earlier > development. They are harmless b

Re: highlight word under cursor

2020-12-26 Thread tbp1...@gmail.com
Just don't go changing any text before removing the highlighting or who knows what will happen. On Saturday, December 26, 2020 at 4:37:28 PM UTC-5 Edward K. Ream wrote: > On Saturday, December 26, 2020 at 1:14:30 PM UTC-6 tbp1...@gmail.com > wrote: > >> I should me

  1   2   3   4   5   6   7   8   9   >