Chapter 25: Editing Source Code; Source Code Editors And Preferences - Adobe GOLIVE CS2 User Manual

Hide thumbs Also See for GOLIVE CS2:
Table of Contents

Advertisement

Chapter 25: Editing source code

Source code editors and preferences

GoLive source code editors
When you work in the Layout Editor, GoLive writes all of the source code for you. If you want to work directly with
HTML or JavaScript source code, you can use several different source code editors. Changes you make in the
document window are immediately reflected in all source code editors, and vice versa.
Lets you edit your document's HTML source code in text format, perform a syntax check, and
Source Code Editor
visually distinguish elements, attributes and content by color. You can type or paste text from another document or
application, and make and save changes.
Source code panel and Source Code palette
or the Outline Editor without switching tabs in the document window. The source code editing features function just
like the Source Code Editor features.
Lets you insert HTML code or make changes to existing code while working in the Layout Editor.
Visual Tag Editor
Lets you insert common HTML or JavaScript attributes while working in the Layout Editor, Frame
Markup palette
Editor, or the Outline Editor (for more information, see "To use the Markup palette" on page 580).
Presents the HTML code of your documents in a hierarchical, organized way, and provides a menu
Outline Editor
of attributes for every element in the document.
JavaScript Editor
Lets you build scripts in the application, embed them in your document, and test them immedi­
ately by launching the targeted browser.
GoLive includes several scripting samples in the New dialog box (File > New). You can choose from a variety of
script-based pages and scripting samples, including ASP, JSP, or PHP pages and QuickTime, CGI, Java, and Perl
scripts.
See also
"Snippets" on page 429
"Components" on page 427
Source preferences
Source preferences control how the Source Code and JavaScript Editors work, and how source code appears in the
Source Code and JavaScript Editors.
Turn on and off word wrapping, support for dragging marked text, and control how source
Source preferences
code appears in the Source Code and JavaScript Editors. A preview panel in the Preferences dialog box shows you
how the source code appears as a result of the options you select.
Let you select, customize, and rename source code themes, as well as set color, font face, and
Themes preferences
font size options for elements in different languages (for example, PHP, JavaScript, and HTML). Key sets enable you
Let you edit source code while in the Layout Editor, the Frame Editor,
578

Advertisement

Table of Contents
loading

Table of Contents