Re: expected behavior for removing spaces before lines outputed by an indented '@others'

2023-06-24 Thread Edward K. Ream
On Sat, Jun 24, 2023 at 12:44 PM Félix wrote: > I was making sure leojs was behaving properly, No problem. One more thing. Your example is somewhat contrived because indented @others statements are bad style unless they occur in a context where indentation is expected. Good style: class

Re: expected behavior for removing spaces before lines outputed by an indented '@others'

2023-06-24 Thread Félix
Very good. yes indeed, I dont want to modify the algorithm, and I also see advantages to the current behavior. (which i didn't take time to mention in the posts above) But in essence, as I was making sure leojs was behaving properly, i thought i'd ask if this is working as expected in Leo

Re: expected behavior for removing spaces before lines outputed by an indented '@others'

2023-06-24 Thread Edward K. Ream
On Saturday, June 24, 2023 at 5:54:02 AM UTC-5 Edward K. Ream wrote: >> What is the expected behavior when I remove the indentation of the line produced by the @others in the external file, and save it as such to be picked-up by Leo and have it refresh that outline from file? >Imo, there is

Re: expected behavior for removing spaces before lines outputed by an indented '@others'

2023-06-24 Thread Edward K. Ream
On Fri, Jun 23, 2023 at 1:39 PM Félix wrote: > In a simple outline with an @clean node containing an indented @others > such as this: > > [image: Screenshot from 2023-06-23 14-33-30.png] > Let's say there's a couple lines of text in the 'inside node' body pane. > The external file will have

Re: expected behavior for removing spaces before lines outputed by an indented '@others'

2023-06-23 Thread Félix
Yes. This inquiry only concerns @clean, not @file. When being refreshed from file after unindenting a line coming from an indented @others node, I would have expected the first line encountered (*being unindented past the indentation of it's originator @other node*), to be considered the

Re: expected behavior for removing spaces before lines outputed by an indented '@others'

2023-06-23 Thread Thomas Passin
Oh, I see. If it's an external file with sentinels it could be tricky because you'd have to unindent the correct block the right amount, sentinels and all. I just succeeded with an @file tree, but it would be easy to mess it up. I converted the file to an @clean file and when I unindented

Re: expected behavior for removing spaces before lines outputed by an indented '@others'

2023-06-23 Thread Félix
Thank, but the unexpected behavior I tried to verify is when* removing the indentation in the external file itself externally* (with a file editor of your choice) and then saving it, to have Leo refresh it from file by answering 'yes' to the dialog that appears when you do so. On Friday, June

Re: expected behavior for removing spaces before lines outputed by an indented '@others'

2023-06-23 Thread Thomas Passin
My expectation is that all lines in the @others subtree will be additionally indented by the indentation of the "@others" string. That's how I have always used it. I just tried it out in a little outline similar to yours, and that's what I saw in the external file. So if the @others line is

expected behavior for removing spaces before lines outputed by an indented '@others'

2023-06-23 Thread Félix
In a simple outline with an @clean node containing an indented @others such as this: [image: Screenshot from 2023-06-23 14-33-30.png] Let's say there's a couple lines of text in the 'inside node' body pane. The external file will have those lines indented with as much space as there are