Message185578
| Author |
Todd.Rovito |
| Recipients |
Rich.Rauenzahn, Todd.Rovito, dzabel, loewis, roger.serwy, terry.reedy |
| Date |
2013年03月30日.17:31:26 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1364664687.22.0.822208702506.issue14146@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Here is a backtrace from PDB:
-> self.sync_source_line()
/Volumes/SecurePython3/cpython/py34/Lib/idlelib/Debugger.py(211)sync_source_line()
-> self.flist.gotofileline(filename, lineno)
/Volumes/SecurePython3/cpython/py34/Lib/idlelib/FileList.py(46)gotofileline()
-> edit.gotoline(lineno)
> /Volumes/SecurePython3/cpython/py34/Lib/idlelib/EditorWindow.py(694)gotoline()
-> self.center()
The offending code seems to be in EditorWindow.py:gotoline()
def gotoline(self, lineno):
if lineno is not None and lineno > 0:
self.text.mark_set("insert", "%d.0" % lineno)
self.text.tag_remove("sel", "1.0", "end")
self.text.tag_add("sel", "insert", "insert +1l")
self.center()
Next I am going to write a small program to try and reproduce the bug so I can file with the TCL/TK folks. |
|