[issue17535] IDLE: Add an option to show line numbers along the left side of the editor window, and have it enabled by default.

Saimadhav Heblikar report at bugs.python.org
Fri Aug 1 16:11:49 CEST 2014


Saimadhav Heblikar added the comment:

Attached is Text widget based implementation to add linenumbering to IDLE.

NS: The purpose of comment block in update_sidebar_text_font
The reason why it is there is to allow tk to "catch up" with changes(esp on large files) after a font change. While it *IS* not required for me, it *WAS* in the past. I don't know what has changed, but as it stands it is not required, IDK if it has been caused by a hardware change on my end.
Anyways, while reviewing, please open a large file, and change the font size from minimum to maximum to minimum many times. Post here if the Linenumbering goes out of sync with and without uncommenting the comment block.

----------
Added file: http://bugs.python.org/file36194/linenumber-text-widget-v1.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17535>
_______________________________________


More information about the Python-bugs-list mailing list