Saimadhav Heblikar added the comment: As a part of my GSOC 2014 proposal, i had prepared a mockup which adds linenumbering feature to a text widget.I am adding the mockup along with a image.
Working: Intercepts low level calls and detects if any of the actions modify current view.If they do , then re-render the line numbers.Uses a canvas to display,(using create_text) *Also contains code to add breakpoints.Not a part of this issue,so ignore that aspect ---------- nosy: +sahutd Added file: http://bugs.python.org/file34395/line-numbering-mockup.py _______________________________________ 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