
590
ADOBE GOLIVE CS2
User Guide
To show line numbers in source code
❖
In the Source Code Editor, source code panel, CSS Editor Source view, or the JavaScript Editor, click the Line
Numbers button
in the Source View toolbar.
You can also set options for word wrapping and line numbers in the View palette when you are working in the Source
Code Editor.
To look up and insert source code
The GoLive context-sensitive code completion feature enables you to write code without looking up hard-to-
remember elements, attributes, or functions. You can use code completion while writing HTML code, as well as other
languages such as JavaScript and PHP.
Automatically completing code in the Source Code Editor
1
Begin typing code in the Source Code Editor, source code panel, CSS Editor Source view, or JavaScript Editor.
2
Scroll through the pop-up menu that appears, and then press Enter (Windows) or Return (Mac OS) to select the
desired element, attribute, or function.
To compare two 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.
1
Open a site.
2
Choose Edit > Find > Find Differences.
3
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.
4
Click OK.
GoLive displays the source code of each file in the Find Differences window, and highlights the differences.
5
Click Previous Difference or Next Difference to navigate through different code strings.
6
Customize the view by selecting any of the following Compare Options:
Skip Empty Lines
Skips empty lines in the code.
Show Different Colors
Uses a different color for each code display.
Summary of Contents for GOLIVE CS2
Page 1: ...Chapter 1 Copyright User Guide...
Page 251: ...ADOBE GOLIVE CS2 242 User Guide...