Custom highlighter script - how to highlight content of TD

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
Flippi
Posts: 1
Joined: Tue Feb 26, 2013 12:07 pm

Custom highlighter script - how to highlight content of TD

Post by Flippi »

Hello,

I'm aware of the existence of custom highlighter scripts, but I don't know how to use them in order to do the following:

I want to give a specific color to the content of TD-tags:

<td class="some class">This is text that I want to color</td>

Are there easy examples to show me how to do it?

Thanks in advance,

Philip
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: Custom highlighter script - how to highlight content of

Post by Aivars »

This is not a trivial task I think (I haven't written any highlighter scripts myself) but I guess you could take either one of the tags that already contain different content than other tags (i.e. <script> or <style>) or one of the special tags (i.e. ASP tag) and copy and adapt them to tables.
Blumentals Software Programmer
Post Reply