Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tag Matching 1

Status
Not open for further replies.

MrSki

Programmer
Dec 13, 2000
66
0
0
US
Does ColdFusion's Editor (Homesite) provide an easy way to match opening and closing tags? I have used a variety of editors (coursware related) before that linked related tags with brackets for easier viewing. This would sure help when debugging or heavy editing a page.



Mitch Duszynski
Web Developer
Human Kinetics
PO Box 5076, Champaign, IL 61825
Tel: 217-351-5076 x2474 | Fax: 217-351-2674
mitchd@hkusa.com |
 
Dreamweaver does.. in two ways... Applying Source Formatting indents each tag further than the last tag.. like

Code:
<opening tag a>
  <opening tag b>
    <stand-alone tag>
    <opening tag c>
      content here
      blah blah blah
    </closing tag c>
    stuff here
  </closing tag b>
  <stand-alone tag>
</closing tag a>

Also it highlights tags that are invalid, like if there's more closing </font> or </cfif> tags then there are opening tags, you have yellow invalid tags show up in design view.

And also on a correct syntax page, you'll find on the status bar all the tags that the content where the cursor is at currently resides.

So in the above example if you clicked blah blah blah.. the statusbar would look like

Code:
<opening tag a> <opening tag b> <opening tag c>

but if you clicked stuff here you'd have

Code:
<opening tag a> <opening tag b>

Clicking on any of those tags highlights them in the source and design view and all content in between.

ALFII.com
---------------------
If this post answered or helped to answer your question, please reply with such so that forum members with a similar question will know to use this advice.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top