Re: New undo methods for multiple headline changes on branch 'boltex/issue3219'

2023-03-28 Thread Félix
oh, you're right, https://github.com/leo-editor/leo-editor/pull/3228 is what i meant to paste On Tuesday, March 28, 2023 at 10:52:30 PM UTC-4 tbp1...@gmail.com wrote: > Without a PR, it's hard to review the code without knowing what has been > changed. > > On Tuesday, March 28, 2023 at 10:46:4

Re: New undo methods for multiple headline changes on branch 'boltex/issue3219'

2023-03-28 Thread Thomas Passin
Without a PR, it's hard to review the code without knowing what has been changed. On Tuesday, March 28, 2023 at 10:46:42 PM UTC-4 Félix wrote: > If you'd like to test out some new proposed methods to undo/redo commands > that alter many headlines at once: > https://github.com/leo-editor/leo-ed

New undo methods for multiple headline changes on branch 'boltex/issue3219'

2023-03-28 Thread Félix
If you'd like to test out some new proposed methods to undo/redo commands that alter many headlines at once: https://github.com/leo-editor/leo-editor/tree/boltex/issue3219 Thanks for reviewing my code if you feel like it. Also, you can easily test it with the attached Leo file which provides 2

Re: Images In Leo Nodes?

2023-03-28 Thread Thomas Passin
On Tuesday, March 28, 2023 at 8:59:01 PM UTC-4 gates...@gmail.com wrote: Not what you’re really looking for, but Leo already supports @svg nodes. Of course, those are just the image in a node, viewable in VR — no text around them in the same node, to my knowledge. Right, and VR3 has even mor

Re: Images In Leo Nodes?

2023-03-28 Thread Jacob Peck
Not what you’re really looking for, but Leo already supports @svg nodes.  Of course, those are just the image in a node, viewable in VR — no text around them in the same node, to my knowledge.I’ve done kinda-sorta similar things with one of my personal use ‘leo apps’.  In that use case, I had a new

Images In Leo Nodes?

2023-03-28 Thread Thomas Passin
It would be very useful if an image could be embedded into a Leo body. Probably no one would want to do this in a program or script, but for documentation it could be very helpful. You can put an image into a ReST, MD, or Asciidoc node and view it with VR3 or by creating Sphinx output. But e

Re: Script To Automatically Change The Body Font Based On Node's @Language

2023-03-28 Thread Thomas Passin
Here's a script to reverse the effects of the change body script. On Tuesday, March 28, 2023 at 12:01:18 PM UTC-4 Edward K. Ream wrote: > On Tue, Mar 28, 2023 at 9:56 AM Thomas Passin wrote: > >> It would be easy to have a companion script that eliminates the >> font-changing behavior. If peop

Re: Script To Automatically Change The Body Font Based On Node's @Language

2023-03-28 Thread Edward K. Ream
On Tue, Mar 28, 2023 at 9:56 AM Thomas Passin wrote: > It would be easy to have a companion script that eliminates the > font-changing behavior. If people say they want it, I'll work one up and > post it. > I'd like to try both scripts. Edward -- You received this message because you are sub

Re: ENB: About headline numbers

2023-03-28 Thread Edward K. Ream
On Tue, Mar 28, 2023 at 8:54 AM Thomas Passin wrote: Thanks for your comments, Thomas. I think we are pretty much saying the same things. Here are few clarifications... Should numbers be one-based or zero-based? One-based seems less nerdy, but > there is another question. Should line numbers be

Re: Script To Automatically Change The Body Font Based On Node's @Language

2023-03-28 Thread Thomas Passin
It would be easy to have a companion script that eliminates the font-changing behavior. If people say they want it, I'll work one up and post it. On Tuesday, March 28, 2023 at 10:45:14 AM UTC-4 Thomas Passin wrote: Nearly all Leo themes use a monospaced typeface for the body font. This is wh

Script To Automatically Change The Body Font Based On Node's @Language

2023-03-28 Thread Thomas Passin
Nearly all Leo themes use a monospaced typeface for the body font. This is what you want for programming, but for documentation and other non-code writing, many people would prefer a non-monospaced font. Some might event wish for a serif style typeface. The attached script installs a global s

Re: PR #3224: mod_autosave is ready for review

2023-03-28 Thread Edward K. Ream
On Tue, Mar 28, 2023 at 8:06 AM Thomas Passin wrote: > When verbose mode is on, then when autosave happens the Log pane switches > to the Log tab to write the message. This can be really annoying if you > are working in another tab at the time. Another reason for the verbose > mode setting. >

Re: ENB: About headline numbers

2023-03-28 Thread Thomas Passin
On Tuesday, March 28, 2023 at 9:08:01 AM UTC-4 Edward K. Ream wrote: PR #3227 contains a draft implementation of issue #3121 : headline numbers. While working on this PR, several problems

ENB: About headline numbers

2023-03-28 Thread Edward K. Ream
PR #3227 contains a draft implementation of issue #3121 : headline numbers. While working on this PR, several problems became apparent. This Engineering Notebook post will discuss my prese

Re: PR #3224: mod_autosave is ready for review

2023-03-28 Thread Thomas Passin
When verbose mode is on, then when autosave happens the Log pane switches to the Log tab to write the message. This can be really annoying if you are working in another tab at the time. Another reason for the verbose mode setting. On Monday, March 27, 2023 at 8:10:02 PM UTC-4 Edward K. Ream w