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: - Open a site.
- Choose Site > Find Differences.
- In the Find Differences dialog box, drag the pick whip
to the two files you want to compare, or browse for and select the two files you want to compare. - Click OK.
GoLive displays the source code of each file in the Find Differences window, and highlights the differences. - Click Previous Difference or Next Difference to navigate through different code strings.
- 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.
|