just checked the code of *idle_check_commander* and it does not care, i guess this will trip the efc checks... -but its a simple problem to solve: I'll just add/set a 'closed' flag myself to commanders upon opening them. this will be simple, easy to implement, and enough to prevent tripping the derived files changed popup for 'closed' leo files.
so its all good :) Félix On Monday, June 22, 2020 at 9:26:02 PM UTC-4, Félix wrote: > > > Note 1: Closing a commander will *not* update g.app.windowList. Indeed, >> the bridge has no closeLeoFile method. That may not actually be a problem. >> I don't see any reason ever to close a .leo file in the bridge. > > > (Not tested yet: ) Would that perhaps 'trip' the derived file detection > for closed files that would still be listed by commanders() when the efc > does his cycles... or maybe efc checks a 'closed' flag that is set on a > commander that were .close() considered 'closed'? Just thinking out loud > here... > > On Monday, June 22, 2020 at 6:56:04 PM UTC-4, Félix wrote: >> >> Tested: it works ! >> >> THANKS! I don't need all that stuff at around line 430 of the server >> anymore: >> >> self.g.app.commanders = self._commanders >> >> def _commanders(self): >> ''' Return list of currently active controllers ''' >> # TODO : REVISE/REPLACE WITH OWN SYSTEM >> # return [f.c for f in g.app.windowList] >> return [self.commander] >> >> Everything makes sense now! I knew there was something not right between >> the way I though things were suppose to work, how they really were supposed >> to work, and the way they actually work. >> >> Those three things are now one. >> >> ...So I guess I'm going back to the workbench to finish some of the basic >> multi file support for real this time! :) >> >> Félix >> >> On Monday, June 22, 2020 at 6:10:06 PM UTC-4, Félix wrote: >>> >>> Holy sh*t, you're a machine!! >> >> -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/119e45fd-3859-4325-9c83-674010784cf8o%40googlegroups.com.
