On Tue, Aug 24, 2010 at 12:52 PM, Edward K. Ream <[email protected]> wrote: > On Mon, Aug 23, 2010 at 2:40 PM, Kent Tenney <[email protected]> wrote: > >> Your fault or no, Leo should not jumble code it doesn't agree with, I >> consider >> this a serious bug. > > Leo's "perfect import" logic should guarantee that an @ignore > directive gets inserted in situations where the resulting output would > not be "substantially identical" to the input. > > What "substantially identical" means depends on the language. Python, > for example, is a "strict" language, which means that leading > whitespace is considered to be sacrosanct. > > I do agree that the import logic, especially for Python, could be > improved to put inter-def stuff with the previous node rather than the > next.
Does inter-def stuff need to be put into the previous or next node? Are there technical reasons preventing the creation of a "Declaration" node to contain them? Thanks, Kent > > Edward > > -- > 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.
