H tag coloring in text editor coloring
Moderator: kfury77
Forum rules
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
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".
H tag coloring in text editor coloring
In rendered HTML pages (Preview mode) it is quite easy to find back a certain piece of text if one has used h1 through h6 tags. In source code (Code Editor mode) it is much more difficult, even with those tags. Wouldn't it be nice if we could give the different h tags a different source code color?
Re: H tag coloring in text editor coloring
Hi Frank. Found a good work around on this one already?
When in doubt, use Brute Force 

Re: H tag coloring in text editor coloring
A sort of. What I do now is enclose the h tags with HTML comment tags, which you can give a distinct (background) color. Like this:
<!-- --><h6>Olympic medals, sorted by country</h6><!-- -->
But I'd still like to be able to give the h tags themselves a (background) color.
<!-- --><h6>Olympic medals, sorted by country</h6><!-- -->
But I'd still like to be able to give the h tags themselves a (background) color.
Re: H tag coloring in text editor coloring
I checked and I didn't find a way to do this easily. There is a kind of workaround but I haven't tested it. The workaround is to make Webuilder "forget" about H1 tag. If you want to try it, open \Program Files\WeBuilder 2011\data\parsers and comment out line containing 'h1' like this:
That will make all h1 tags red (or whatever color you have set for invalid tags).
Code: Select all
//stagname 'h1' shtmltag tresword
Blumentals Software Programmer
Re: H tag coloring in text editor coloring
Hey Aivars,
Thanks for looking into it. And in itself it works, you suggestion. However, with enclosure of the h line with comment tags, it stands out more. The reason is that the comment tags are much longer than the h tags. Here's a screenshot so you can see it for yourself: http://prntscr.com/di2yt.
So, if you would be able to create a possibility to give the whole h line a different (background) color, that would be really great.
Thanks for looking into it. And in itself it works, you suggestion. However, with enclosure of the h line with comment tags, it stands out more. The reason is that the comment tags are much longer than the h tags. Here's a screenshot so you can see it for yourself: http://prntscr.com/di2yt.
So, if you would be able to create a possibility to give the whole h line a different (background) color, that would be really great.