Re: importing @clean files deletes empty lines

2015-12-07 Thread Zoltan Benedek
I see there are two 'Refresh from disk' possibilities, one from the File 
menu and one by right click menu.

I'm interested in the right click 'Refresh from disk'.

How could I call it by a script?

On Monday, December 7, 2015 at 7:28:07 PM UTC+2, Zoltan Benedek wrote:
>
> I have a workaround.
> I should call 'Refresh from disk' for every position wich starts with 
> '@clean'.
>
> Only I don't know how. Something like:
>
> for p in c.all_positions():
> if p.h.startswith('@clean'):
> c.refreshFromDisk()
>
>
> Can someone help me?
>
> Thanks
> Zoltan
>
>
> On Saturday, December 5, 2015 at 1:43:10 AM UTC+2, Edward K. Ream wrote:
>>
>>
>> On Fri, Dec 4, 2015 at 1:04 PM, Zoltan Benedek  wrote:
>>
>> ​> ​
>> I use just the same script you copied. Should I change it a bit?
>>
>> ​Changing the code for ​
>> c.recursiveImport itself is the only thing that could work.  I'll look 
>> into the deleted lines issue.
>>
>> EKR
>>
>

-- 
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 post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: importing @clean files deletes empty lines

2015-12-07 Thread Zoltan Benedek
I have a workaround.
I should call 'Refresh from disk' for every position wich starts with 
'@clean'.

Only I don't know how. Something like:

for p in c.all_positions():
if p.h.startswith('@clean'):
c.refreshFromDisk()


Can someone help me?

Thanks
Zoltan


On Saturday, December 5, 2015 at 1:43:10 AM UTC+2, Edward K. Ream wrote:
>
>
> On Fri, Dec 4, 2015 at 1:04 PM, Zoltan Benedek  > wrote:
>
> ​> ​
> I use just the same script you copied. Should I change it a bit?
>
> ​Changing the code for ​
> c.recursiveImport itself is the only thing that could work.  I'll look 
> into the deleted lines issue.
>
> EKR
>

-- 
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 post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: whatever

2015-12-07 Thread Todd Mars
Thank-You!
Here are my notes:
LEO font size
leoSettings.leo
@settings/Appearance (change these first)
/Qt Gui Settings/Fonts/Basic Fonts (change these first)
/@string font-size =.
(changed to 10)

On Thursday, December 3, 2015 at 4:17:12 PM UTC-5, Todd Mars wrote:
>
> hi,
> finally upgraded to 5.1, now @clean node works and can output a simple 
> text file that reflects the outlline.
> So to make a small font in the body and headlines, I edit personal 
> settings file and put in what node?
> thanks
> it would be nice if ctrl- and ctrl+ could make the font sizes bigger and 
> smaller like they do in browsers.
>
>

-- 
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 post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: importing @clean files deletes empty lines

2015-12-07 Thread Zoltan Benedek
I had the impression that importing a single file by the menu File -> 
Import File works in the same way.

But now I tested and seems to work correctly.

Indeed the problem is with c.recursiveImport.

Thanks for your effort.

Zoltan

On Saturday, December 5, 2015 at 1:43:10 AM UTC+2, Edward K. Ream wrote:
>
>
> On Fri, Dec 4, 2015 at 1:04 PM, Zoltan Benedek  > wrote:
>
> ​> ​
> I use just the same script you copied. Should I change it a bit?
>
> ​Changing the code for ​
> c.recursiveImport itself is the only thing that could work.  I'll look 
> into the deleted lines issue.
>
> EKR
>

-- 
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 post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.