RESOLVED: hiliting color values: comment and question

Ask how to do things or if a certain feature is available in the program.
Post Reply
User avatar
DerellLicht1
Posts: 203
Joined: 23 Jul 2021 17:38
Location: Fremont, CA, USA

RESOLVED: hiliting color values: comment and question

Post by DerellLicht1 »

I recently was editing a Thunderbird css file, and discovered that RJTE actually hilites the color codes in their color!!
That was amazing, and *really* handy when I was experimenting with codes; much easier than pulling up a color dialog every time...

However, in my html code, it does *not* hilite these these codes, even if they are in css declarations;
It would be really cool to have this in html as well...

examples:

Code: Select all

        <td bgcolor="#1e4380">  

Code: Select all

.DarkHeader {
   font-family: Georgia, "Times New Roman", Times, serif;
   background-color: #F5DEB3;
   color: #2060A0;
   font-size: 105%; 
}
Last edited by DerellLicht1 on 12 Apr 2026 16:09, edited 1 time in total.
User avatar
DerellLicht1
Posts: 203
Joined: 23 Jul 2021 17:38
Location: Fremont, CA, USA

Re: hiliting color values: comment and question

Post by DerellLicht1 »

so... nobody has any insights into this at all??

*should* I expect html files to handle color codes the same as css files do?? seems logical to me...

???
User avatar
Rickard Johansson
Site Admin
Posts: 6900
Joined: 19 Jul 2006 14:29

Re: hiliting color values: comment and question

Post by Rickard Johansson »

2026-04-01_142129.png
2026-04-01_142129.png (14.85 KiB) Viewed 3992 times

It should work if you use style tags or a style attribute.
User avatar
pjj
Posts: 2268
Joined: 13 Oct 2009 13:48
Location: Kraków, Poland

Re: hiliting color values: comment and question

Post by pjj »

Sadly, it doesn't work for me, either.

I have monkeyed with Environment > Themes > Customize > HTML > Hint color 1 and for once I got color highlighting, but when I switched it off and on to confirm it worked, it didn't :?

Yes, I understand it probably doesn't have anything to do with highlighting color values...
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus
User avatar
DerellLicht1
Posts: 203
Joined: 23 Jul 2021 17:38
Location: Fremont, CA, USA

Re: hiliting color values: comment and question

Post by DerellLicht1 »

Rickard Johansson wrote: 01 Apr 2026 13:23 2026-04-01_142129.png


It should work if you use style tags or a style attribute.
Well, here is what I have, on my snippets page:
But *none* of the color fields show up in those colors, even though .css files work fine...
Attachments
rjte.html.color.issue.jpg
rjte.html.color.issue.jpg (120.15 KiB) Viewed 3477 times
User avatar
Rickard Johansson
Site Admin
Posts: 6900
Joined: 19 Jul 2006 14:29

Re: hiliting color values: comment and question

Post by Rickard Johansson »

Please check the options in "View / Highlight color values / File types". Make sure "HTML" is set.
User avatar
DerellLicht1
Posts: 203
Joined: 23 Jul 2021 17:38
Location: Fremont, CA, USA

Re: hiliting color values: comment and question

Post by DerellLicht1 »

Rickard Johansson wrote: 12 Apr 2026 12:41 Please check the options in "View / Highlight color values / File types". Make sure "HTML" is set.
Hah!! I was looking in Options dialog; I didn't even *think* to look at other menus entirely!!
Okay, problem solved now... (although, I'll admit that this solution really seems like something that *should* be in Options dialog...)
User avatar
Rickard Johansson
Site Admin
Posts: 6900
Joined: 19 Jul 2006 14:29

Re: RESOLVED: hiliting color values: comment and question

Post by Rickard Johansson »

(although, I'll admit that this solution really seems like something that *should* be in Options dialog...)
Actually, I though so too when I tried to find the option myself :oops:
I'll add it to the option dialog in the next version...
User avatar
DerellLicht1
Posts: 203
Joined: 23 Jul 2021 17:38
Location: Fremont, CA, USA

Re: RESOLVED: hiliting color values: comment and question

Post by DerellLicht1 »

Rickard Johansson wrote: 12 Apr 2026 17:04
(although, I'll admit that this solution really seems like something that *should* be in Options dialog...)
Actually, I though so too when I tried to find the option myself :oops:
I'll add it to the option dialog in the next version...
Excellent!! Thank ye !!
Post Reply