Hello.

I'm using the latest bzr snapshot, and I get the following error when
I open a new editor (using add-editor in the minibuffer), select some
text in the newly open editor, and press the backspace key:

exception executing command
Traceback (most recent call last):
  File "D:\Jose\Archivos de programa\Leo\leo\core\leoCommands.py",
line 417, in doCommand
    val = command(event)
  File "D:\Jose\Archivos de programa\Leo\leo\core\leoEditCommands.py",
line 4397, in backwardDeleteCharacter
    self.endCommand(changed=True,setLabel=False) # Necessary to make
text changes stick.
  File "D:\Jose\Archivos de programa\Leo\leo\core\leoEditCommands.py",
line 124, in endCommand
    oldSel=b.oldSel,oldText=b.oldText,oldYview=None)
  File "D:\Jose\Archivos de programa\Leo\leo\core\leoFrame.py", line
842, in onBodyChanged
    self.updateEditors()
  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'
exception executing command
Traceback (most recent call last):
  File "D:\Jose\Archivos de programa\Leo\leo\core\leoCommands.py",
line 417, in doCommand
    val = command(event)
  File "D:\Jose\Archivos de programa\Leo\leo\core\leoFrame.py", line
1238, in copyText
    i,j = w.getSelectionRange()
  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'

And now, as I tried to copy the error message text from the Log panel,
I got this error after selecting it and pressing Ctrl-C:

exception executing command
Traceback (most recent call last):
  File "D:\Jose\Archivos de programa\Leo\leo\core\leoCommands.py",
line 417, in doCommand
    val = command(event)
  File "D:\Jose\Archivos de programa\Leo\leo\core\leoFrame.py", line
1238, in copyText
    i,j = w.getSelectionRange()
  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'

I had to copy it using the Copy option in the right mouse menu.

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