[snip]
> File "D:\Jose\Archivos de programa\Leo\leo\core\leoFrame.py", line
> 100, in getSelectionRange
> def getSelectionRange (self): return
> self.widget.getSelectionRange()
> AttributeError: 'NoneType' object has no attribute 'getSelectionRange'
Thanks for this report. This bug has been fixed at rev 4830, with a
new unit test. It was due to a recent botch, not caught by unit
tests.
Edward
Hello Edward.
It seems that revision solved some of the issues I found (namely, the
Ctrl-C issue on the Log pane), but it didn't solved the issue that
caused the following exception:
File "D:\Jose\Archivos de programa\Leo\leo\plugins\qtGui.py", line
3241, in updateEditors
w0.setSelectionRange(i,j,ins=ins)
TypeError: setSelectionRange() got an unexpected keyword argument
'ins'
However, I've realized the solution to that issue is trivial. It just
takes to change "ins" by "insert" in the line 3241 of leo/plugins/
qtGui.py:
- w0.setSelectionRange(i,j,ins=ins)
+ w0.setSelectionRange(i,j,insert=ins)
As the keyword argument for that function is called insert, and not
ins.
After that change, typing works again well when another editor is
added.
Regards,
Morgul
> However, I've realized the solution to that issue is trivial. It just
> takes to change "ins" by "insert" in the line 3241 of leo/plugins/
> qtGui.py:
>
> - w0.setSelectionRange(i,j,ins=ins)
> + w0.setSelectionRange(i,j,insert=ins)
>
> As the keyword argument for that function is called insert, and not
> ins.
Thanks for this. I've made the change in my local copy, and will up
it as soon as I resolve issues with cycle-all-focus. That may take a
day or two more.
Edward