Some tags missing from HTML "Code Collapse for Code"

Let us know what you would like to see in the next version of this software

Moderator: kfury77

Forum rules
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
  • Do not create new topics for already requested features. Add your comments to the existing feature request topics instead;
  • Create separate topic for each feature suggestion. Do NOT post a number of non-related feature suggestions in a single topic;
  • Give your topic a meaningful title. Do NOT create topics with meaningless titles, such as "My Suggestion" or "My Problem".
Please note that we DO READ all suggestions, even if a reply is not posted. Thanks!
Post Reply
User avatar
syrupcore
Top Contributor
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa
Contact:

Some tags missing from HTML "Code Collapse for Code"

Post by syrupcore »

I just stumbled across the "Code Collapse for Code" feature while working on some silly long HTML and it's great! Seems like it's missing some common container tags though. I noticed these:

Code: Select all

<dl>
<form>
<fieldset>
<select>
<optgroup>
Were these just overlooked or should I move this over to the Feature Requests forum?

Thanks!
Will
User avatar
chrisjlocke
Top Contributor
Posts: 995
Joined: Mon Aug 01, 2005 4:12 pm
Location: Essex, UK
Contact:

Re: bug? Some tags missing from HTML "Code Collapse for Code"

Post by chrisjlocke »

There aren't many HTML based ones it does like, is there? Isn't it mainly for PHP, etc, code?
User avatar
syrupcore
Top Contributor
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa
Contact:

Re: bug? Some tags missing from HTML "Code Collapse for Code"

Post by syrupcore »

It gets a lot of the "likely container" elements. Doesn't need to do it for <a> and <em> and the like. I'm thinking these were just missed.
Gatis
Blumentals Software Developer
Posts: 545
Joined: Sun Mar 05, 2006 12:30 am
Location: Latvia

Re: bug? Some tags missing from HTML "Code Collapse for Code"

Post by Gatis »

The ones that are enabled for HTML are the following: 'script', 'style', 'head', 'body', 'div', 'table', 'ul', 'ol'.
We decided these would suffice for the beginning, besides adding too much keywords for code collapse, might slow things down.
Kind regards,
Gatis Avots
User avatar
syrupcore
Top Contributor
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa
Contact:

Re: bug? Some tags missing from HTML "Code Collapse for Code"

Post by syrupcore »

Thanks Gatis. Totally makes sense to just pick the common ones and keep speed up. I know DLs aren't very common though I use them a lot. I'd nominate Form for sure though. That would cover selects at the same time since selects are often 100 lines of code when you get to things like country/state or whatevers. Those are pretty infrequent but forms...

Thanks,
Will
User avatar
chrisjlocke
Top Contributor
Posts: 995
Joined: Mon Aug 01, 2005 4:12 pm
Location: Essex, UK
Contact:

Re: bug? Some tags missing from HTML "Code Collapse for Code"

Post by chrisjlocke »

A user editable list may be better?
User avatar
syrupcore
Top Contributor
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa
Contact:

Re: bug? Some tags missing from HTML "Code Collapse for Code"

Post by syrupcore »

Moved to feature requests since it's not a bug.
User avatar
syrupcore
Top Contributor
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa
Contact:

Re: Some tags missing from HTML "Code Collapse for Code"

Post by syrupcore »

Just noticed this very forum makes a lot of use of the awesome DL tag. :D
User avatar
chrisjlocke
Top Contributor
Posts: 995
Joined: Mon Aug 01, 2005 4:12 pm
Location: Essex, UK
Contact:

Re: Some tags missing from HTML "Code Collapse for Code"

Post by chrisjlocke »

I can see what it does, but not why. How is DL useful?
User avatar
syrupcore
Top Contributor
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa
Contact:

Re: Some tags missing from HTML "Code Collapse for Code"

Post by syrupcore »

it's really the only tag that relates a header and it's children. makes it easier to create and maintain semantic listings.th and td represent a similar relationship but come with a bunch of extra semantic baggage and the dl/dt/dd combo is infinitely more stylable. My own semantics nerd stuff aside, that last reason is why they've grown in popularity.

The article that sold me on them a few years back: http://www.maxdesign.com.au/presentation/definition/
Post Reply