[issue30663] IDLE: Add lineno sidebar to editor window

2019-07-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Oakley's patch was intentionally very general, allowing line number heights to vary because of different fonts, font sizes, or widget inclusions. This required positioning line numbers by pixel (hence canvas) and accommodating line size changes even in the

[issue30663] IDLE: Add lineno sidebar to editor window

2019-07-09 Thread Tal Einat
Tal Einat added the comment: Thanks for helping to move this forward, Louie! My worry with this approach is that all of the line numbers are redrawn upon scrolling, which would be likely to make scrolling less smooth, especially on low-end hardware (where IDLE is relatively often used).

[issue30663] IDLE: Add lineno sidebar to editor window

2019-07-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: A closing note: Saimadhav Heblikar's initial patch on #17535 was a standalone proof-of-concept file was based on Canvas and Text subclasses. The latter consisted mostly of two tk.eval(tcl_code) calls. I rejected the idea of using tk.eval, as review and

[issue30663] IDLE: Add lineno sidebar to editor window

2019-07-08 Thread Cheryl Sabella
Change by Cheryl Sabella : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> IDLE: Add an option to show line numbers along the left side of the editor window, and have it enabled by default. ___ Python tracker

[issue30663] IDLE: Add lineno sidebar to editor window

2017-06-14 Thread Louie Lu
Changes by Louie Lu : -- pull_requests: +2233 ___ Python tracker ___ ___ Python-bugs-list

[issue30663] IDLE: Add lineno sidebar to editor window

2017-06-14 Thread Louie Lu
New submission from Louie Lu: In #7676, the desired pattern request from Terry is to create a sidebar and show the prompt in the sidebar. To complete the request, this patch add the lineno sidebar in editor window , to prove that the sidebar in IDLE is feasible. The different in pyshell, it