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 <rep...@bugs.python.org> <http://bugs.python.org/issue17535> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com