From memilanuk at gmail.com Thu May 13 21:36:26 2010 From: memilanuk at gmail.com (Monte Milanuk) Date: Thu, 13 May 2010 12:36:26 -0700 Subject: [Idle-dev] IDLE suggestion Message-ID: 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 From roger.serwy at gmail.com Thu May 13 22:02:57 2010 From: roger.serwy at gmail.com (Roger Serwy) Date: Thu, 13 May 2010 15:02:57 -0500 Subject: [Idle-dev] IDLE suggestion In-Reply-To: References: Message-ID: <4BEC5AF1.3000603@gmail.com> 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 at python.org > http://mail.python.org/mailman/listinfo/idle-dev > From memilanuk at gmail.com Fri May 14 07:00:54 2010 From: memilanuk at gmail.com (Monte Milanuk) Date: Thu, 13 May 2010 22:00:54 -0700 Subject: [Idle-dev] IDLE suggestion In-Reply-To: <4BEC5AF1.3000603@gmail.com> References: <4BEC5AF1.3000603@gmail.com> Message-ID: Hello Roger, I'm having a bit of trouble finding where exactly the config-extensions.def file you refer to is hiding at ;) I'm running Python 2.6.5 on Mac OS 10.6.3, FWIW. I did a file system search for 'config-extensions.def' and got two results - one in a folder for 'vidle' that I downloaded to check out, and one several layers down below the folder for sage (in the idlelib folder, specifically). Nothing in the main Python 2.6 installation that showed up. Am I looking in the wrong place? Thanks, Monte From Bruce_Sherwood at ncsu.edu Sat May 15 03:25:49 2010 From: Bruce_Sherwood at ncsu.edu (Bruce Sherwood) Date: Fri, 14 May 2010 21:25:49 -0400 Subject: [Idle-dev] IDLE suggestion In-Reply-To: <22322_1273813277_o4E51G3F026886_hsile8$3ua$1@dough.gmane.org> References: <4BEC5AF1.3000603@gmail.com> <22322_1273813277_o4E51G3F026886_hsile8$3ua$1@dough.gmane.org> Message-ID: <4BEDF81D.9030204@ncsu.edu> I believe you'll find that in your user area there is a folder .idlerc that contains preferences that apply just to you, and which override the defaults in the config-extensions.def file. Bruce Sherwood Monte Milanuk wrote: > Hello Roger, > > I'm having a bit of trouble finding where exactly the > config-extensions.def file you refer to is hiding at ;) > > I'm running Python 2.6.5 on Mac OS 10.6.3, FWIW. > > I did a file system search for 'config-extensions.def' and got two > results - one in a folder for 'vidle' that I downloaded to check out, > and one several layers down below the folder for sage (in the idlelib > folder, specifically). Nothing in the main Python 2.6 installation > that showed up. > > Am I looking in the wrong place? > > Thanks, > > Monte > > _______________________________________________ > IDLE-dev mailing list > IDLE-dev at python.org > http://mail.python.org/mailman/listinfo/idle-dev