User Guide

76 Chapter 6 Editing Pages
Navigating the structure of a document
You can inspect and navigate the structure of a document in the Tag Tree. The Tag
Tree is in the Resources window, in the top pane of the Tag Inspector tab. You can
configure the Tag Tree to display only the tags you want.
Using the Tag Tree and Tag Inspector together, you can edit the code in a document
without having to work directly in the Editor. For information about Tag Inspector,
see “Editing code in the Tag Inspector” on page 78.
To use the Tag Tree:
1 On the Tag Inspector resource tab, in the top pane, select an outline profile from
the drop-down list.
For more information, see About outline profiles” on page 76.
2 Click a tag in the tree.
In the Editor, the cursor moves to that tag in the current document.
3 In the Editor, press Shift+Ctrl and double-click the tag.
The entire tag block is selected and, if the selected tag has attributes, they appear
with their values on the Tag Inspector resource tab.
4 To update the Tag Tree with your edits in the document, in the Tag Tree toolbar,
click Refresh.
5 To display the contents of the selected tag in a single node on the Tag Tree, in the
Tag Tree toolbar, click Collapse document based on outline.
About outline profiles
Outline profiles let you restrict the Tag Tree display to specific tag sets. This is useful
when you must work with mixed language elements and language versions in your
documents. The default set of outline profiles provides many options for filtering the
Tag Tree display, but you can also customize profiles.
Outline profiles are written in the Visual Tools Markup Language (VTML), and they
fully support ColdFusion Server. They are stored in the \Extensions\Outline Profiles
folder. You can open a profile in this folder to examine its syntax, to learn how to
create or customize an outline profile.
To create or customize an outline profile:
1 In the Editor, open an outline profile in the \Extensions\Outline Profiles folder
and examine its syntax.
The VTML markup identifies the tags that are included in the outline profile.
2 If you are editing an outline profile, make a backup copy of the VTML (.vtm) file
and then edit the original VTML file.
3 If you are creating a new outline profile, save the file with a new name and then
edit the new file.