]> 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:43:56 +0000 (09:43 -0700)
committerGitHub <noreply@github.com>
Sun, 4 Aug 2019 16:43:56 +0000 (09:43 -0700)
commit1d2b4dba6ccbeb90ef797034b775c0f1ed17d1a0
tree5e117b4f3e6038aa469a5c9252fdfca3d3c88784
parentdd5f8abb54923bf2efea51b7a553ca1fca9cad68
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