Page 1 of 1

Syntax Highlighting - HTML - String

Posted: Tue May 22, 2018 12:00 pm
by pbaumann
I was not able to find a solution in the forum (perhaps there is a solution but due to the lack of functionality of the forum software OR my poor abilities to use them I'm posting this as a question):

I'm using one of the HTML Syntax files which are available by download. One of my big wishes is to highlight special strings in HTML:

Code: Select all

<span class="scl1">...</span>
Here I would like to have scl1 highlighted.

Additionally it would be ideal if scl2 and scl45 and sclx is highlighted.

Code: Select all

<span style="display:none">dstr8_0, dstr7_1_01</span>
Here I would like to have "dstr8_0, dstr7_1_01" highlighted, alternatively the whole <span>-TAG including content.

How to achive this?

Posted: Fri Jun 29, 2018 11:54 am
by AmigoJack
You can't. TextPad only supports syntax highlighting, not context highlighting. None of those you want is HTML, it's only content.