On Sun, 16 Dec 2012 17:15:05 +0200
"Ville M. Vainio" <[email protected]> wrote:
> Unless I'm mistaken, "refresh from disk" currently refresh all files from
> disk, even if it only looks like it only applies to selected file.
>
> Double check to be sure.
I think it only does the selected node, I'm sure it would have messed
me up before if it did otherwise - I would expect only the selected
node.
contextmenu.py does
action = menu.addAction("Refresh from disk")
def refresh_rclick_cb():
if typ.startswith('@auto'):
c.readAtAutoNodes()
elif typ =='@thin' or typ == '@file':
c.readAtFileNodes()
elif typ =='@shadow':
c.readAtShadowNodes()
else:
c.readAtFileNodes()
however when you start tracing those c.*() methods they seem to operate
on c.p (c.currentPosition()).
Cheers -Terry
> On Sun, Dec 16, 2012 at 5:40 AM, HaveF <[email protected]> wrote:
>
> > sometimes, I need to refresh files one by one under some parent node...
> >
> > so I just wonder, should add "refresh from disk" at parent node is a good
> > idea?
> >
> > --
> > --
> > Sincerely,
> >
> > HaveF
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "leo-editor" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected].
> > For more options, visit this group at
> > http://groups.google.com/group/leo-editor?hl=en.
> >
>
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/leo-editor?hl=en.