[issue17535] IDLE: Add an option to show line numbers along the left side of the editor window, and have it enabled by default.

Terry J. Reedy report at bugs.python.org
Wed Aug 6 08:11:05 CEST 2014


Terry J. Reedy added the comment:

I believe the patch works slightly better on my system with the above mentioned block uncommented. The problem being addressed is this. The editor sendx a set command to the vertical scrollbar after *any* action that affects the lines displayed. We intercept the set command to set the sidebar in addition to the scrollbar slider. Works great. But after a font change, the editor emits two badly off and bogus commands, causing line numbers and the slider to unnecessarily jiggle up and down (or down and up). It then send a third set command with the proper fractions. Attached is the file I wrote to verify visual observations.

I would like to commit this after checking a few details mentioned in previous messages. I would, however, like someone to first test the latest patch on OSX.

----------
assignee:  -> terry.reedy
nosy: +ned.deily
stage:  -> commit review
Added file: http://bugs.python.org/file36285/tkfontsize.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17535>
_______________________________________


More information about the Python-bugs-list mailing list