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>
3 files changed