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 see. Breath three times and it will be all clear :-)
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.
Abdel.