On Wed, Jun 12, 2013 at 2:08 AM, Matt Wilkie <[email protected]> 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?
>

Thanks for reminding me of this problem.  The fix is on the trunk at rev
5810.  All unit tests pass, but the code is a bit tricky.  Please report
any further problems.

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 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