DiffCompare and Oxygen editor

Hi, when I save an edit in Diff Files of a file open in an Oxygen editor, it is supposed to automatically refresh the document? In my particular case just now it didn’t. Caused some confusion. I closed and reopened the file manually in order to see the changes reflected. The editor asks if the user wants to reload the document if it’s changed in the file system, is it possible to automate and/or detect changes from Diff Files, especially considering the input file is selected from the list of documents currently open in Oxygen? Best, Shannon

I've run into this when using Diff Files on one or two files opened via a WebDAV URL. I guess the oXygen editor doesn't have a way to automatically see that the file has changed, as it would with a file open from the filesystem; but it does seem that oXygen Editor should (ideally) be made aware when changes are saved in the Diff Files tool. David On Sun, 15 Mar 2015, Shannon wrote:
Hi,
when I save an edit in Diff Files of a file open in an Oxygen editor, it is supposed to automatically refresh the document? In my particular case just now it didn’t. Caused some confusion. I closed and reopened the file manually in order to see the changes reflected. The editor asks if the user wants to reload the document if it’s changed in the file system, is it possible to automate and/or detect changes from Diff Files, especially considering the input file is selected from the list of documents currently open in Oxygen?
Best, Shannon _______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
-- David Sewell, Editorial and Technical Manager ROTUNDA, The University of Virginia Press PO Box 400314, Charlottesville, VA 22904-4314 USA Email: dsewell@virginia.edu Tel: +1 434 924 9973 Web: http://rotunda.upress.virginia.edu/

Yes, I am editing via WebDAV, and I bet you’re right about it being a limitation of that. Awareness is definitely ideal, since it’s much too easy to accidentally overwrite changes made in Diff by saving the outdated file in the editor.
On Mar 15, 2015, at 2:51 PM, David Sewell <dsewell@virginia.edu> wrote:
I've run into this when using Diff Files on one or two files opened via a WebDAV URL. I guess the oXygen editor doesn't have a way to automatically see that the file has changed, as it would with a file open from the filesystem; but it does seem that oXygen Editor should (ideally) be made aware when changes are saved in the Diff Files tool.
David
On Sun, 15 Mar 2015, Shannon wrote:
Hi,
when I save an edit in Diff Files of a file open in an Oxygen editor, it is supposed to automatically refresh the document? In my particular case just now it didn’t. Caused some confusion. I closed and reopened the file manually in order to see the changes reflected. The editor asks if the user wants to reload the document if it’s changed in the file system, is it possible to automate and/or detect changes from Diff Files, especially considering the input file is selected from the list of documents currently open in Oxygen?
Best, Shannon _______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
-- David Sewell, Editorial and Technical Manager ROTUNDA, The University of Virginia Press PO Box 400314, Charlottesville, VA 22904-4314 USA Email: dsewell@virginia.edu Tel: +1 434 924 9973 Web: http://rotunda.upress.virginia.edu/_________________________________________... oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user

Hello, Oxygen refreshes automatically (controlled by an option) resources from the *local file system* when a modification is detected. The same isn't true for remote resources (WebDAV), so they must be manually refreshed. So your intuition is correct, it doesn't work for WebDAV because there is no simple way to find out if a remote resource has been modified. However, we should notify the editor of the change at least when that change has been made in our own Diff Editor (started from within Oxygen). I've submitted a request for this. Meanwhile, either remember to reload the file in the main editor (File > Revert) after making changes in Diff, or just close it and reopen it later when needed. Regards, Adrian Adrian Buza oXygen XML Editor and Author Support Tel: +1-650-352-1250 ext.2020 Fax: +40-251-461482 support@oxygenxml.com http://www.oxygenxml.com On 15.03.2015 20:55, Shannon wrote:
Yes, I am editing via WebDAV, and I bet you’re right about it being a limitation of that. Awareness is definitely ideal, since it’s much too easy to accidentally overwrite changes made in Diff by saving the outdated file in the editor.
On Mar 15, 2015, at 2:51 PM, David Sewell <dsewell@virginia.edu> wrote:
I've run into this when using Diff Files on one or two files opened via a WebDAV URL. I guess the oXygen editor doesn't have a way to automatically see that the file has changed, as it would with a file open from the filesystem; but it does seem that oXygen Editor should (ideally) be made aware when changes are saved in the Diff Files tool.
David
On Sun, 15 Mar 2015, Shannon wrote:
Hi,
when I save an edit in Diff Files of a file open in an Oxygen editor, it is supposed to automatically refresh the document? In my particular case just now it didn’t. Caused some confusion. I closed and reopened the file manually in order to see the changes reflected. The editor asks if the user wants to reload the document if it’s changed in the file system, is it possible to automate and/or detect changes from Diff Files, especially considering the input file is selected from the list of documents currently open in Oxygen?
Best, Shannon _______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user -- David Sewell, Editorial and Technical Manager ROTUNDA, The University of Virginia Press PO Box 400314, Charlottesville, VA 22904-4314 USA Email: dsewell@virginia.edu Tel: +1 434 924 9973 Web: http://rotunda.upress.virginia.edu/_________________________________________... oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user

Adrian, thanks for the confirmation and for submitting the request, Shannon
On Mar 16, 2015, at 10:15 AM, Oxygen XML Editor Support (Adrian Buza) <support@oxygenxml.com> wrote:
Hello,
Oxygen refreshes automatically (controlled by an option) resources from the local file system when a modification is detected. The same isn't true for remote resources (WebDAV), so they must be manually refreshed. So your intuition is correct, it doesn't work for WebDAV because there is no simple way to find out if a remote resource has been modified.
However, we should notify the editor of the change at least when that change has been made in our own Diff Editor (started from within Oxygen). I've submitted a request for this.
Meanwhile, either remember to reload the file in the main editor (File > Revert) after making changes in Diff, or just close it and reopen it later when needed.
Regards, Adrian Adrian Buza oXygen XML Editor and Author Support
Tel: +1-650-352-1250 ext.2020 Fax: +40-251-461482 support@oxygenxml.com <mailto:support@oxygenxml.com> http://www.oxygenxml.com <http://www.oxygenxml.com/> On 15.03.2015 20:55, Shannon wrote:
Yes, I am editing via WebDAV, and I bet you’re right about it being a limitation of that. Awareness is definitely ideal, since it’s much too easy to accidentally overwrite changes made in Diff by saving the outdated file in the editor.
On Mar 15, 2015, at 2:51 PM, David Sewell <dsewell@virginia.edu> <mailto:dsewell@virginia.edu> wrote:
I've run into this when using Diff Files on one or two files opened via a WebDAV URL. I guess the oXygen editor doesn't have a way to automatically see that the file has changed, as it would with a file open from the filesystem; but it does seem that oXygen Editor should (ideally) be made aware when changes are saved in the Diff Files tool.
David
On Sun, 15 Mar 2015, Shannon wrote:
Hi,
when I save an edit in Diff Files of a file open in an Oxygen editor, it is supposed to automatically refresh the document? In my particular case just now it didn’t. Caused some confusion. I closed and reopened the file manually in order to see the changes reflected. The editor asks if the user wants to reload the document if it’s changed in the file system, is it possible to automate and/or detect changes from Diff Files, especially considering the input file is selected from the list of documents currently open in Oxygen?
Best, Shannon _______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com <mailto:oXygen-user@oxygenxml.com> http://www.oxygenxml.com/mailman/listinfo/oxygen-user <http://www.oxygenxml.com/mailman/listinfo/oxygen-user> -- David Sewell, Editorial and Technical Manager ROTUNDA, The University of Virginia Press PO Box 400314, Charlottesville, VA 22904-4314 USA Email: dsewell@virginia.edu <mailto:dsewell@virginia.edu> Tel: +1 434 924 9973 Web: http://rotunda.upress.virginia.edu/_________________________________________... <http://rotunda.upress.virginia.edu/_______________________________________________> oXygen-user mailing list oXygen-user@oxygenxml.com <mailto:oXygen-user@oxygenxml.com> http://www.oxygenxml.com/mailman/listinfo/oxygen-user <http://www.oxygenxml.com/mailman/listinfo/oxygen-user>
oXygen-user mailing list oXygen-user@oxygenxml.com <mailto:oXygen-user@oxygenxml.com> http://www.oxygenxml.com/mailman/listinfo/oxygen-user <http://www.oxygenxml.com/mailman/listinfo/oxygen-user>

Hi, If you are editing in Author mode, you can also press F5 (Reload) with the same result. For the Text mode, if you need to use Revert frequently and would like a shortcut key, you can set it in Options > Menu Shortcut Keys. Search 'revert' in the filter from the right panel and look for the 'Revert' action from the 'File' category Starting with v17.0 the two actions (Revert and Reload) will be merged for all modes as File > Reload (F5). Regards, Adrian Adrian Buza oXygen XML Editor and Author Support Tel: +1-650-352-1250 ext.2020 Fax: +40-251-461482 support@oxygenxml.com http://www.oxygenxml.com On 16.03.2015 18:03, Joe Wicentowski wrote:
Meanwhile, either remember to reload the file in the main editor (File > Revert) ... Wow, I never knew about that command! I've always closed/reopened manually to get the latest version of a file over WebDAV. Thanks for mentioning this!
Joe
participants (4)
-
David Sewell
-
Joe Wicentowski
-
Oxygen XML Editor Support (Adrian Buza)
-
Shannon