Hi, dear Leo user & developer, I know how to use @first directive, but I don't know why it design like this:
Why "@first directive_ only at the start of the body text of @file nodes."? For performance reason? I'm not sure if this is a good idea -- scan all @first directive in the @file node and put them one by one at the head of the output file? For matlab user, I put the function and subfunction in one file, and want to make the function/subfunction name as headline. But you know, the function name and the help message should be at the top of the m-file. I know I can put these at the body text of @file node(instead of subnodes) because of the @first directive restriction, even compromise this, I can't satisfy my sense of beauty in Leo ...coz I can only do this: @first function submit(part) @first %SUBMIT Submit your code and output to the ml-class servers @first % SUBMIT() will connect to the ml-class server and submit your solution @first @language matlab instead of this! @language matlab @first function submit(part) @first %SUBMIT Submit your code and output to the ml-class servers @first % SUBMIT() will connect to the ml-class server and submit your solution @first @language directive can't appeared at the top of the body text.... maybe I didn't follow Leo's logic? Did I missed something? Thanks for reading my puzzle;-) -- -- 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.
