On Saturday, February 8, 2020 at 4:53:30 AM UTC-5, Edward K. Ream wrote:
>
> On Thu, Feb 6, 2020 at 4:15 PM 'tfer' via leo-editor <
> leo-e...@googlegroups.com <javascript:>> wrote:
>
>> I'm still having issues with various import types:
>>
>>   1. doing an import via the "File" menu is under the default @tabwidth 
>> -4, needs to be @tabwidth 2 for these files
>>     ** this has been the only successful import I have been able to make
>>
>
> This is the hard way. After importing a file, either with the File:Import* 
> commands or with the recursive import script, you should have an @auto, 
> @file or @clean tree. After that, restarting Leo, or using 
> <alt-x>refresh-from-disk will re-import the file.
>
> You are right, that was the hard way.  I don't use the minibuffer much, 
and the context menu didn't seem to have the "refresh from disk" - iitem, 
(maybe that was due to the impression of using a trackpad--or the "Import" 
item blinded me to this item further down, been away from Leo too long).

The new javascript should work for my purposes, though a diff against the 
original file and a @clean saved out version from the import had one extra 
blank line after a block of comments.

I've been sidetracked by Leo itself, working stuff to do with the package 
and testing, I'll report on that in another thread when I get further along.

> After importing, @tabwidth will only affect *new* nodes.
>
> If the contextmenu.py plugin is running, right-clicking a node will bring 
> up a context menu. If that node is any kind of @<file> node, the context 
> menu will have refresh-from-disk.
>
> Edward
>

-- 
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 visit 
https://groups.google.com/d/msgid/leo-editor/a86d7440-5407-4835-82a6-6974e4031036%40googlegroups.com.

Reply via email to