On Tue, Jan 29, 2019 at 10:05 AM Rob <[email protected]> wrote: > The weirdness is that if I place the @language directive as the first line of > the node and run the script, the clipboard is empty. I tried this with > several different @languages (tried tex, html, plain and c) and all fail > except @language python, which then works as expected. If I move the > @language directive to a parent node, the script works.
g.getScript calls g.extractExecutableString(c, p, s), without any 'language' kwarg, which explains the special case for @language python. This is a bug. Knowing its source you could work around it... Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
