TIP 88: Adding Missing End Tags with the Outline Editor
When you run the Syntax Checker (see Tip 84) to validate your source code, you might get an
Figure 88a. The Syntax Checker warns you of missing end tags.
If you need to fix a missing end tag error, switch to the Outline Editor instead of wading through lines of lines of source code trying to locate the problem. You can easily toggle an element in the Outline Editor from unary (no closing tag) to binary (closing tag) by Control-clicking (Mac) or right-clicking (Windows) on the element and choosing Binary from the contextual menu ( Figure 88b ). Figure 88b. Add the closing tag by choosing Binary from the contextual menu.
You can also toggle from unary to binary with the Toggle Binary icon
|
TIP 89: Viewing Images in the Outline EditorThe Outline Editor is a great way to navigate and edit your Source Code, but it can also be really helpful to see your images in this editing mode. If you're trying to select and edit a certain image or a specific button in a navigation bar, an accurate preview of the image in the Outline Editor helps you make sure you've selected the right file.
By default, images are disabled in the Outline Editor to keep things simple, but you can
Figure 89a. Use the View palette to enable images in the Outline Editor.
|
TIP 90: Expanding and Collapsing the Outline EditorThe Outline Editor is really one of our favorite features in GoLive, but if you use it a lot you'll find it can require a lot of mousing around the screen. You can navigate most of the features with the keyboard, and here are a few of the most helpful shortcuts:
You can also navigate from one element to another using the keyboard. Use the arrow keys to navigate up and down the outline tree and press Tab to jump to the
|