]> granicus.if.org Git - python/commit
bpo-33664: Scroll IDLE editor text by lines (GH-7351)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 4 Jun 2018 16:13:43 +0000 (09:13 -0700)
committerGitHub <noreply@github.com>
Mon, 4 Jun 2018 16:13:43 +0000 (09:13 -0700)
commitdb222296871765d76dedb06cace8fa393678ae56
tree4cc6dd14bb0dabe567463c77b743987bf267bb40
parentb8f2fb52007f6d0d9eacfb459a9e813678f55f7e
bpo-33664: Scroll IDLE editor text by lines (GH-7351)

Previously, the mouse wheel and scrollbar slider moved text by a fixed
number of pixels, resulting in partial lines at the top of the editor
box. The change also applies to the shell and grep output windows,
but not to read-only text views.
(cherry picked from commit d49dbd9acc6db544ca6cb2445fe17eb0c3be4bba)

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
Lib/idlelib/editor.py
Misc/NEWS.d/next/IDLE/2018-06-03-09-13-28.bpo-33664.PZzQyL.rst [new file with mode: 0644]