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 markroseman
Recipients kbk, markroseman, roger.serwy, terry.reedy
Date 2015-09-08.16:02:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1441728176.58.0.878424385181.issue25031@psf.upfronthosting.co.za>
In-reply-to
Content
This first patch is a straight refactoring so that other modules do not touch the FileList internals. 

This is done in two steps. First, we remove references to inversedict etc. from outside FileList.

Second, we run all notifications through FileList. So for example when the config dialog wants to notify all editors of changes, it previously walked through the list of windows and called various editor methods directly. Now, the config dialog asks FileList to notify all editors. Each editor implements the callback to make the needed changes. 

Same code, just moved to a more appropriate place. The config dialog no longer needs any knowledge of FileList or of EditorWindow. Later more of these sorts of callbacks will be added. Doing it this way provides a framework where different components might respond differently to these notifications.
History
Date User Action Args
2015-09-08 16:02:57markrosemansetrecipients: + markroseman, terry.reedy, kbk, roger.serwy
2015-09-08 16:02:56markrosemansetmessageid: <1441728176.58.0.878424385181.issue25031@psf.upfronthosting.co.za>
2015-09-08 16:02:56markrosemanlinkissue25031 messages
2015-09-08 16:02:56markrosemancreate