Collapsing Text
73
Collapsing Text
When editing long documents or complex applications, you can hide text and code
blocks so that you can focus on just a portion of the content. A customizable marker
displays the first few characters of the collapsed selection.
Setting options
To set any of the following collapsing text options, select
Options > Settings > Editor
> Collapsed Text
:
•
Customize the appearance of the collapsed text marker, including the font,
foreground and background colors, and set the amount of text to display inside
the marker. The number of characters actually displayed in the marker might
vary if a proportional font is used.
•
Enable a popup display of the full text when you mouse over a collapsed text
marker. You can set the maximum number of lines to display in the popup box.
•
Enable the automatic selection of text when a collapsed text section is expanded.
This lets you expand a collapsed region and then easily collapse it again.
•
Set file save and file open options for the collapsed text.
To collapse text in the current document, do one of the following:
•
Select text then click one of the collapse buttons (-) which display in the gutter.
•
Select Collapse selection from the right-click popup menu.
•
Select Collapse Tag from the right-click menu to collapse the entire contents of
the tag.
•
Select Collapse All Identical Tags from the right-click menu to collapse all tags
which are the same as the current tag, including nested tags.
•
Click on the blue plus sign <+> at the top of the Tag Inspector pane to collapse the
text based on the current Tag Inspector outline.
To work with collapsed text:
•
To expand the text, double-click a collapsed text marker.
•
To expand all collapsed text, right-click anywhere in a document and select
Expand All from the popup menu.
Tip
You can drag collapsed text just like regular text blocks.
Note
Collapsed text blocks can be nested within each other.
When you run a search operation or check spelling, collapsed text expands if a match
or misspelling is found within the collapsed section.
Summary of Contents for ColdFusion Server 5
Page 18: ...xviii About This Book...
Page 26: ...8 Chapter 1 Setting Up the Product...
Page 42: ...24 Chapter 2 Configuring Browsers and Servers...
Page 60: ...42 Chapter 3 Exploring the Workspace...
Page 100: ...82 Chapter 6 Editing Pages...
Page 126: ...108 Chapter 7 Using Web Development Languages...
Page 212: ...194 Chapter 13 Customizing the Development Environment...
Page 320: ...302 Glossary...