[orca-list] traceback in eclipse



Hi all.
I found the following while debugging the script for eclipse.

vvvvv PROCESS OBJECT EVENT object:text-selection-changed vvvvv
OBJECT EVENT: object:text-selection-changed            detail=(0,0,None)
    app.name='Eclipse' name='None' role='text' state='editable enabled
focusable focused multi line sensitive showing visible' relations=''

Traceback (most recent call last):
  File
"/data/software/orca/dev/lib/python2.6/site-packages/orca/default.py",
line 5265, in speakTextSelectionState
    if self.utilities.isWordDelimiter(tmpStr[n-1]):
IndexError: string index out of range

SPEECH OUTPUT: 'unselected'
^^^^^ PROCESS OBJECT EVENT object:text-selection-changed ^^^^^

To reproduce:
Create a class in eclipse with the following content:

public class T1 {
public static void main(String[] args) {
System.out.println("test");     
}
}

Place the cursor in the word println, press shift+end and press delete.
Thanks.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]