On Mon, 13 Aug 2007, Abdelrazak Younes wrote:

Jean-Marc Lasgouttes wrote:
 Abdelrazak Younes <[EMAIL PROTECTED]> writes:

> >  So pre-load == load the buffer but do not show it
> >  and load == actually show the file?
>  No, pre-load do the same as loadIfneeded() but do it in a centralised
>  place (in Buffer). loadIfNeeded will still be called by the inset. The
>  difference is that the child document will already be loaded, that's
>  all.

 But why do we need loadIfNeeded at all, then?

It is needed for LFUN_LOAD_CHILD_DOCUMENT I think, and it is of course needed in my new loadChildDocuments() method.

 I am completely lost.

I'm lost as well... Are the child documents pre-loaded in the background, regardless if the actions mentioned before are done or not?

Anyway, as long as the change doesn't introduce extra/new delays for loading a master document my original objction is moot.

 I guess you can see too, why this should not have been done in the MVC
 branch. They do not belong together, but should have been done
 afterwards.

I can commit that part right now indeed. But it _is_ related because I heavily modified the way Buffer are loaded from the GUI.

It's related, but I think the point is that it'd been easier to discuss/review this mechanism separately - as a separate chunk.

Cheers
/Christian

--
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr

Reply via email to