Message393851
Thank you for the report. Which 3.9.? hyperparser has not changed in a year, but some of the calltip logic has.
This occurred when you typed a '(' and IDLE tried to open a calltip but failed, and you did not notice its absence. Easy when not looking for it to help complete the call, especially when others are around. Do you have any idea if more likely to have been in editor or shell, or did you use a mix of both?
The preceding lines are
indexinrawtext = (len(self.rawtext) -
len(self.text.get(index, self.stopatindex)))
if indexinrawtext < 0:
The resolution of this issue might be augment the error message to print the window type, the index as line.col as well as 'insert', the two lengths, and at least part of the text.
We should perhaps look at other callback error messages that IDLE raises. |
|
Date |
User |
Action |
Args |
2021-05-18 02:33:12 | terry.reedy | set | recipients:
+ terry.reedy, rhettinger, taleinat |
2021-05-18 02:33:12 | terry.reedy | set | messageid: <1621305192.23.0.619559123133.issue44163@roundup.psfhosted.org> |
2021-05-18 02:33:12 | terry.reedy | link | issue44163 messages |
2021-05-18 02:33:11 | terry.reedy | create | |
|