On 18 nov, 19:58, "Edward K. Ream" <[email protected]> wrote:
> 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

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to