Posted 19 years ago by Paul Huckstepp - UK
Avatar
As i've been trying out the syntax editor I've noticed an issue with the HTML/ASP definition. When you have a line of HTML like:

<img src="images/<%=objrecs("image1")%>">

The component mis-interprets the " in the ASP directive and leaves the string style, therefore colouring the line incorrectly. Is there a way around this so that either the ASP directive is coloured correctly, or the string is coloured fully?

Comments (3)

Posted 19 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
You could probably make a simple pattern that looks for <% inside a string and colors through a corresponding %> with the ASP delimiter color.


Actipro Software Support

Posted 19 years ago by Paul Huckstepp - UK
Avatar
Yes, I've managed to adapt the supplied HTML highlighting XML file to sort out the <% %> problem I was having within strings.

Thanks for the help. I'm quite new to the control so I'm just getting used to its methods. I was previously using Compona SyntaxBox but the support was non-existant and yours is fantastic and fast <IMG SRC="smile.gif" border="0">

Thanks
Posted 19 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Great Paul, thanks for looking at our product. We're happy to have you as a potential customer!


Actipro Software Support

The latest build of this product (v24.1.0) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.