Syntax Highlighting - HTML - String

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
pbaumann
Posts: 28
Joined: Fri Jun 27, 2014 9:43 am

Syntax Highlighting - HTML - String

Post 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?
pbaumann
User avatar
AmigoJack
Posts: 515
Joined: Sun Oct 30, 2016 4:28 pm
Location: グリーン ヒル ゾーン
Contact:

Post by AmigoJack »

You can't. TextPad only supports syntax highlighting, not context highlighting. None of those you want is HTML, it's only content.
Post Reply