Re: layouts branch has been merged into devel

2020-10-12 Thread Thomas Passin
On Monday, October 12, 2020 at 12:09:24 PM UTC-4, Edward K. Ream wrote: > > The fix is in the layout2 branch. The corresponding PR is #1705 > . I have walked back > some of the changes I made to Terry's code, but the actual cause of the >

Re: layouts branch has been merged into devel

2020-10-12 Thread Thomas Passin
I made a few changes to my own version, and they eliminated an error I got when I tried to invoke the new vr3-use-default-layout command after opening VR3 using the splitter context menu Insert/viewrendered3. On Monday, October 12, 2020 at 1:32:46 PM UTC-4, Thomas Passin wrote: Note

Errors opening LeoPyRef.leo from Leo 6.3-devel, devel branch, build 486336f1e2

2020-10-12 Thread Thomas Passin
I got these errors opening the latest devel LeoPyRef.leo - initWriteIvars Did not create ../plugins for ../plugins/leo_cloud.py = PERFECT IMPORT FAILED = leo_cloud.py len(s1): 585 len(s2): 0 all common lines match initWriteIvars Did not create ../plugins for

How to Make Replace-all Work?

2020-10-12 Thread Thomas Passin
Every time I try to use the command replace-all, I can't get it to work. I enter the search string and replacement string. Then what? If I enter replace-all in the minibuffer, I see the search string highlighted. If I hit enter, the first found instance gets highlighted but not replaced. I

Re: More protections and suggestions about branches

2020-10-13 Thread Thomas Passin
Do you mean that every branch that is not devel, and that person A did not create, should never be pushed to or merged by anyone else besides person A? That's an easy-enough rule to understand. Up til now, I had thought that if some feature was being worked on, say layout code, that everyone

Re: How to Make Replace-all Work?

2020-10-13 Thread Thomas Passin
Ah, I see. I didn't see anywhere about the part. Not obvious to me. Thanks! On Tuesday, October 13, 2020 at 3:49:25 AM UTC-4, Edward K. Ream wrote: > > On Mon, Oct 12, 2020 at 7:52 PM Thomas Passin > wrote: > >> Every time I try to use the command replace-all, I can't

Re: I am about to start a sabbatical

2020-10-16 Thread Thomas Passin
How will PRs going to be handled? On Friday, October 16, 2020 at 10:49:05 AM UTC-4, Edward K. Ream wrote: > > This post will be pre-writing for a locked, pinned post. > > Don't panic: during my sabbatical I'll continue to answer questions and > fix serious bugs. > > Now seems like an excellent

Re: Leo has a new default look

2020-10-11 Thread Thomas Passin
It seems to me that the .leo directory would be a good place to put modified theme outlines. There could be a .leo/themes subdirectory. On Sunday, October 11, 2020 at 12:46:19 PM UTC-4, Thomas Passin wrote: > > I don't want to modify the default theme file or my changes would be lost &

Re: Leo has a new default look

2020-10-11 Thread Thomas Passin
PM UTC-4, Edward K. Ream wrote: > > On Sunday, October 11, 2020 at 1:14:30 PM UTC-5, Thomas Passin wrote: > > > It seems to me that the .leo directory would be a good place to put > modified theme outlines. There could be a .leo/themes subdirectory. > > Leo

Re: Viewrendered3 Updated to V3.0rc4

2020-10-11 Thread Thomas Passin
I'll put in a conditional call in VR3 in case one or the other method doesn't work. On Sunday, October 11, 2020 at 2:51:11 PM UTC-4, Edward K. Ream wrote: > > > > On Sun, Oct 11, 2020 at 10:41 AM Thomas Passin > wrote: > >> Strange ... nothing has been changed about t

Re: Viewrendered3 Updated to V3.0rc4

2020-10-11 Thread Thomas Passin
Speaking of that, what changes did you make to the splitter layout methods? I'm getting a number of exceptions that didn't happen before. On Sunday, October 11, 2020 at 3:20:25 PM UTC-4, Edward K. Ream wrote: > You can do whatever you like in VR3, but I'm not going to worry about the > kind

Re: Leo has a new default look

2020-10-11 Thread Thomas Passin
My problem with this is not individual settings like font size, but that I don't know how to modify them. I tried copying specific settings to myLeoSettings.leo under a new node @theme Default, but they don't take effect. When I open myLeoSettings.leo, then I seem to get some kind of strange

Re: TravisCI checks no longer required for PR's

2020-10-06 Thread Thomas Passin
Well, I did submit the PR. Is there something else I should be doing with it? On Tuesday, October 6, 2020 at 9:56:15 AM UTC-4, Edward K. Ream wrote: > > There seems to be something wrong with the TravisCI checks. They aren't > being run. > > For this reason, I have temporarily removed the

Viewrendered3 Updated to V3.0rc4

2020-10-06 Thread Thomas Passin
I have just merged a new release candidate of VR3 into the devel branch. The main changes for users are 1. There are two new VR3-* Leo commands to zoom or unzoom the zoom size in the rendering pane. These commands can be linked to shortcut keys - typically, one would use the same keys as

Re: Leo won't start

2020-10-06 Thread Thomas Passin
I feel for you! Good luck. On Tuesday, October 6, 2020 at 2:12:10 PM UTC-4, Rob wrote: > > No, I get nothing, just returns to command line. I have Python installed > through Anaconda and now it's stuck trying to update. I'm afraid I'll have > to reinstall everything; not looking forward to

Re: Leo won't start

2020-10-06 Thread Thomas Passin
Do you get anything from python -V? Probably better just to reinstall and be done with it. On Tuesday, October 6, 2020 at 12:47:21 PM UTC-4, Rob wrote: > > Well, it's not a Leo problem as I can't even execute a simple Hello World > script. I must have a corrupted Python installation. Looks

Select Multiple Nodes With Mouse Does Not Highlight Uppermost Node

2020-10-14 Thread Thomas Passin
Leo 6.3-devel, devel branch, build b6c70a7c7e 2020-10-13 16:26:16 -0400 Python 3.8.5, PyQt version 5.15.1 Windows 10 AMD64 (build 10.0.19041) SP0 When I click on a node in the outline pane, hold the shift key and then click on a later node - expecting all the nodes between clicks to be selected

Re: Thomas, did you mean to change the VR3 layout?

2020-10-13 Thread Thomas Passin
No. This happens to me once in a while, too. The only remedy I know is to run the vr3-use-default-layout command. Once the position is back to normal, I haven't been able to make it misbehave on purpose. Very annoying, because it's nearly impossible to debug. The only clue I know is that

Re: Viewrendered3 Updated to V3.0rc4

2020-10-11 Thread Thomas Passin
One thing I see is that the VR3 version has some experimental code that I had not intended to have outside of my own clone. I'll have to revert that. It must have been some mistake on my part.But that would not be the cause of this problem, which I'm now seeing but didn't a day or two before.

Re: Viewrendered3 Updated to V3.0rc4

2020-10-11 Thread Thomas Passin
Strange ... nothing has been changed about this in VR3. Edward, has something been changed in JEditColorizer? I have never seen this error before, and it ought to be showing up all the time.. On Sunday, October 11, 2020 at 9:43:10 AM UTC-4, zhaohe wang wrote: > > run vr3, errors displayed >

Re: Select Multiple Nodes With Mouse Does Not Highlight Uppermost Node

2020-10-14 Thread Thomas Passin
Could you tell if it's only a highlight problem or if the selection itself is affected? On Wednesday, October 14, 2020 at 11:33:48 AM UTC-4, Edward K. Ream wrote: > > > > On Wed, Oct 14, 2020 at 9:50 AM Thomas Passin > wrote: > >> Leo 6.3-devel, devel branch, build b6c

Re: leo\doc\LeoDocs.leo.orig

2020-08-23 Thread Thomas Passin
I noticed a .orig file show up in one of my development folders this week. I think it was put there by some editor I don't normally use, like atom or pyzo, which I might have used once in a while to look at at a file. But I never staged it out to be committed and pushed - or so I thought. I

Re: Defining Attributes

2020-08-25 Thread Thomas Passin
So let me see if I am getting some kind of a handle on this. The following will not be complete; it's just responding to some of the elements. 1. *You need to produce documentation to fit some template not of your choosing, probably in markdown or similar.* The template is not the way

Re: Defining Attributes

2020-08-25 Thread Thomas Passin
It would help if you could be more informative about what you are trying to accomplish. Reading what you wrote below, it sounds like you want to make a little markup language for Markdown. Maybe you can just use Markdown itself (or asciidoc). If you put some special character or term into

Re: Defining Attributes

2020-08-25 Thread Thomas Passin
n, just > thought you guys might know better and/or have some ideas kicking around :-) > > > 1: Define & Document the "Model" (Types + Content) > 2: Transform/Link the Model to Code (files) > 3: Transform the Model to Presentation Docs (files) >

Re: Defining Attributes

2020-08-25 Thread Thomas Passin
files inside Leo so others can edit them if needed. Leo can still coordinate the output generation, but preferably by running external files that others can run if you are not available. On Tuesday, August 25, 2020 at 4:14:19 PM UTC-4, Thomas Passin wrote: > > I wonder if this might be a

Re: Sentinel Naming Convention

2020-08-17 Thread Thomas Passin
ike: http://cyan4973.github.io/xxHash/ or > https://github.com/google/farmhash > They also have Python libraries, e.g. https://pypi.org/project/xxhash/ & > https://pypi.org/project/pyfarmhash/ > > > > > On Mon, 2020-08-17 at 07:05 -0700, Thomas Passin wrote: > > You

Re: Excluding Nodes from Leo File

2020-08-18 Thread Thomas Passin
No. But you can create a separate tree, not an @anything external file, with clones of all the nodes you want to document, and add documentation nodes there. On Tuesday, August 18, 2020 at 7:13:19 PM UTC-4, k-hen wrote: > > Given an @clean node, is it possible to mark certain node to be

Re: ENB: Ahas re positions

2020-08-26 Thread Thomas Passin
I think that if a copy of the current list of all positions were included in the undo data, then it could be restored upon undo and everything would work. I don't know if that would be too slow, so that it would affect the perceived speed of the keystrokes. On Wednesday, August 26, 2020 at

Re: ENB: Ahas re positions

2020-08-26 Thread Thomas Passin
: > > > > On Wed, Aug 26, 2020 at 10:11 AM Thomas Passin > wrote: > >> I think that if a copy of the current list of all positions were included >> in the undo data, then it could be restored upon undo and everything would >> work. I don't know if that would

Re: Documented Database Use Case

2020-08-21 Thread Thomas Passin
I'm doubtful about Leo-as-a-database as a replacement for a conventional rdbms, because of the need for atomic transactions. That has always take a lot of care in design and implementation of the code. Of course, we don't know what Speed has done, and maybe you don't need such capabilities

Re: PR's now required for the master and devel branches

2020-08-21 Thread Thomas Passin
And after I said this is a good idea, I just accidentally merged my changes to VR3 to upstream/devel instead of origin/devel. Grrr. No harm done, I think, because these changes were the ones that start to add asciidoc rendering, and they work on my computer at least. They don't change any

Re: Documented Database Use Case

2020-08-21 Thread Thomas Passin
counterparts. > > I can think of arguments for both based on different circumstances, but > initially at least, my preference would probably be the former. > > > > > > On Fri, 2020-08-21 at 08:21 -0700, Thomas Passin wrote: > > I'm doubtful about Leo-as-a-database a

Re: Documented Database Use Case

2020-08-21 Thread Thomas Passin
quot; I used the expanded form in the example outline because it shows more clearly what the elements of the command are. On Friday, August 21, 2020 at 3:03:16 PM UTC-4, Thomas Passin wrote: > > If you are willing to use a command line interface to your database, like > mysql.exe, t

Re: ViewRendered 3 Now Renders Asciidoc (with limitations)

2020-08-21 Thread Thomas Passin
I've moved this work to a new branch on my repo - the vr3-asciidoc branch. It's at https://github.com/tbpassin/leo-editor/tree/vr3-asciidoc Please get vr3 from there if you want to try the latest efforts. On Thursday, August 20, 2020 at 6:34:14 PM UTC-4, Thomas Passin wrote: > > I hav

Re: Unbinding Keys

2020-08-21 Thread Thomas Passin
My keyboard, which is fairly new, doesn't emit , which is very annoying. I have to use the menu to get the command. Maybe you have a keyboard issue? On Friday, August 21, 2020 at 8:42:16 PM UTC-4, k-hen wrote: > > It's very boring so far, just getting started :-) > > The biggest helper for

Re: I am going to start using PR's

2020-08-21 Thread Thomas Passin
I'm not crazy about bureaucracy, but I have noticed that the PR can lead to a lot of good discussion, and what gets added in the end may not be exactly what was in the PR at the start. On Friday, August 21, 2020 at 8:55:30 PM UTC-4, Offray Vladimir Luna Cárdenas wrote: > > Lunzer, > > I may

Re: Unbinding Keys

2020-08-22 Thread Thomas Passin
I've read some posts that people have been having unresponsive key troubles with various Logitech keyboards (mine is a Logitech wireless), but not always the same key(s). On Saturday, August 22, 2020 at 8:51:57 AM UTC-4, k-hen wrote: > > To confirm, I just tried these (Ctrl+Shift+C &

Re: I am going to start using PR's

2020-08-22 Thread Thomas Passin
0 at 9:36 PM Thomas Passin > wrote: > >> I'm not crazy about bureaucracy, but I have noticed that the PR can lead >> to a lot of good discussion, and what gets added in the end may not be >> exactly what was in the PR at the start. >> > > Imo, "bureaucrac

Re: I am going to start using PR's

2020-08-22 Thread Thomas Passin
As long as we're on the subject, someone made some changes to viewrendered3 *in my github repo* that I didn't know about. There is a syntax error in these changes, and I *think* something else got inadvertently changed, and I will have to fix that up, too. Now if they had put in a PR, it

Re: Unbinding Keys

2020-08-22 Thread Thomas Passin
Would you please explain what you did that got the unbindings to work? It might help other people. On Saturday, August 22, 2020 at 1:13:57 PM UTC-4, k-hen wrote: > > I use and am big fan of these :-) >

Re: I am going to start using PR's

2020-08-22 Thread Thomas Passin
UTC-4, Thomas Passin wrote: > > As long as we're on the subject, someone made some changes to > viewrendered3 *in my github repo* that I didn't know about. There is a > syntax error in these changes, and I *think* something else got > inadvertently changed, and I will have to f

Re: I am going to start using PR's

2020-08-22 Thread Thomas Passin
, Thomas Passin wrote: > > It looks like the changes to vr3 came via a change in the devel branch, > and those must have come from leo-editor's devel branch. So it probably > wasn't someone changing my repo directly. Still, there should have been > some discussion

Re: Leo Write-Only Mode

2020-08-20 Thread Thomas Passin
Please describe exactly what you are doing. See if you can come up with a very condensed example (a small file with only a few nodes, for example). What do you want to achieve, what did you expect, and what actually happened? Bear in mind the the entire Leo code base is contained in a few

Re: Leo Interrupt

2020-08-20 Thread Thomas Passin
Try to find a way to only add a small number at a time, then save. Eventually you should learn how to avoid the errors, and then you won't have the problem. On Thursday, August 20, 2020 at 2:06:45 PM UTC-4, k-hen wrote: > > Hi, > Just wondering - Is there perhaps a way to interrupt Leo without

Re: Leo Write-Only Mode

2020-08-20 Thread Thomas Passin
just CTRL+V to paste >> > right in here while you type. Like this: >> > >> > (In linux its put into your home/picture folder. ) >> > >> > So I would recommend you paste one before, and at each step of the >> > behavior/actions your trying to

ViewRendered 3 Now Renders Asciidoc (with limitations)

2020-08-20 Thread Thomas Passin
I have been upgrading vr3 to render asciidoc nodes, mostly because of Kevin's interest. The work is not finished, but at least vr3 will render a single node of asciidoc. Because it is still in progress I haven't issued a PR. But you can get it from my github repo -

Re: ch ch changes

2020-08-26 Thread Thomas Passin
Matt, your contributions and tact will be missed until you feel like returning. On Wednesday, August 26, 2020 at 7:20:53 PM UTC-4, Matt Wilkie wrote: > > Hello Edward and Leo community, > > As you've noticed I've kind of dropped out of Leo participation this > summer. My life seems to have

Back to No-Docks

2020-08-27 Thread Thomas Passin
I am so fed up with --use-docks that I've given up on it and gone back to the older no-docks configuration. With docks, I can never count on the panes being the same next time I re-open an outline or restart Leo. Sometimes they are hard to restore to my liking, too. Especially during plugin

Re: Leo Write-Only Mode

2020-08-24 Thread Thomas Passin
Don't forget, viewrendered3 already uses @rst, @md, and @asciidoc. Please don't make these mean something else. On Monday, August 24, 2020 at 10:36:54 AM UTC-4, vitalije wrote: > > > > On Monday, August 24, 2020 at 3:15:50 PM UTC+2, k-hen wrote: >> >> >> Pardon the beginner question, but are

Re: Contract Node and Descendants

2020-08-24 Thread Thomas Passin
So you want "contract this node and all subtrees"? On Monday, August 24, 2020 at 12:47:48 PM UTC-4, k-hen wrote: > > That doesn't seem to be exactly what I'm looking for, when you expand it > again, its children are still expanded :-/ > > > On Monday, August 24, 2020 at 11:57:18 AM UTC-4

Re: Contract Node and Descendants

2020-08-24 Thread Thomas Passin
Outline/"Expand/Contract"/"Contract Node". On Monday, August 24, 2020 at 11:40:14 AM UTC-4, k-hen wrote: > > Is there an option or function for Leo to contract all descendants of the > selected node? > > e.g. if use this option on B, then D would collapse as well, but not G. > Collapse other

Re: @clean orphan node error

2020-08-14 Thread Thomas Passin
I've done that a few times without trouble. First thing I would try is to change to @file and save. Once that works, try the change to @clean. If it still doesn't work, create a new @clean node, copy the subtree to it, delete the (now empty) @auto node, and see if it saves. If not, there

Re: @clean orphan node error

2020-08-14 Thread Thomas Passin
For an @file tree, you have to have the external file available in the right place, or Leo won't have anything to read. All the structure (and text) is stored in the external file, and it all has to be read for Leo to (re)create the tree. With an @clean tree, the structure and text is stored

Re: Sentinel Naming Convention

2020-08-17 Thread Thomas Passin
You could, however, use a new meaningless user name in Leo. That should have the effect you want. It will still have the date, but the name wouldn't disclose anything. On Monday, August 17, 2020 at 9:59:56 AM UTC-4, Edward K. Ream wrote: > > > > On Mon, Aug 17, 2020 at 7:40 AM k-hen > >

Re: A regex puzzle

2020-08-17 Thread Thomas Passin
On Monday, August 17, 2020 at 9:49:13 AM UTC-4, Edward K. Ream wrote: > > I would like a regex that finds complete and *disjoint *typescript > multiline block comments > > The following does not work, because the flags do not play well together. > > re.compile(r'(/\*.*?\*/)(.*)', re.DOTALL |

Re: @clean orphan node error

2020-08-15 Thread Thomas Passin
On Saturday, August 15, 2020 at 9:26:09 AM UTC-4, Edward K. Ream wrote: > > On Fri, Aug 14, 2020 at 11:49 AM k-hen > wrote: > >> Hi guys, >> I'm trying to change and @auto node to an @clean node, but I'm getting >> and error writing the file. > > > Make sure the root node (@auto, @file,

Re: A regex puzzle

2020-08-17 Thread Thomas Passin
Aug 17, 2020 at 11:04 AM Thomas Passin > wrote: > >> "When you use an regex to solve a problem, then you have another problem". >> > > This aphorism is misleading. Believing it was one of the worst mistakes I > have made in my coding career. regex's a

Re: I am going to start using PR's

2020-08-17 Thread Thomas Passin
I'd go for that. PRs, I have noticed on other projects, can support a good discussion before the thing is finalized. On Monday, August 17, 2020 at 12:28:58 PM UTC-4, Edward K. Ream wrote: > > The days of cowboy commits are coming to an end. > > In future, I plan to create a PR for all my work.

Re: A regex puzzle

2020-08-17 Thread Thomas Passin
"When you use an regex to solve a problem, then you have another problem". On Monday, August 17, 2020 at 11:35:08 AM UTC-4, vitalije wrote: > > > > On Monday, August 17, 2020 at 4:59:39 PM UTC+2, Thomas Passin wrote: >> >> Nested comments aren't allowed in js

Re: Unable to Apply Certain Commands Globally

2020-08-17 Thread Thomas Passin
with a single command. On Monday, August 17, 2020 at 6:36:02 AM UTC-4, Edward K. Ream wrote: > > > > On Sun, Aug 16, 2020 at 10:06 PM Thomas Passin > wrote: > > > I can't work out how to get each node to populate with the contents of > the file that's already there. > >

Re: A regex puzzle

2020-08-17 Thread Thomas Passin
Nested comments aren't allowed in js and ts, are they? On Monday, August 17, 2020 at 10:53:37 AM UTC-4, vitalije wrote: > > re.compile(r'(/\*(:?.*?)\*/)') > > The inner comment text must be grouped separately to be able to apply *? > operator on just the inner characters. Without this grouping,

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

2020-10-03 Thread Thomas Passin
VR3 that can be linked to the same keys >>> when the focus is not in the VR3 rendering pane: >>> >>> vr3-zoom-view, and vr3-shrink-view. >>> >>> These are still experimental. They will probably be included in the devel >>> branch soon. >>> >>

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

2020-10-03 Thread Thomas Passin
12.1 >> darwin >> >> 在2020年10月4日星期日 UTC+8 上午6:38:18 写道: >> >>> I have added two Leo commands to VR3 that can be linked to the same keys >>> when the focus is not in the VR3 rendering pane: >>> >>> vr3-zoom-view, and vr3-shrink-view. >&

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

2020-10-03 Thread Thomas Passin
eo commands to VR3 that can be linked to the same keys >>> when the focus is not in the VR3 rendering pane: >>> >>> vr3-zoom-view, and vr3-shrink-view. >>> >>> These are still experimental. They will probably be included in the devel >>>

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

2020-10-03 Thread Thomas Passin
> >>> I have added two Leo commands to VR3 that can be linked to the same keys >>> when the focus is not in the VR3 rendering pane: >>> >>> vr3-zoom-view, and vr3-shrink-view. >>> >>> These are still experimental. They will probably be inclu

Re: mathematical formulas display in vr3

2020-10-03 Thread Thomas Passin
That's right; I only illustrated a math block. Mathjax does a nice math rendering, doesn't it? On Saturday, October 3, 2020 at 8:52:11 PM UTC-4, zhaohe wang wrote: > > Thanks a lot! It is excellent! > > The inline mode is \\( [(0.2-0)^2 + (0.7-0)^2 + (0.1-1)^2]*0.5=0.67 \\) > > Not > > $

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

2020-10-03 Thread Thomas Passin
imental. They will probably be included in the devel >> branch soon. >> >> On Saturday, October 3, 2020 at 12:08:10 PM UTC-4, Thomas Passin wrote: >>> >>> Actually, there is a setting to change the default font size: >>> >>> @int qweb-view-f

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

2020-10-03 Thread Thomas Passin
UTC-4, Thomas Passin wrote: > > 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 b

Re: undoing unmarks nodes

2020-10-03 Thread Thomas Passin
I can confirm that a marked node gets unmarked by an undo operation for a change later than the change that marked the node. I don't think that should happen. I think that marking nodes should be undoable - if only because the marks get saved when the outline is saved, so they are a real

Re: On the Semantics of Copying Clones

2020-05-27 Thread Thomas Passin
Using the marked flag might not work as expected, because it might already have been set for some other reason. Perhaps a node should have a new flag denoting its cloned status. The complication would be that when a node marked as a clone gets deleted, the outline has to be checked to see

Re: On the Semantics of Copying Clones

2020-05-27 Thread Thomas Passin
On Wednesday, May 27, 2020 at 6:44:56 AM UTC-4, Edward K. Ream wrote: > > > *CONCLUSION*: >> Thomas really needs '*include*' of the code snippet instead of cloned >> code. Clones are no good for his case. >> > To the contrary, clones are exactly what I want. These are code shared by a number

Re: On the Semantics of Copying Clones

2020-05-27 Thread Thomas Passin
Aren't the marks used in goto commands, like goto-next-marked? I use them all the time. On Wednesday, May 27, 2020 at 8:26:26 AM UTC-4, Edward K. Ream wrote: > > > > On Wed, May 27, 2020 at 6:34 AM vitalije > > wrote: > >> Mark bits are really relevant only when copying node. After the copy

Re: Proposal: @template nodes and related commands

2020-05-27 Thread Thomas Passin
On Wednesday, May 27, 2020 at 12:15:38 PM UTC-4, Edward K. Ream wrote: > > > On Wed, May 27, 2020 at 10:44 AM vitalije > > wrote: > >> I would only suggest to leave out settings file from the proposal. >> > > Sounds reasonable. If people want "global" settings that can be added > later. > >

Re: Question about Clone keybinding default

2020-05-28 Thread Thomas Passin
In the US, I see it called a "back-tick". It seems to be the same as the grave accent. It is normally on the far left of the 2nd row from the top, and is the unshifted character.. That is the same row that contains the numbers 0 - 9. The only row above it contains the various function keys

Re: Question about Clone keybinding default

2020-05-28 Thread Thomas Passin
s! > -- > Félix > > On Thursday, May 28, 2020 at 10:15:48 PM UTC-4, Thomas Passin wrote: >> >> In the US, I see it called a "back-tick". It seems to be the same as the >> grave >> accent. It is normally on the far left of the 2nd row from the top, and >&g

Vertical Line To Mark Margin?

2020-06-01 Thread Thomas Passin
If this isn't an option already, it would be a useful enhancement. Many text editors show a thin vertical line at 80 columns, or whatever you have set. This helps you make sure you don't run over the intended right margin while writing code. Presumably it would be configured via and @setting

Re: On the Semantics of Copying Clones

2020-05-22 Thread Thomas Passin
On Friday, May 22, 2020 at 11:08:19 AM UTC-4, Edward K. Ream wrote: > On Wed, May 20, 2020 at 9:06 AM Thomas Passin > wrote: > >> What should happen when I copy a tree that contains a clone? >> > > Leo copies the tree to the clipboard as is, that is, *retaining *

Re: Vertical Line To Mark Margin?

2020-06-02 Thread Thomas Passin
On Tuesday, June 2, 2020 at 9:16:21 AM UTC-4, Edward K. Ream wrote: > > > On Mon, Jun 1, 2020 at 3:59 PM Thomas Passin > wrote: > >> If this isn't an option already, it would be a useful enhancement. Many >> text editors show a thin vertical line at 80 columns, o

Re: ENB: reusable Leo functions and some experimental results (work on issue 1598)

2020-06-02 Thread Thomas Passin
Vitalije, the code you have been showing is very nice indeed. It's short, understandable, and apparently very performant as well. What a pleasure! I have a question - you say that the nodes_from_leo_xml()function will be used for various paste commands. This way, the xml bits have to be

Re: Placement behaviour of VR vs. VR3 pane?

2020-10-27 Thread Thomas Passin
Hi, Viktor, In recent development releases of Leo, the VR3 pane has sometimes started to show up in unexpected places. I have also had the VR pane open in undesired locations too (VR and VR3 use almost identical code for the on/off behavior). This seems to be caused by some bug/feature in

Re: Placement behaviour of VR vs. VR3 pane?

2020-10-27 Thread Thomas Passin
Hi, Viktor, I don't think you need to open an issue on Github since I plan to keep working on the problem after Leo 6.3 Final is released. In the meantime, once you get a layout that you like, I suggest saving it using the splitter bar context menu. After a restart you can load that named

Re: Placement behaviour of VR vs. VR3 pane?

2020-10-27 Thread Thomas Passin
my named layout, and then if necessary running the vr3-use-default-layout command. You could also save another layout named, say, vr3-right after you get the layout with VR3 that you like, and restoring that should always work. On Tuesday, October 27, 2020 at 4:08:07 PM UTC-4, Thomas Passin

Re: Placement behaviour of VR vs. VR3 pane?

2020-10-28 Thread Thomas Passin
On Wednesday, October 28, 2020 at 3:52:08 PM UTC-4, Viktor Ransmayr wrote: > Thanks a lot for your two messages. - Applying the command - or - the > suggested button is a good workaround. > > But IMO other Leo users will experience similar issues, when the have to > switch from the

Re: ENB: Are huge Leo outlines possible?

2020-10-24 Thread Thomas Passin
Remembering back to long ago when we only had 640k of RAM at the most, there were editors that kept three screens of data in memory at once - the current page, the previous page, and the next page. When the user scrolled forward (say), parts of the next page would be brought in, and when

Re: Discuss: drop support for Qt docks?

2020-10-22 Thread Thomas Passin
Just for historical interest and for your entertainment (since we've dropped docks) - "... offers a more deterministic dock placement API (in Qt it is very difficult to programatically generate complex dock arrangements)" - from an example of pyqtgraph's dock widget system. On Friday,

Re: Unintuitive user interface

2020-08-04 Thread Thomas Passin
On Tuesday, August 4, 2020 at 5:05:57 PM UTC-4, Vedran Čačić wrote: > > Thank you all. Yes, Ctrl+R/L/U/D is very nice, _once you find it_, but > it's completely nondiscoverable. Well, not *completely*, since I did find them. With new programs, I usually try to find operations and shortcuts

Re: vs code chronicles: code folding and Leo's importers

2020-08-11 Thread Thomas Passin
The editor component is a Microsoft project called Monaco - https://github.com/microsoft/monaco-editor Monaco itself can do code folding. Maybe it would be easier to find the code in its code base than in vscode's. On Tuesday, August 11, 2020 at 12:45:42 PM UTC-4, Edward K. Ream wrote: > >

Re: Unintuitive user interface

2020-08-04 Thread Thomas Passin
bivalent... always have > to try it , undo, realize I wanted the other one... (with a node being > selected, calling a command "promote" or "demote", only, has an unclear > meaning) > -- > Félix > > EDIT: TYPO > > > On Tuesday, August 4, 2020 a

Re: leo stops working

2020-07-31 Thread Thomas Passin
ings.leo, which I didn't deliberately > construct when I reinstalled, is almost as long (12000+ lines) as > leoSettings.leo, whereas on another (OS-X) computer it is only a couple of > hundred lines -- which I thought was the recommended way. > > geoff > > On Thursday, July 30, 2

Re: leo stops working

2020-07-31 Thread Thomas Passin
On Friday, July 31, 2020 at 9:22:08 AM UTC-4, Geoff Evans wrote: > > Sorry to be slow, but: > "MyLeoSettings has priority for setting something, otherwise > LeoSettings.leo prevails." > > It seems to me that if I simply comment out a plugin line in > myLeoSettings.leo, I'm turning it into a

Re: vs code chronicles: code folding and Leo's importers

2020-08-13 Thread Thomas Passin
Here's someone who re-implemented Origami. Here he talks a bit about how folding was implemented (double-linked n-trees) - http://wotug.org/parallel/tools/editors/folding-editors/fe-mh/README.html If you go to the parent directory, you can get the entire source (in C, apparently from 1997).

Re: view-rendered plugin and mermaid.js

2020-08-13 Thread Thomas Passin
The VR3 plugin can display the diagram outputs. It wouldn't update automatically when you made a change - you would have to refresh the plugin view to see that changed image. It *may* be possible to get mermaid to run in a panel inside Leo. It could be launched using graal, and Leo can be

Re: view-rendered plugin and mermaid.js

2020-08-13 Thread Thomas Passin
to viewrendered3 if you decide that Leo is promising enough for your project. It looks like it might be something that I'd like using myself. On Thursday, August 13, 2020 at 1:32:49 PM UTC-4, Thomas Passin wrote: > > The VR3 plugin can display the diagram outputs. It wouldn't

Re: Losing Clones after restart

2020-08-13 Thread Thomas Passin
You aren't doing anything wrong, but it shouldn't be happening. I don't lose my clones that way. I happen to be on the devel branch but I don't think that's a factor here: Leo 6.3-devel, devel branch, build 6a92120f1a 2020-06-23 09:38:53 -0500 Python 3.8.2, PyQt version 5.14.2 Windows 10

Re: view-rendered plugin and mermaid.js

2020-08-13 Thread Thomas Passin
On Thursday, August 13, 2020 at 1:39:17 PM UTC-4, k-hen wrote: > > I don't mind refreshing at all. Pardon the naive question, but how would I > go about trying VR3? > You edit the MyLeoSettings.leo file, which you can open from Leo's Settings menu. Find a node titled @enabled plugins.

Re: view-rendered plugin and mermaid.js

2020-08-13 Thread Thomas Passin
On Thursday, August 13, 2020 at 10:00:49 AM UTC-4, k-hen wrote: > > I understand, I thought view-rendered may have been a qt html panel but I > suppose it's rich text or something like that. > The integration project seems very interesting ... I'll keep an eye on it > - thanks! > (and Leo of

Re: Documented Database Use Case

2020-08-13 Thread Thomas Passin
On Thursday, August 13, 2020 at 1:34:55 PM UTC-4, k-hen wrote: > > This is very helpful, thank you. I think using including images would be > fine, I'm also flirting a bit with maybe trying out the leo asciidoc system > over markdown and/or rst - which I have a harder time connecting with. > If

Re: Losing Clones after restart

2020-08-13 Thread Thomas Passin
at 6:28:00 PM UTC-4, Thomas Passin wrote: > > Is it correct that you only are seeing this behavior on (a?) auto-md file? > > On Thursday, August 13, 2020 at 5:46:36 PM UTC-4, k-hen wrote: >> >> Hi Felix, >> I am also perplexed. Note that the clones which are not a de

Re: view-rendered plugin and mermaid.js

2020-08-13 Thread Thomas Passin
You need to have Docutils installed to have VR3 render Restructured text, and you need Markdown installed to render (no surprise here) markdown. -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving

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