Hi Monte,

I wrote an extension last year that does that, but it still needs some work. You can find the code at: http://ews.illinois.edu/~serwy/python/code/LineNumbers.py

Just add the appropriate entry to config-extensions.def, as found in the beginning of the code.

The extension provides a pane with line numbers. Clicking on the pane brings up the "Goto" dialog box. Also, IDLE already has a built-in keyboard shortcut for bringing up the "Goto" box. I have it set to Alt-G.

Cheers,
Roger


Monte Milanuk wrote:
Hello all,

I was wondering if since it sounds like there is some interest in perhaps 'freshening' up IDLE and adding some features if perhaps it wouldn't be too much to ask for an option for line numbers in the editor window? I know the current line number is displayed down in the status bar, and that it is possible to 'jump' to a given line either using the Edit menu or a keyboard shortcut... but I'd really like to be able to 'see' the line numbers on the side as an option.

Thanks,

Monte

_______________________________________________
IDLE-dev mailing list
IDLE-dev@python.org
http://mail.python.org/mailman/listinfo/idle-dev


_______________________________________________
IDLE-dev mailing list
IDLE-dev@python.org
http://mail.python.org/mailman/listinfo/idle-dev

Reply via email to