You must replace "body.x" with "body.wrapper.x" in all your scripts, as
discussed recently, among other posts, here:

https://groups.google.com/forum/#!topic/leo-editor/DvpF5IvTFSE


On Sun, Sep 14, 2014 at 5:46 AM, zhaohe wang <wangzha...@gmail.com> wrote:

> Leo 4.11 final, build 20140913090303, Sat Sep 13 09:03:03 CDT 2014
>
> ubuntu1404
> python2.7.6
> PyQt4
>
> *when Ctrl+Shift+f*
>
> exception executing command
> Traceback (most recent call last):
> File "/home/swot/KuaiPan/app/leo-editor/leo/core/leoCommands.py", line
> 549, in doCommand
> val = command(event)
> File "/home/swot/KuaiPan/app/leo-editor/leo/core/leoCommands.py", line
> 1328, in minibufferCallback
> retval = function(keywords)
> File "/home/swot/KuaiPan/app/leo-editor/leo/plugins/quicksearch.py", line
> 151, in find_selected
> text = c.frame.body.getSelectedText()
> AttributeError: 'LeoQtBody' object has no attribute 'getSelectedText'
>
> --
> 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 leo-editor+unsubscr...@googlegroups.com.
> To post to this group, send email to leo-editor@googlegroups.com.
> Visit this group at http://groups.google.com/group/leo-editor.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to