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 the line in the external file that was in the @others subtree (I 
mean using an external editor), the "@others" line in the Leo outline did 
not get unindented as one would expect.

Tricky!

On Friday, June 23, 2023 at 4:44:36 PM UTC-4 Félix wrote:

> 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 23, 2023 at 3:59:07 PM UTC-4 [email protected] wrote:
>
>> 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 not indented, the @others subtree lines are not either.
>>
>> On Friday, June 23, 2023 at 2:39:46 PM UTC-4 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 those lines indented with as much space as 
>>> there are before the @others in the parent node.
>>>
>>> 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? will the 
>>> @others be unindented? or will the @others stay at its position, and the 
>>> inside node content be empty and with it's now unindented line appear below 
>>> the @others?
>>>
>>> In any case, none of this happens. So i'm wondering what's going on? 
>>> (was it always this way? or is this a new intended/unintended behavior?)
>>>
>>> Félix
>>>
>>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/21a5d1cc-9123-410f-98e4-151ae02a1245n%40googlegroups.com.

Reply via email to