Can anyone recommend a good ASP/HTML/Javascript syntax highlighting text? I have tried a couple of the ones listed on the webpage and gotten them to show up in the select list on the Syntax Highlighting Tab under Configuration, but none of them actually changed the view of the files, everything between the script tags was displayed as a comment, and I did close and re-open my file after saving the wordfile.txt page.
Good Syntax Highlighting file for ASP/HTML/Javascript
Good Syntax Highlighting file for ASP/HTML/Javascript
- 2
I have noticed a problem with this. It may be a bug in the program, or it may be an error in my syntax highlighting file, I don't know. But here's what I get:
In an ASP file that contains HTML sections and VBScript sections, at times all VBScript code gets colored as a comment even though it is not. It always gets messed up when I insert or delete a blank line before or after an ASP code block marker ( <% or %>) or an HTML comment marker (<!-- or -->)
For example, this is in my file and shows up correctly:
...
</td></tr>
<%
do while not ors.EOF
'read all the data
if CurrInitial =1 then
...
Now if I add a blank line above the line that starts with "do", the last line (the one that starts with "if") gets colored as a comment. Sometimes taking out the blank line sets it back, sometimes it doesn't. But closing and opening the file always fixes it.
Has anyone else seen this behavior? Is there a fix for it?
In an ASP file that contains HTML sections and VBScript sections, at times all VBScript code gets colored as a comment even though it is not. It always gets messed up when I insert or delete a blank line before or after an ASP code block marker ( <% or %>) or an HTML comment marker (<!-- or -->)
For example, this is in my file and shows up correctly:
...
</td></tr>
<%
do while not ors.EOF
'read all the data
if CurrInitial =1 then
...
Now if I add a blank line above the line that starts with "do", the last line (the one that starts with "if") gets colored as a comment. Sometimes taking out the blank line sets it back, sometimes it doesn't. But closing and opening the file always fixes it.
Has anyone else seen this behavior? Is there a fix for it?
- 2
I have seen that behavior before, I just installed the new version and haven't had much chance to use it yet so I don't know if it still exists. Regardless, I solved my problem.
The extension ASP was already being taken up by the /L3 language that came by default with the program. I just erased the "ASP" from that line and then the correct syntax highlighting from the language I added took over and it looks great.
The extension ASP was already being taken up by the /L3 language that came by default with the program. I just erased the "ASP" from that line and then the correct syntax highlighting from the language I added took over and it looks great.