This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ned.deily
Recipients JayKrish, Saimadhav.Heblikar, Todd.Rovito, jesstess, ned.deily, rhettinger, roger.serwy, serhiy.storchaka, taleinat, terry.reedy
Date 2014-08-16.19:52:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1408218721.37.0.752112144646.issue17535@psf.upfronthosting.co.za>
In-reply-to
Content
>> 1. With Tk 8.4, the extension gets a bit further but still fails:
>I fixed this now. Please let me know how it works now. 

Yep, 8.4 now seems to work just fine.

>> 2. I just noticed that the (now) "Line Number" menu item has no visual indication of its state nor does it preserve its state over IDLE sessions.  The Code Context extension for edit windows does both: the menu item has a checkmark when enabled and that state is restored when IDLE is restarted.
>Done.

Thanks, that's much better.  One small problem: the "Line Number" menu option appears to be a global one, affecting all new windows.  But, if the option is toggled when more than one window is open (edit and/or shell), only the window which has the focus changes (adds or deletes the numbering sidebar); the other windows do not change although their "Line Number" menu option does (i.e. the check mark correctly appears or disappears).  So now the other windows are "out-of-sync" WRT line number status and could lead the user to think that the "Line Number" option is supposed to be local to each window.  Then when restarting IDLE, all windows are created with the last global value of "Line Number".  If the option is supposed to be global, then, when toggling the menu option, all open windows should ideally be updated immediately or at least updated the next time each becomes active.
History
Date User Action Args
2014-08-16 19:52:01ned.deilysetrecipients: + ned.deily, rhettinger, terry.reedy, taleinat, roger.serwy, jesstess, Todd.Rovito, serhiy.storchaka, JayKrish, Saimadhav.Heblikar
2014-08-16 19:52:01ned.deilysetmessageid: <1408218721.37.0.752112144646.issue17535@psf.upfronthosting.co.za>
2014-08-16 19:52:01ned.deilylinkissue17535 messages
2014-08-16 19:52:01ned.deilycreate