On Wed, Aug 25, 2010 at 11:01 AM, Terry Brown <[email protected]> wrote: > On Wed, 25 Aug 2010 10:38:25 -0500 > "Edward K. Ream" <[email protected]> wrote: > >> > Are there technical reasons preventing the creation of a "Declaration" >> > node to contain them? >> >> Imo, the problem is that Leo would have to do AI in order to determine >> whether non-def could should be placed in the the preceding or >> following node.
I don't think it should be in either, it should be in it's own node. Since @auto node headlines are generated according to the structure of the source code, putting it with one of the existing definition nodes is wrong. It is a declaration and belongs in a node with the headline "Declaration" > > While fully understanding your juggling :-) I think Kent and I want something > relatively simple; an option to have the load logic stick inter-def code in > its own node, no AI required. If you don't like the results, don't enable > the option. The only case where I think Leo must put inter-def stuff in a > def node is @decorators. This could be a special case, where the headline read "Decoration" instead of "Declaration", but an interim solution where it was in "Declaration" would be preferable to putting it in a definition node, which gives the impression of making it disappear. I know I'm a PITA about this, but I fear that newbies will slurp their source into @auto nodes and their first impression will be that Leo hides things from them. Not a good first impression. Thanks, Kent > > 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. > > -- 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.
