On Tue, Oct 1, 2013 at 6:32 AM, Edward K. Ream <[email protected]> wrote:


> To execute, say, a java program from a Leo outline, create @command
> run-java-script node that does roughly the following::
>
> 1. Compose (gather) the script using::
>
>     script = g.getScript(c, p,
>         useSelectedText=False,
>         forcePythonSentinels=False,
>         useSentinels=False)
>

Setting useSentinels=True is probably a better choice.  g.getScript will
pick the appropriate comment delims, based on the @language setting in
effect.

EKR

-- 
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 http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to