Message303417
| Author |
terry.reedy |
| Recipients |
cheryl.sabella, 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:50 | terry.reedy | set | recipients:
+ terry.reedy, cheryl.sabella |
| 2017年09月30日 17:40:50 | terry.reedy | set | messageid: <1506793250.67.0.213398074469.issue31460@psf.upfronthosting.co.za> |
| 2017年09月30日 17:40:50 | terry.reedy | link | issue31460 messages |
| 2017年09月30日 17:40:50 | terry.reedy | create |
|