Yep, I select a line on:

g.es('this is')
g.es('a test')

And it will print both. Im using "execute-script" minibuffer command, but 
could it be another command instead the neccesary one to make it work? IE 
c.executescript() or something?

On Wednesday, June 12, 2013 9:08:12 AM UTC+2, Matt Wilkie wrote:
>
> Hi, 
>
> the docstring for c.executeScript says "This executes body text as a 
> Python script. We execute the selected text, or the entire body text 
> if no text is selected." 
>
> http://leo-editor.readthedocs.org/en/latest/_modules/leo/core/leoCommands.html#Commands.executeScript
>  
>
> Running only the selected text doesn't work for me, then entire node 
> is always run. Does it work for anyone else? 
>
> Leo 4.11 devel, build 5807, 2013-06-11 23:53:47 
> Python 2.7.4, qt version 4.8.4 
> Windows 6, 1, 7601, 2, Service Pack 1 
>
> -matt 
>

-- 
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?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to