Jean-Marc Lasgouttes wrote:
Le 21 oct. 08 à 19:45, Helge Hafting a écrit :
Open a master document that includes a child.
click the child document to open it too.

Now the master document think it is changed - but it was
*not* changed at all. I merely looked at the child document.

I committed a fix today, I think.

Doesn't work here. I just checked out from svn, compiled and installed.
The only changed files were MathFactory.cpp and preamble.cpp.

My file contains another file, included with the "input" method
so it won't start a new page. Clicking the button to bring up
the dialog is ok. As soon as I hit the "edit" button, the master file
thinks it has changed.

Now, editing the child document may change the whole of it, so
that view->pdf and friends need to recompile and can't use
cached dvi files and such.  A cross reference to something
in the subdocument might change, perhaps. That is fine.
But the master lyx file doesn't change, no matter what I do to the
input'ed file. So it does not need saving, and LyX does not
need to ask me about saving it when I quit.

A test case consisting of two documents is attached. My lyx1.6svn
gets it wrong.

Helge Hafting

Attachment: child.lyx
Description: application/lyx

Attachment: master.lyx
Description: application/lyx

Reply via email to