]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-37706: IDLE - fix sidebar code bug and drag tests (GH-15103)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 4 Aug 2019 16:47:11 +0000 (09:47 -0700)
committerGitHub <noreply@github.com>
Sun, 4 Aug 2019 16:47:11 +0000 (09:47 -0700)
commit9e0c48a002c144d910a46a74b76b02179502b9aa
tree40e030fd0fedfac7850310f81a88b77333b1a08e
parent8cd630578451a062dcf46fbb21274520ae36c399
bpo-37706: IDLE - fix sidebar code bug and drag tests (GH-15103)

Convert mouse y to line number in the sidebar rather than the text.
(cherry picked from commit 86f1a18abfee5939452f468d80de998918e2afd2)

Co-authored-by: Tal Einat <taleinat+github@gmail.com>
Lib/idlelib/idle_test/htest.py
Lib/idlelib/idle_test/test_sidebar.py
Lib/idlelib/sidebar.py