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 <rep...@bugs.python.org>
<http://bugs.python.org/issue17535>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to