Code-pair highlighting not working for frame tags

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
User avatar
garethjmsaunders
Posts: 65
Joined: Fri Dec 02, 2005 5:08 pm
Location: Anstruther, UK
Contact:

Code-pair highlighting not working for frame tags

Post by garethjmsaunders »

Hi Karlis,

I'm using WeBuilder 2010 (Version 10.0.0.114) and I've just noticed that while the excellent code-pair highlighting is working for everything else (as far as I can see) it's not working for <frameset>, <noframes> or <frame> tags.

In other words, if I click on the <html> tag it is given a green background and the corresponding closing </html> tag is also highlighted. Well this functionality doesn't appear to work for any frame-related tags.

I don't use frames very often but it would be very useful to have this functionality enabled for frame tags too.

Thanks

Gareth
davenz

Re: Code-pair highlighting not working for frame tags

Post by davenz »

I'm not a coder's armpit but I don't think this is a bug. I think this is because these tags don't usually have matching end tags, therefore there is nothing to highlight. In the Language Browser window in WeBuilder 2010, with HTML selected, several of the tags are shown in green; these are the tags that are more like statements in that they have no closing tag. tags like br, hr, meta, frame, col etc. fall into this category.

I may be wrong, but these are my thoughts on the matter.
User avatar
garethjmsaunders
Posts: 65
Joined: Fri Dec 02, 2005 5:08 pm
Location: Anstruther, UK
Contact:

Re: Code-pair highlighting not working for frame tags

Post by garethjmsaunders »

I didn't say it was a bug, I said "it would be very useful to have this functionality enabled for frame tags too". I don't think it's a bug, I think it's an omission.

Regarding closing tags, according to O'Reilly's HTML & XHTML: The Definitive Guide:

</frameset> is "never omitted".
</frame> is valid but "rarely included in HTML".
</noframes> is valid and "sometimes omitted in HTML".
</iframe> is "never omitted".

If I was writing a page in XHTML with frames then I would most certainly include the closing </frameset>, </iframe> and </noframes> tags, and would also close the <frame ... /> tag in the same way that I would a <meta ... />, <br /> or <hr /> tag by incorporating the closing tag forward-slash into the opening tag. If I was writing a page in HTML 4 then I would also include the closing tags for clarity.

So, that functionality could be included for all four frame-related tags and would be most helpful.

Gareth
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: Code-pair highlighting not working for frame tags

Post by Karlis »

As far as I know, </frameset>, </iframe> and </noframes> are correctly highlighted as closing tags unless you have a setup where your definitions are something else than HTML 4.01
Karlis Blumentals
Blumentals Software
www.blumentals.net
davenz

Re: Code-pair highlighting not working for frame tags

Post by davenz »

I stand corrected.

Dave.
Post Reply