Opening the Detailed Compare View

Requirement: For example, a user modified the code in a POU of the current project. You have performed the project comparison by clicking Project ‣ Compare . The project compare view shows this POU highlighted in red in the aligned in the project tree.

  1. Double-click the line of the aligned POU versions.

    ⇒ The compare view switches to the detailed compare view of the POU. The modified code lines are highlighted in gray and written in red.

  2. Click .

    ⇒ Code lines with changes (red) are extended by two lines: an line with insert (left, green) and a line with delete (right, blue).

  3. Click again.

    ⇒ The code line is marked again as modified.

  4. Move the mouse pointer to the code line marked as modified and click Accept Single.

    ⇒ The code line from the reference project is activated for acceptance into the current project.

  5. Click .

    ⇒ The project compare view opens for the entire project. It is write-protected (read-only) to prevent you from activating differences for acceptance. The link highlighted in yellow above the tree view also indicates this.

  6. Click the link: Project compare view is read only because there are uncommitted changes in another view. Click here to switch to the modified view.

    ⇒ The detailed compare view opens again. The unconfirmed changes are highlighted in yellow.

  7. Click in the tab of the view and confirm that the changes should be saved.

    ⇒ The detail project view is closed and the POU is overwritten. Now it corresponds to the POU of the reference project. The project view is active again so that you can continue working with project compare.

Note

If you do not click the link, but click instead to close the editor of the project compare view, then you will also confirm the acceptance of changes into the current project. The detail changes are accepted and then the project compare is closed completely.

See also