MetaEditor Help

Viewing Changes

Viewing Changes

MetaEditor provides a wide range of tools for analyzing changes made to the files with which you work through the storage.

Comparing the Working Copy and the Latest Revision

Before you submit changes made to the local copy of the file, you can view and check them. The MetaEditor compares the current state of the file with the state at the time of the last synchronization of the file with the data storage (the local file revision).

To view changes to a file, select it in the "Navigator" window, or open it in the code editor, and then select "Changes Changes" in the context menu.

Comparing the Selected Revision with the Working Copy

The MetaEditor allows you to compare any version of a file with the current working copy. You can see all the accumulated changes to the file for the selected period.

To compare a file, select it and open the storage log by executing the context menu command "Show log Show log". Next, select the revision for comparison.

File comparison

Select the required file at the bottom of the list of files that have changed in the specified revision, and click "Compare with working copy Compare with working copy".

Comparing with the Previous Revision

When searching for the causes of errors, you often need to conduct a stepwise analysis of the changes. The MetaEditor allows you to compare files of any revisions with their previous state. So you can keep track of what changes were made in each of the revisions.

For such comparison, select a file and open the storage log by executing the context menu command "Show log Show log". Next, select the revision for comparison. Select the required file at the bottom of the list of files that have changed in the specified revision, and click "Compare with previous revision Compare with previous revision".

Comparing Two Revisions

Another tool for viewing differences between files is the comparison of any two revisions of a file. So you can see the changes in the file accumulated over a period of time.

For such comparison, select a file and open the storage log by executing the context menu command "Show log Show log". Next, select the two revisions by holding down the Ctrl key and clicking on them with the left mouse button. The list of files that have changed in both revisions appears on at the bottom of the window. Select the desired file and click "Compare revisions Compare revisions".

The Window of Changes

This window opens when you run one of the commands for comparing files described above.

Changes

The left part of the window shows the earlier revision of the file, the right part shows the later version of the file. The character of changes is displayed using the background color of rows:

  • Lines changed in the later version of the file are shown in green.
  • Lines added in the later version of the file are shown in blue.
  • Lines deleted from the later version of the file are shown in red.

At the bottom of the window you can see a comparison of the selected row in the local revision and in the current working copy.

If for any reason, file comparison failed, in the right upper corner the icon Unable to compare files appears. In case of successful comparison, icon Files successfully compared is shown.

Toolbar

The following commands are available in the window toolbar:

  • Open files to diff — select any two files for comparison.
  • Update files — update files in the changes window. Run this command if you edit the file while comparing the changes.
  • Go to previous diff — go to the previous change in the file.
  • Go to next diff — go to the next change in the file.

Comparing Two Files

In addition to viewing the changes in the working copy of a file, you can compare any two files. Click Open files to diff on the toolbar.

Choosing files to compare

Use the "Browse" buttons to select two files for comparison in the fields "Base file" and "Their file". Then click "OK."