Author terry.reedy
Recipients csabella, terry.reedy
Date 2017-09-30.17:40:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1506793250.67.0.213398074469.issue31460@psf.upfronthosting.co.za>
In-reply-to
Content
Menu item 'Module Browser' invokes '<<open-class-browser>>', which calls Editor_Window.open_module_browser.  If the window is an actual editor, its path is used; otherwise open_module is called.  In either case, ModuleBrowser is called with flist and path pieces.

PathBrowser subclasses ModuleBrowser.  Menu item 'Path Browser' invokes '<<open-path-browser>>', which calls Editor_Window.open_path_browser, which calles PathBrowser.  PathBrowser.__init__'s only parameter is flist and it does not call ModuleBrowser.__init__.  So the APIs are independent and can be modified or not separately.  

For ModuleBrowser, changing flist to master and changing (name, path) to to filepath can be done independently.
History
Date User Action Args
2017-09-30 17:40:50terry.reedysetrecipients: + terry.reedy, csabella
2017-09-30 17:40:50terry.reedysetmessageid: <1506793250.67.0.213398074469.issue31460@psf.upfronthosting.co.za>
2017-09-30 17:40:50terry.reedylinkissue31460 messages
2017-09-30 17:40:50terry.reedycreate