On Thu, 29 Jul 2010 09:36:07 -0500
"Edward K. Ream" <[email protected]> wrote:

> >> It's not something that's happening on read, but when I'm creating code I 
> >> seem to be seeing more cases where a node I just created generates a 
> >> syntax error on write because it doesn't contain a trailing newline (or 
> >> more proximally because the file the writing process writes doesn't 
> >> contain a newline between the content of the node and the next node, so 
> >> `returndef next(self):`.  
> >
> > Thanks for this clarification.  Let me think about this...  
> 
> What kind of nodes are you using?

@auto, maybe also @edit, not sure about them, but certainly it happens with 
@auto.

I'm not really positive it hasn't been happening for a long time, but I don't 
remember it happening before.  It does seem like a bug, the user shouldn't need 
to enter an empty line at the end of a node to ensure a valid .py file is saved.

Cheers -Terry

-- 
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.

Reply via email to