Comparing source code in files


    The Find Differences dialog box lets you compare the source code of two files in a site. GoLive displays differences and lets you set options to control the display.

To compare two files:

  1. Open a site.
  2. Choose Site > Find Differences.
  3. In the Find Differences dialog box, drag the pick whip pick whip to the two files you want to compare, or browse for and select the two files you want to compare.
  4. Click OK.
  5. GoLive displays the source code of each file in the Find Differences window, and highlights the differences.

  6. Click Previous Difference or Next Difference to navigate through different code strings.
  7. Customize the view by selecting any of the following Compare Options:
    • Skip Empty Lines to skip empty lines in the code.
    • Show Different Colors to use a different color for each code display.
    • Hide Identical Lines to hide lines of code that are identical.
    • Synchronize Scrolling to scroll both code displays simultaneously.