> > I made some changes to a file, then noticed that an
> xi:included file
> > needed changes.  I made the changes in the included file,
>
> Using XMLMind XML Editor or using an external text editor?

All changes were made using XMLMind XML Editor.  I had the two files open in 
different tabs of the same instance.

> Did you save the included document before switching to the
> master document?

Yes.

> then returned to the original file.  I wanted to see my
> changes and clicked View > Redraw.  All changes to the file were lost.
> >
>
> In the master document or in the included document?

The changes were lost in the master document.

One detail that I didn't give you before is this:  The change to the master 
document was to add a new xi:included section.  Then I opened that very same 
section in a separate tab, edited it, and then saved it.  Finally, I switched 
back to the master document and clicked View > Redraw.  Note that I had never 
saved the new xi:include in the master document.

Peter Desjardins
SupplyScape Corporation
http://www.supplyscape.com
+1 781 503 7441

> -----Original Message-----
> From: Hussein Shafie [mailto:hussein at xmlmind.com]
> Sent: Friday, May 30, 2008 4:30 AM
> To: Peter Desjardins
> Cc: xmleditor-support at xmlmind.com
> Subject: Re: Redraw command actually reverts to saved version?
>
> Peter Desjardins wrote:
> > I have a minor labeling suggestion.  I'm using XMLMind XML
> Editor Professional Edition 3.7.1 on Windows.
> >
> > I made some changes to a file, then noticed that an
> xi:included file
> > needed changes.  I made the changes in the included file,
>
> Using XMLMind XML Editor or using an external text editor?
>
> Did you save the included document before switching to the
> master document?
>
> then returned to the original file.  I wanted to see my
> changes and clicked View > Redraw.  All changes to the file were lost.
> >
>
> In the master document or in the included document?
>
> > I can see that this is not an easy problem to solve.
> However, if you are reverting to the saved version, I'd
> suggest labeling the command "revert to saved" or something similar.
> >
> > Here's what the documentation contains.
> >
> > *****************************************
> > Redraw
> >
> > Rebuilds the view of the whole document, no matter which
> text or nodes are selected.
> >
> > Note
> > Like command Edit Referencing Document, this command has
> also the side-effect of automatically refreshing the
> referencing document after modifications made to the
> referenced documents. For example, if document book.xml
> references chap1.xml and if chap1.xml has been modified, this
> command will refresh what has been included from chap1.xml
> before rebuilding the view of book.xml.
> > *****************************************
> >
> > Maybe I'm mistaken.
>
> No, View > Redraw should work as you expect it to work. It is
> correctly ``labeled'' and the documentation is correct.
>
> What you describe looks like a bug. The problem is that we
> cannot reproduce it. Whatever the circumstances: View >
> Redraw seems to always work fine in respect of refreshing
> inclusions. Please give us more details about what you did.
>

Reply via email to