Gladly:
Just use Leo to find all/ replace everywhere in your scripts the words
"c.frame.body"
with the words "c.frame.body.wrapper"

Then, do a new find all / replace:
"c.frame.body.wrapper.wrapper" with "c.frame.body.wrapper"

(This one will avoid duplicates in case you had clones, etc.)

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

> Could you give me a detail about how to do? Thanks!
>
> 在 2014年9月14日星期日UTC+8上午11时46分49秒,zhaohe wang写道:
>
>> 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