Terry J. Reedy <tjre...@udel.edu> added the comment: 11. Use read-only Text instead of Label for context. Text.index(f'@{e.x},{e.y}', where e is event, converts mouse click to line number. That can be mapped to text line number for 8. above. Text also enables
12. If context box is too short for all lines, add scrollbar. 13. When horizontal scrollbars are added to editor, scroll context along with text scroll. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33610> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com