Page 1 of 1

sytax highlighting: change background leave fg unaffected

Posted: Fri Apr 21, 2006 12:44 pm
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"?