sytax highlighting: change background leave fg unaffected

General questions about using TextPad

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

Post Reply
cycloid
Posts: 6
Joined: Fri Jul 22, 2005 9:49 am

sytax highlighting: change background leave fg unaffected

Post by cycloid »

i've been trying to make my ASP+HTML syntax highlighting hightlight the asp code blocks, it's easy to make <% and%> types of brackets or comments but then i loose the color coding within them, when i'd just like to change the background, e.g.

Code: Select all

<p>some html</p>
<%

'' a vbscript comment
for i = 0 to 10
   do some vbscript.builtin.functions()
next

%>
<p>more html</p>
normally the comment and builtin.function parts would be highlighted different colors, which i would like to preserve, but to help it stand out from the html i'd like to alter the background color of everything in the <% %> block, get it?

is this possible? or does it count as a "feature request"?
Post Reply