The status bar displays Javascript when I open a .asp file, but I then loose all the HTML syntax coloring.
ASP files should be highlighted just like PHP files except that the server-side language could be either VBScript or JScript. The default language for ASP in IIS is VBScript but you can override this by having the following as the first line in you ASP page:
<%@ LANGUAGE=JavaScript %>
Also, I noticed that CSS is not being highlighted in either ASP or PHP when define between the <STYLE/> tags.
JB
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
So, when you open an asp file, what does the first pane in status bar say? It should id as "JavaScript file". If it doesn't, then your config is not being read - check whether you are using default styler or some theme, and whether there is some confusion between settings in %APPDATA% and some in local folder.
CChris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The JScript server-side code on my ASP pages does not contain any syntax highlighting.
Is there anyway of fixing this??
If this could be fixed Notepad ++ could become my perferred editor.
Thanks
The status bar displays Javascript when I open a .asp file, but I then loose all the HTML syntax coloring.
ASP files should be highlighted just like PHP files except that the server-side language could be either VBScript or JScript. The default language for ASP in IIS is VBScript but you can override this by having the following as the first line in you ASP page:
<%@ LANGUAGE=JavaScript %>
Also, I noticed that CSS is not being highlighted in either ASP or PHP when define between the <STYLE/> tags.
JB
Define the extension of your file (is that .asp?) as user extension for Javascript (Settings -> Styler Configurator, cloick on Javascript).
CChris
I added the asp extension for JavaScript and it made no difference.
AFAIK, ASP and javascript are parsed by the exact same parser.
So, when you open an asp file, what does the first pane in status bar say? It should id as "JavaScript file". If it doesn't, then your config is not being read - check whether you are using default styler or some theme, and whether there is some confusion between settings in %APPDATA% and some in local folder.
CChris
please tell me, is it a regression or not?
Don