Re: macos 10.13 - leo 6.7.0 with miniconda

2022-10-16 Thread Thomas Passin
It's not very clear to me what kind of interface you are talking about. I don't remember that far back. Not SDI, apparently. Not one window per outline. No tabs. So there must have been some other way to select which outline to view within the single Leo window. Presumably that would have

Interesting Quote On Communication Via The Program

2022-10-17 Thread Thomas Passin
This paragraph caught my eye: "One of the early experiences that led me to focus on communication was discovering Knuth's Literate Programming: a progam should read like a book. It should have plot, rhythm, and delightful little turns of phrase. When Ward Cunningham and I first read about liter

Re: Interesting Quote On Communication Via The Program

2022-10-17 Thread Thomas Passin
tober 17, 2022 at 1:56:38 PM UTC-4 Edward K. Ream wrote: > On Mon, Oct 17, 2022 at 10:17 AM Thomas Passin wrote: > >> This paragraph caught my eye: >> >> "One of the early experiences that led me to focus on communication was >> discovering Knuth's Literate

Re: Interesting Quote On Communication Via The Program

2022-10-17 Thread Thomas Passin
On Monday, October 17, 2022 at 2:17:35 PM UTC-4 Edward K. Ream wrote: > On Mon, Oct 17, 2022 at 1:16 PM Thomas Passin wrote: > >> I think that the idea that code should be able to communicate its intent >> clearly and simply is a good goal. I also think that there are

Re: Devel now disables plain key outline searches

2022-10-18 Thread Thomas Passin
The behavior confused me too. It means that if you are focused in the outline pane, and type, say, a "d", the focus moves to the next headline that contains a "d". I think it's a vestigial remnant of an attempt to have a more sophisticated (but complicated) way of navigating to a node. In pra

Re: A recent update has broken my Leo installation

2022-10-19 Thread Thomas Passin
The printout should have included the exception, according to the code in runLeo. Does something else get printed before the message that you quoted? On Wednesday, October 19, 2022 at 7:01:35 AM UTC-4 Edward K. Ream wrote: > On Wed, Oct 19, 2022 at 1:38 AM Richard Twyning < > service.manag...@g

Re: Formatting of "devel" in docs

2022-10-19 Thread Thomas Passin
A single asterisk or backtick before and after gives italics, double asterisks give bold. Underscores are used by Markdown. Well, Github markdown, anyway not sure about others. Asterisks also work for Markdown. On Wednesday, October 19, 2022 at 1:11:03 PM UTC-4 thequie...@gmail.com wrote: >

Re: `git checkout devel` fails

2022-10-19 Thread Thomas Passin
I don't know the answer, but here's something to check. Go to the .git directory for your leo-editor repo, and look at the file named *config.* It will tell you the branches that git knows about for your clone. Mine starts like this: [core] repositoryformatversion = 0 filemode = false

Re: What lies ahead; what lies beneath

2022-10-21 Thread Thomas Passin
On Friday, October 21, 2022 at 9:14:16 AM UTC-4 Edward K. Ream wrote: > On Thursday, October 20, 2022 at 7:59:40 AM UTC-5 Edward K. Ream wrote: > > We recently discussed the role of comments and narratives in our programs. >> coverage has some of the best docstrings I've ever seen. Two longish

Re: Annoyances

2022-10-23 Thread Thomas Passin
For comparison, on my Windows and Linux systems using the devel branch (6.7.1-devel) from a few days ago: On Sunday, October 23, 2022 at 8:37:15 AM UTC-4 kars...@googlemail.com wrote: > Again all this applies to Leo 6.7.0 on macos 10.13.6 > > The annoyances just for today; trying to do some wor

Re: Annoyances

2022-10-23 Thread Thomas Passin
Remember that when you delete your .leo directory, your myLeoSettings.leo and workbook.leo files will go away with it. On Sunday, October 23, 2022 at 11:04:40 AM UTC-4 kars...@googlemail.com wrote: > I forgot to mention: I'm editing Python files. The only other files I use > with Leo are sett

Re: Annoyances

2022-10-23 Thread Thomas Passin
I don't see your problems with @file or @clean python files either. On Sunday, October 23, 2022 at 11:04:40 AM UTC-4 kars...@googlemail.com wrote: > I forgot to mention: I'm editing Python files. The only other files I use > with Leo are settings, html and css. > > I'l give it another try and

Re: Annoyances

2022-10-23 Thread Thomas Passin
Wow, that's a lot of strangeness cleared up by deleting the .leo directory! Well done! On Sunday, October 23, 2022 at 2:27:00 PM UTC-4 kars...@googlemail.com wrote: > On Sunday, October 23, 2022 at 2:37:15 PM UTC+2 Karsten Wolf wrote: > >> Again all this applies to Leo 6.7.0 on macos 10.13.6 >

Re: Annoyances

2022-10-25 Thread Thomas Passin
the entire database over and over. Or maybe that database file needs to be defraged/compacted from time to time. The Thunderbird email client has a command to compact its database, and running it can reduce the database size quite a lot. On Sunday, October 23, 2022 at 5:18:26 PM UTC-4 Tho

Re: Annoyances

2022-10-25 Thread Thomas Passin
ber 25, 2022 at 9:47:05 AM UTC-4 Thomas Passin wrote: > More than likely it was deleting the "db" directory inside ".leo" that did > the job. I recently had an infuriating period where I was working with > LeoPyRef a lot. Each time I saved the outline, after the sa

QtPy - Handles Qt5/Qt6 Automatically

2022-10-26 Thread Thomas Passin
I just found QtPy, which perhaps would have been (or still may be) useful for Leo and Leo projects. From its Github page: "*QtPy* is a small abstraction layer that lets you write applications using a single API call to either PyQt or PySide. It provides support for PyQt5, PyQt6, PySide6, PySide

Re: QtPy - Handles Qt5/Qt6 Automatically

2022-10-27 Thread Thomas Passin
Here's the Github URL - https://github.com/spyder-ide/qtpy I'm not suggesting that Leo should change over to using it, just that it's another way to get the results that Leo does in terms of adapting to qt5/qt6. On Thursday, October 27, 2022 at 5:08:17 AM UTC-4 jkn wrote: > Yes, I don't disag

Re: Is there an example of using command flush-lines or keep-lines

2022-10-28 Thread Thomas Passin
I don't know anything about these commands, but their source in LeoPyRef is marked "(doesn't work)". I would, though, like to know what "Transient Mark mode" is. On Friday, October 28, 2022 at 8:08:30 PM UTC-4 wangz...@gmail.com wrote: > I want a help for the commands for I don't know how to u

Scroll Bars in Leo

2022-10-29 Thread Thomas Passin
I have an issue with Leo's scroll bars, especially the vertical scrollbar for the outline view. Most of the more recent themes don't show an arrow at the ends of the scrollbar region. Scroll bars normally have two clickable regions, the line-by-line region and the page-by-page region. The li

Re: Scroll Bars in Leo (Part 3)

2022-10-29 Thread Thomas Passin
uggestions. On Saturday, October 29, 2022 at 10:21:00 AM UTC-4 Thomas Passin wrote: > Here is a screen shot of the default Leo theme, showing the scrollbars > with no arrows (default_scroll_bars.png). Next is the same theme with all > CSS styling removed ( default-theme-no-scrollbar

Re: Is there an example of using command flush-lines or keep-lines

2022-10-29 Thread Thomas Passin
On Saturday, October 29, 2022 at 6:48:26 PM UTC-4 Edward K. Ream wrote: > On Fri, Oct 28, 2022 at 9:32 PM Thomas Passin wrote: > >> I don't know anything about these commands, but their source in LeoPyRef >> is marked "(doesn't work)". I would, though,

Re: Scroll Bars in Leo (Part 3)

2022-10-29 Thread Thomas Passin
9:22:14 PM UTC-4 Edward K. Ream wrote: > On Sat, Oct 29, 2022 at 9:41 AM Thomas Passin wrote: > > I would like to discuss what, if anything, Leo's standard themes should do >> about the arrow issue. > > > The arrows seem like a waste of space to me. But I suppose the ar

Tabbed Apps In Leo

2022-10-30 Thread Thomas Passin
I have made several apps (really, "applets") to run in tabs in Leo's Log frame. I find this convenient because they don't need to take up a whole panel, as Viewrendered/Viewrendered3 do, and they don't even need to be plugins so they can be simpler. They are mostly intended to be used in a sp

Re: Tabbed Apps In Leo

2022-10-31 Thread Thomas Passin
Yes. On Monday, October 31, 2022 at 4:57:04 AM UTC-4 Edward K. Ream wrote: > On Sun, Oct 30, 2022 at 10:09 AM Thomas Passin wrote: > > I have made several apps (really, "applets") to run in tabs in Leo's Log >> frame. I find this convenient because they

It's No Small Project - How Python Is Getting Faster

2022-10-31 Thread Thomas Passin
Making Python run faster is a long-term project - A Team at Microsoft is Helping Make Python Faster Turns out that the speedups announced for Python 3.11 are just the beginning. -- You received this message because you ar

Re: Tabbed Apps In Leo

2022-10-31 Thread Thomas Passin
On Monday, October 31, 2022 at 11:12:14 AM UTC-4 jkn wrote: > Thanks, this looks very interesting... > > I have one question - something I have wondered about before. If I have > your example code as a button command, say ... then where/how can I put the > > def toggle_app_tab(log, tabname, top_

Re: Tabbed Apps In Leo

2022-10-31 Thread Thomas Passin
Using *@g.CommanderCommand* would probably be better, since once run it would be available to all outlines. On Monday, October 31, 2022 at 1:05:53 PM UTC-4 Thomas Passin wrote: > On Monday, October 31, 2022 at 11:12:14 AM UTC-4 jkn wrote: > >> Thanks, this looks very interesting...

Re: Tabbed Apps In Leo

2022-10-31 Thread Thomas Passin
2022 at 1:46:00 PM UTC-4 Thomas Passin wrote: > Using *@g.CommanderCommand* would probably be better, since once run it > would be available to all outlines. > > On Monday, October 31, 2022 at 1:05:53 PM UTC-4 Thomas Passin wrote: > >> On Monday, October 31, 2022 at 11:12:14

Re: Tabbed Apps In Leo

2022-10-31 Thread Thomas Passin
of commands on loading an outline. I'm sure that's a wise design decision, since auto-run code could be a security risk. I could imagine a plugin that registered and ran all your special commands on startup, but that's would be way overkill. On Monday, October 31, 2022 at 2:43:08

Re: Help with a Latex line ender script

2022-11-04 Thread Thomas Passin
Don't forget to set up for undo. On Friday, November 4, 2022 at 6:48:50 AM UTC-4 Edward K. Ream wrote: > On Fri, Nov 4, 2022 at 3:25 AM Luka wrote: > > There are plenty of ways to do it in LEO but this is how I do it. >> >> Create a @button node with script, select text in body, and run: >> >> @

Re: Help with a Latex line ender script

2022-11-04 Thread Thomas Passin
No need to apologize! Leo can do so many things that it's hard to find information, or even know there is something to look for. I looked in LeoDocs.leo (you can open it from the Help menu). Search for _Undoably changing body text_ (I originally just searched for _undo_). It says To undo a

FunctionTrace - Low overhead Python Profiler

2022-11-05 Thread Thomas Passin
I stumbled upon an interesting profiler today - FunctionTrace. It works together with Firefox so as to make use of Firefox's profiling UI, and supposedly incurs almost no slowdown while profiling. It's currently Linux.Mac only. FunctionTrace Home Page Building Fun

Encoding Problems On Windows With Python Redirecting From Console

2022-11-13 Thread Thomas Passin
On Windows, if you redirect console output to a file or pipe, and if there are non-ascii unicode characters in your output, you may get failure with an error message about the wrong code page. The reason is obscure, and discussed here with solutions: UnicodeEncodeError in Windows agent CI pipe

Different Version Installed on Windows, Linux

2022-11-15 Thread Thomas Passin
Now that 6.7.1 has been released, I pip-installed it on my Windows machine. But when I did the same on my Linux Mint VM, it only installed leo-6.6.4. Does anyone have some insight into the difference? -- You received this message because you are subscribed to the Google Groups "leo-editor" g

Re: Different Version Installed on Windows, Linux

2022-11-15 Thread Thomas Passin
My Debian VM did install 6.7.1. Weird. On Tuesday, November 15, 2022 at 4:00:13 PM UTC-5 Thomas Passin wrote: > Now that 6.7.1 has been released, I pip-installed it on my Windows > machine. But when I did the same on my Linux Mint VM, it only > installed leo-6.6.4. Does anyone

Re: Different Version Installed on Windows, Linux

2022-11-15 Thread Thomas Passin
ot symlinked to "python3". On Tuesday, November 15, 2022 at 4:04:28 PM UTC-5 Thomas Passin wrote: > My Debian VM did install 6.7.1. Weird. > > On Tuesday, November 15, 2022 at 4:00:13 PM UTC-5 Thomas Passin wrote: > >> Now that 6.7.1 has been released, I pip-installed it on

Re: possible to move to nodes without changing docus from body?

2022-11-24 Thread Thomas Passin
CTRL-u and CTRL-d work in the tree pane when the cursor is in the body pane but they don't change the body displayed in the editor pane. That's a little confusing to me because I expect that the body would always match the selected node in the tree. Actually, that means that CTRL-u and CTRL-d

Re: possible to move to nodes without changing docus from body?

2022-11-24 Thread Thomas Passin
as in the editor. And the editor pane reflects the selected tree node, as I expect. All good, although the focus ends up in the tree, not the body, as the OP would like. Still, ALT-arrow then TAB seems pretty easy to me. On Thursday, November 24, 2022 at 9:27:47 AM UTC-5 Thomas Passin

Re: Wanting a nofooter boolean flag in settings of VR3 asciidoctor

2022-11-25 Thread Thomas Passin
I will look into it. This is for asciidoc, is it not? Do you happen to know if this is a specific Asciidoctor directive, or do Asciidoc and Asciidoc3 also support it? On Friday, November 25, 2022 at 3:26:50 AM UTC-5 wangz...@gmail.com wrote: > Now the footer is shown in VR3 panel always. So I

Re: Wanting a nofooter boolean flag in settings of VR3 asciidoctor

2022-11-25 Thread Thomas Passin
Thank you, that will be helpful. On Friday, November 25, 2022 at 11:38:12 AM UTC-5 wangz...@gmail.com wrote: > > > I think `nofooter` is a specific **Asciidoctor** head attribute. > > Asciidoc & Asciidoc3 don't suppor `nofooter`

Re: Wanting a nofooter boolean flag in settings of VR3 asciidoctor

2022-11-25 Thread Thomas Passin
Friday, November 25, 2022 at 5:08:06 PM UTC-5 Thomas Passin wrote: > Thank you, that will be helpful. > > On Friday, November 25, 2022 at 11:38:12 AM UTC-5 wangz...@gmail.com > wrote: > >> <https://docs.asciidoctor.org/asciidoc/latest/document/header-ref/> >> &g

Re: Wanting a nofooter boolean flag in settings of VR3 asciidoctor

2022-11-26 Thread Thomas Passin
This change has been merged and is now available in the *devel* branch. On Friday, November 25, 2022 at 7:16:44 PM UTC-5 Thomas Passin wrote: > Done - there is a new setting @bool vr3-asciidoctor-nofooter = True > (default: False) to suppress the footer. This only affects the ex

Re: Wanting a nofooter boolean flag in settings of VR3 asciidoctor

2022-11-26 Thread Thomas Passin
ow @language asciidoc in body panel. > > Result: VR3 panel does not show the footer. *So the code run ok.* > 在2022年11月26日星期六 UTC+8 21:15:20 写道: > >> This change has been merged and is now available in the *devel* branch. >> >> On Friday, November 25, 2022 at 7:16:44 PM U

Is the mode catalog still used?

2022-11-27 Thread Thomas Passin
"Modes" are programming languages recognized by Leo, e.g., by the *@language xx* directive. They are in the *modes* directory. They are for the most part python files except for *clojure.xml* and *markdown.xml*. In the directory there is also a file named *catalog*. It lists most or (maybe a

Re: Is the mode catalog still used?

2022-11-27 Thread Thomas Passin
I didn't find any "catalog" used in LeoPyRef.leo except for one plugin, and that used what was a clearly different catalog. Maybe this answers the question... On Sunday, November 27, 2022 at 3:18:02 PM UTC-5 Thomas Passin wrote: > "Modes" are programming languages

Re: Is the mode catalog still used?

2022-11-28 Thread Thomas Passin
VR3 does not use any of those files. If Leo knows about any of the modes, VR3 can be modded to use them. In fact, I'm thinking about allowing all the mode languages. It would be a minor change to the code, so far as I can see. Now, whether pygments can colorize every one of them in the rend

Dart Has Been Added To The Languages Supported By Viewrendered3

2022-11-29 Thread Thomas Passin
Now merged into the *devel* branch. -- 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 vis

PyScript - Real Python In The Browser

2022-12-03 Thread Thomas Passin
A new project named PyScript, built on PyIodide, runs Python in the browser. It can actually run many of the most important scientific packages such as matplotlib, numpy, scipy, etc., and do graphics with Bokeh and others. This might be an alternative route to Leo in a browser. See PyScript h

Re: PyScript - Real Python In The Browser

2022-12-03 Thread Thomas Passin
7:55 AM Thomas Passin wrote: > > >> I tried an example from a PyScript "Getting Started" tutorial, one that >> uses matplotlib to plot some random numbers. I copied the code below >> verbatim into a Leo node, opened viewrendered3, and the plot rendered in &

Re: Second try: Please test PR #2985

2022-12-04 Thread Thomas Passin
Using ekr-black2, I found the following bug: Leo subtree: @path c:/temp/leo @file a.py @file b.py 1. Select the *a.py* node. Neither *blacken-files* nor *blacken-files-diff* find any file to blacken. 2. Select the *@path* node. *Blacken-files-diff *only finds *a.py*, not *b.py*. (I as

Re: Dart Has Been Added To The Languages Supported By Viewrendered3

2022-12-04 Thread Thomas Passin
Thanks for testing! On Sunday, December 4, 2022 at 9:29:03 PM UTC-5 wangz...@gmail.com wrote: > Tested && run well. > > 在2022年11月29日星期二 UTC+8 23:22:06 写道: > >> Now merged into the *devel* branch. > > -- You received this message because you are subscribed to the Google Groups "leo-editor" grou

Re: Discuss: Retire @button write-leoPyRef?

2022-12-05 Thread Thomas Passin
This whole subject confuses me, partly because Leo opens LeoPyRef.leo, not LeoPy.leo, when the latter is selected in *File/Open Specific Leo File*. So I would never see or work on LeoPy.leo. Almost all my work has been working on existing external files. When I commit changes, I don't commit

Re: Second try: Please test PR #2985

2022-12-05 Thread Thomas Passin
Alt-G goto-global-line is broken in branch ekr-black2: return line.startswith(sentinel1, sentinel2) TypeError: slice indices must be integers or None or have an __index__ method On Monday, December 5, 2022 at 2:41:06 AM UTC-5 Edward K. Ream wrote: > On Sun, Dec 4, 2022 at 5:04 PM Tho

Re: Discuss: Retire @button write-leoPyRef?

2022-12-06 Thread Thomas Passin
I find that I can't remember what state extra untracked files are in for very long. I usually need to stash them when I update some branch, like devel - git makes me do it before it will let me merge changes from, say, the devel branch in Leo's repo. Pretty soon I lose track of their status.

FeatherNotes - A Kind Of Mini-Leo Note Taker

2022-12-11 Thread Thomas Passin
I just found FeatherNotes, a Linux-only Qt-based note taking program. It's at FeatherNotes . Not that I'm suggesting it could replace Leo, but it's interesting to see the similarities and differences. It's a tree-based, hierarchical program, with a tree

Should leoeditor.com Be Moved To GitHub or Somewhere Else?

2022-12-26 Thread Thomas Passin
Currently Speed Ream (@Edward's brother, IIUC) is the registered contact for leoeditor.com and the domain name registrar is Launchpad.com, according to Whois.com. I don't know where the actual server is, who pays for it, or who is authorized to put anything on it or modify anything that's there

Re: Should leoeditor.com Be Moved To GitHub or Somewhere Else?

2022-12-27 Thread Thomas Passin
I might be willing, but I'm thinking it would be better to have someone younger pick it up - you know, better for long-term corporate memory and all that. I'd be willing to work on getting it all moved over and working if no one else is able to just now. It seems to me that the content at leoe

Re: Failing unittest in devel branch

2022-12-28 Thread Thomas Passin
You have to install it using the package manager. Here is what I have found (quoted from the Users' Guide for my GF4 project):: "On Debian/Ubuntu, tkinter has to be installed by the package manager: sudo apt-get install python3-tk This may also be the case with some non-Debian systems. Th

Re: Failing unit test in devel branch

2022-12-28 Thread Thomas Passin
There's no "blame" here, just a need to work around how the Linux packagers have decided to work. I *think* they want to split up and locate python components in particular ways to suit their packaging philosophies, so they have to modify pip, etc., to work that way. It is possible to install

Re: Failing unit test in devel branch

2022-12-28 Thread Thomas Passin
" I also double-checked & saw that 'setup.py' has added "tk" as an install requirement." I wonder if Leo needs tk at all any more. Maybe it can be removed as a requirement. On Wednesday, December 28, 2022 at 1:30:10 PM UTC-5 viktor@gmail.com wrote: > Hello Thomas, > > Thanks for this exp

Re: Failing unit test in devel branch

2022-12-28 Thread Thomas Passin
I doubt that it's actually "required" in the sense that tk is used any more. If a test calls for it, probably that test should be updated. On Wednesday, December 28, 2022 at 2:23:07 PM UTC-5 viktor@gmail.com wrote: > Hello Thomas, > > tbp1...@gmail.com schrieb am Mittwoch, 28. Dezember 202

Re: Should leoeditor.com Be Moved To GitHub or Somewhere Else?

2022-12-28 Thread Thomas Passin
I meant that the server should be more available to devs or an admin. Right now, it may very well that only Speed and Edward can access it to make changes, etc. Also, someone is presumably paying for the server and the domain. That person might go away or lose interest at some time, and then

Re: Should leoeditor.com Be Moved To GitHub or Somewhere Else?

2022-12-30 Thread Thomas Passin
That would be great! GitHub Pages only support static pages, so any PHP usage will need to be reworked not to use it. Also, won't someone need to keep renewing and paying for the leoeditor.com domain, if that becomes linked to GitHub Pages? If so, ultimately it would be good to phase that DN

Re: Should leoeditor.com Be Moved To GitHub or Somewhere Else?

2022-12-31 Thread Thomas Passin
I agree. There are sites out there that refer to leoeditor.com, like the LeoVue web site. It would probably be good if those links could still work for some time as we got the new site going. On Saturday, December 31, 2022 at 5:50:21 PM UTC-5 Félix wrote: > Indeed, using the technique referenc

Re: Should leoeditor.com Be Moved To GitHub or Somewhere Else?

2023-01-01 Thread Thomas Passin
I'm comfortable with this approach. Once the new site is up and working, let's try contacting each site that we know references leoeditor.com and inform them of the change. That won't catch everything but I don't know what else we can do, once leoeditor.com itself lapses at some point in the

Viewrendered3 Can Now Render PlantUml diagrams

2023-01-01 Thread Thomas Passin
If you use asciidoc and the external asciidoctor processor, the viewrendered3 plugin can now render PlantUml diagrams. See the section on Asciidoc in the program's docstring to see how to do it. The docstring will be displayed by Leo's *Plugins/viewrendered3/About* menu item. This enhancement

Command To Convert Selection Or Body To Title Case

2023-01-01 Thread Thomas Passin
Leo has commands to capitalize, upcase, and lowercase the body text or selections of the body text. I could not find a command to convert to title case (first letter of every word capitalized). So here is a script to do so. The script does not take into account any tricky edge cases - it just

Re: Viewrendered3 Can Now Render PlantUml diagrams

2023-01-02 Thread Thomas Passin
No, it doesn't need a server link. That's the nice part. You just install the *asciidoctor-diagram* gem, and use the header shown in the docstring. Of course you need to have installed Ruby and the *asciidoctor* gem in the first place. The Ruby people found an alternative engine that they in

Re: Command To Convert Selection Or Body To Title Case

2023-01-02 Thread Thomas Passin
Theoretically they can go into scripts.leo, but I always forget about that outline and a lot of its scripts are so long unmaintained that they don't even work. That, or they are so specialized that it's hard to even know what they do. I do agree that a collection of small utility scripts would

Re: Command To Convert Selection Or Body To Title Case

2023-01-03 Thread Thomas Passin
Where do you think a collection like that should live, bearing in mind that it should be easy for a newbie to learn about it? On Tuesday, January 3, 2023 at 5:23:47 AM UTC-5 jkn wrote: > > Yes ... 'many' of the scripts I come across, eg. on this newsgroup, need a > bit of tweaking to run with m

Re: Command To Convert Selection Or Body To Title Case

2023-01-04 Thread Thomas Passin
Hah! That's what I was trying to remember. If we forget about these places, how is a newbie going to find them? Isn't there a link in the cheatsheet stuff that Leo puts into the default workbook when it is run for the first time? On Wednesday, January 4, 2023 at 6:28:31 AM UTC-5 jkn wrote:

Re: Command To Convert Selection Or Body To Title Case

2023-01-04 Thread Thomas Passin
Let's add the scripting-miscellany link to Leo's Help menu. On Wednesday, January 4, 2023 at 11:32:09 AM UTC-5 Edward K. Ream wrote: > On Wednesday, January 4, 2023 at 10:18:53 AM UTC-6 Edward K. Ream wrote: > > > I've just added this entry >

Re: A curious observation, #2

2023-01-04 Thread Thomas Passin
Yes indeed, and there is a setting to adjust for the misalignment. @int gutter-y-adjust = 7 works for my current theme. I've been known to have to go up to 12. I forget how I learned about this setting, it's been too long. On Wednesday, January 4, 2023 at 3:18:12 PM UTC-5 jkn wrote: > This is

Re: A curious observation, #1

2023-01-04 Thread Thomas Passin
ISTR that (in the code) you can tell a file open dialog to open at a specific directory, at least on Windows. Maybe that's it. It might not be the Most Recently Used list but some other location that's stored, not that I know anything specific. On Wednesday, January 4, 2023 at 3:14:56 PM UTC-

Re: A curious observation, #2

2023-01-05 Thread Thomas Passin
I see in LeoPyRef that there is also a setting *gutter-w-adjust*. A comment says its function is to provide extra room for bolding the line number of the current line. Its default value seems to work for me (a good thing because I didn't know about it before now). The line numbers are not app

Re: A curious observation, #2

2023-01-05 Thread Thomas Passin
There is actually some CSS styling possible for the gutter: A logical setting: @string font-size-gutter = 9pt and in the theme's stylesheet: QFrame#gutter { font-size: @font-size-gutter; background: @dark-base02; } On Thursday, January 5, 2023 at 12:38:58 PM UTC-5 jkn wrote: > Heh, I was th

Abbreviations For Greek Letters

2023-01-08 Thread Thomas Passin
Sometimes I want to insert a Greek letter into text, often *sigma *or *mu*. On Windows, at least, it's always annoying and clumsy. So I thought I'd try out Leo's abbreviations, which I've never used in the past. It's working well, so I've collected them here in case it will save someone else

Re: Leo's new website is live. Leo 6.7.2 coming soon

2023-01-09 Thread Thomas Passin
Great! One glitch - Links from the google search box point to the old site, not the new one. On Monday, January 9, 2023 at 1:45:53 PM UTC-5 Edward K. Ream wrote: > GitHub pages now hosts Leo's new website at: > https://leo-editor.github.io/leo-editor/ > > Please test these new pages and report

Re: Abbreviations For Greek Letters

2023-01-09 Thread Thomas Passin
Maybe in the section in LeoDocs that mentions abbreviations? It's very short, and these shortcuts could serve as examples, too. @Edward suggested disabled in LeoSettings.leo. That would be all right too, but how many of us troll through there looking for interesting things? I expect my own l

Re: Abbreviations For Greek Letters

2023-01-09 Thread Thomas Passin
because;;=∵ That's one I've never heard of before! An inverted "therefore". On Monday, January 9, 2023 at 5:52:18 PM UTC-5 Edward K. Ream wrote: > On Mon, Jan 9, 2023 at 4:48 PM Rob wrote: > >> Perhaps also useful: >> >> degree;;=° >> half;;=½ >> quarter;;=¼ >> 3fourths;;=¾ >> divide;;=÷ >> bull

Re: How to change docker arrow icon size?

2023-01-09 Thread Thomas Passin
The height would probably be set in the CSS rules in the theme's qt stylesheet. I'm not sure just now which selector would cover it. The arrows must be icons somewhere, but you'd probably have to look in the plugin's code to find them. On Monday, January 9, 2023 at 9:02:31 PM UTC-5 wangz...@g

Re: How to change docker arrow icon size?

2023-01-09 Thread Thomas Passin
The plugin is *nav_qt.py*. On Tuesday, January 10, 2023 at 12:11:46 AM UTC-5 Thomas Passin wrote: > The height would probably be set in the CSS rules in the theme's qt > stylesheet. I'm not sure just now which selector would cover it. The > arrows must be icons somewhere,

Re: Abbreviations For Greek Letters

2023-01-10 Thread Thomas Passin
I don't think you need that coding line any more. That was a Python2 thing. Python3 uses unicode/utf-8 automatically. FWIW, I generally (before the abbreviations) copied and pasted non-ascii characters from various web pages, and it's always worked well. On Tuesday, January 10, 2023 at 11:53

Re: Command To Convert Selection Or Body To Title Case

2023-01-10 Thread Thomas Passin
Yes, it can be hard to find out how to do things you want in Leo. The good news is that you can do most anything. Remember to undo/redo operations that change a node or the tree - my title-case script shows how to do that for node content. Leo's code base is in the PyLeoRef.leo outline, as I

Re: Should leoeditor.com Be Moved To GitHub or Somewhere Else?

2023-01-10 Thread Thomas Passin
Don't worry, leoeditor.com is in the Wayback Machine going back to 2013 - On Tuesday, January 10, 2023 at 5:48:12 PM UTC-5 Edward K. Ream wrote: > On Tue, Jan 10, 2023 at 3:10 PM George Zipperlen > wrote: > >> I don't know how long

Cannot Start Leo When Enchant Speller Is Missing Libraries

2023-01-10 Thread Thomas Passin
I created a new virtual machine for a Linux distro new to me - Manjaro. Although pyenchant is installed, and the system's package manager claims that the Enchant libraries are installed, they aren't playing together. I installed Leo but it won't start because pyenchant isn't working. I don't

Re: Cannot Start Leo When Enchant Speller Is Missing Libraries

2023-01-10 Thread Thomas Passin
Of course, one solution is to uninstall pyenchant. I did that and now Leo can run. On Tuesday, January 10, 2023 at 10:53:40 PM UTC-5 Thomas Passin wrote: > I created a new virtual machine for a Linux distro new to me - Manjaro. > Although pyenchant is installed, and the system

Re: Cannot Start Leo When Enchant Speller Is Missing Libraries

2023-01-11 Thread Thomas Passin
;> >> On Tuesday, January 10, 2023 at 10:53:40 PM UTC-5 Thomas Passin wrote: >> >>> I created a new virtual machine for a Linux distro new to me - Manjaro. >>> Although pyenchant is installed, and the system's package manager claims >>> that the Enc

Re: Cannot Start Leo When Enchant Speller Is Missing Libraries

2023-01-11 Thread Thomas Passin
e). That *should* do the trick to get this working on Manjaro, as it > did on my Arch installs. > > Jake > > On Wed, Jan 11, 2023 at 8:47 AM Thomas Passin wrote: > >> No, unfortunately it didn't. There is something else wrong in the >> pyenchant package or th

Re: Cannot Start Leo When Enchant Speller Is Missing Libraries

2023-01-11 Thread Thomas Passin
Don't know yet. I don't have a git clone on the VM in question, I just spun it up and it needs some more provisioning. On Wednesday, January 11, 2023 at 9:54:21 AM UTC-5 Edward K. Ream wrote: > > > On Wed, Jan 11, 2023 at 8:35 AM Thomas Passin wrote: > >> ...it

Re: Please help me edit Leo's wikipedia page

2023-01-11 Thread Thomas Passin
" Well, this is a bizarre new policy." I don't think it's that new. Wikipedia has been trying hard to prevent misrepresentation by interested parties who want to make themselves look good, or others to look bad. So you often can't fix errors about yourself even if you know for sure they are w

Re: Cannot Start Leo When Enchant Speller Is Missing Libraries

2023-01-11 Thread Thomas Passin
dictionary. After all that, Leo's spell checker is working. On Wednesday, January 11, 2023 at 10:22:23 AM UTC-5 Thomas Passin wrote: > Don't know yet. I don't have a git clone on the VM in question, I just > spun it up and it needs some more provisioning. > > On Wedne

Viewrendered3 plugin may not render nodes for some linux distros

2023-01-12 Thread Thomas Passin
I have been spinning up several new Linux virtual machines, and I discovered that VR3 isn't rendering visibly. It's still working, since you can export the rendering to the browser, but nothing is painted on the VR3 panel. All these VMs use a recent version of Python3 with PyQt5. The PyQt5 an

Re: Viewrendered3 plugin may not render nodes for some linux distros

2023-01-12 Thread Thomas Passin
re PyQt6 6.4.0 PyQt6-WebEngine And possibly PyQt6-WebEngine-Qt6 if it didn't get installed by the previous packages. On Thursday, January 12, 2023 at 11:27:09 PM UTC-5 Thomas Passin wrote: > I have been spinning up several new Linux virtual machines, and I > disc

Re: Please help me edit Leo's wikipedia page

2023-01-15 Thread Thomas Passin
Dreamstime has a page on license terms, and it has this section that seems as if it might apply - "Limited Royalty Free Licenses (RF-LL) for using Media downloaded within the Free section of the website Dreamstime offers a free section, fully searchable and constantly updated. Its use may be

Re: Please help me edit Leo's wikipedia page

2023-01-16 Thread Thomas Passin
If you had, it would have been pixelated to hell and gone. On Monday, January 16, 2023 at 6:58:05 PM UTC-5 Edward K. Ream wrote: > On Mon, Jan 16, 2023 at 4:08 PM jkn wrote: > > BTW if it turns out it's a matter of $10 i am happy to pay for it as a >> thanks for Leo ;-) >> > > Thanks! > > also

Re: Curious to know if any Leonistas tried out ChatGPT?

2023-01-17 Thread Thomas Passin
Now try it again with the beautifier ( PR #3057 ) you just worked on... On Tuesday, January 17, 2023 at 6:25:11 AM UTC-5 Edward K. Ream wrote: > On Monday, January 16, 2023 at 1:51:34 AM UTC-6 Edward K. Ream wrote: > > I tried the following two

Re: Curious to know if any Leonistas tried out ChatGPT?

2023-01-17 Thread Thomas Passin
I haven't been able to open the chatGPT page in two different browsers: ERR_TOO_MANY_REDIRECTS How are others managing to do it? I hope not needing to use AI... -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and

Re: Please help me edit Leo's wikipedia page

2023-01-18 Thread Thomas Passin
I'd be willing to contribute some funds if need be. BTW, the Wikipedia entry now reads in part: " The GUI uses the Qt toolkit; the syntax-aware editor is based on Scintilla ." In what way is the editor now based on Scintilla? On Wednesday, January 18, 2023 at 7:20:48 AM UTC-5 Edward K. Ream wro

New Fast Python Memory Profiler

2023-01-19 Thread Thomas Passin
Maybe of interest to some devs, Scalene, a newish Python memory profiler, was mentioned in a message on the *python-list* discussion list. Scalene >From the GitHub readme: "Scalene is a high-performance CPU, GPU *and* memory profiler for Python that do

<    2   3   4   5   6   7   8   9   10   11   >