The colour coding feature which works on asp files, highlighting strings, html & vbscript etc. is great, but at the moment it doesn't handle vbscript comment lines correctly.
This bit of code, in a .asp file, illustrates the problem:
<html>
Some html
<%
fred=test
eric="A string"
'this is a comment line which breaks the colour coding
see="it is now broken"
%>
Some more html
</html>
Any chance of a fix?
Colour coding asp script files
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
- Bob Hansen
- Posts: 1516
- Joined: Sun Mar 02, 2003 8:15 pm
- Location: Salem, NH
- Contact:
asp/vbscript syntax
The <% and %> denote where there is asp/vbscript code not comments. ASP/VBScript uses the single quote ' as a comment character. I have tried endless ways to get this to work but it seems that Textpad requires 2 characters minimum to work properly. Java's comment with two slashes // and it works fine.
I wish this could be solved, without having to resort to using two single quotes like this example.
<html>
Some html
<%
code code code code
'comment (proper)
''comment (should work but more hassle)
%>
Some more html
</html>
I wish this could be solved, without having to resort to using two single quotes like this example.
<html>
Some html
<%
code code code code
'comment (proper)
''comment (should work but more hassle)
%>
Some more html
</html>