Hi,
I'm using 11.20b to edit HTML files that contain VBScript.
The Help file states that JavaScript is detected as a sublanguage for highlighting. Should this also be true for VbScript as well?
If so, is there a specific <SCRIPT language> construct needed in the HTML for UltraEdit to recognise the code as VBScript and not as JavaScript or should it be using the VBSCRIPT_LANG keyword area?
(I've modded the ASP_LANG keyword to VBSCRIPT_LANG and this has no effect. I've tried moving the VBS file extension from the VB section and adding to the HTML file extension, no effect. I've tried adding the VBS file extension to the ASP_LANG keyword section, no effect.)
Also, if I edit a .VBS file and have VBS added to the ASP_LANG file extensions the code is highlighted correctly but only if the case is an extact match of the words. That is, 'If' is highlighted in green, but 'IF' or 'if' isn't highlighted at all. The Nocase keyword present in the ASP_LANG section is being ignored. (If I remove VBS from the file extensions then no highlighting occurs so it is using the section).
I'm using 11.20b to edit HTML files that contain VBScript.
The Help file states that JavaScript is detected as a sublanguage for highlighting. Should this also be true for VbScript as well?
If so, is there a specific <SCRIPT language> construct needed in the HTML for UltraEdit to recognise the code as VBScript and not as JavaScript or should it be using the VBSCRIPT_LANG keyword area?
(I've modded the ASP_LANG keyword to VBSCRIPT_LANG and this has no effect. I've tried moving the VBS file extension from the VB section and adding to the HTML file extension, no effect. I've tried adding the VBS file extension to the ASP_LANG keyword section, no effect.)
Also, if I edit a .VBS file and have VBS added to the ASP_LANG file extensions the code is highlighted correctly but only if the case is an extact match of the words. That is, 'If' is highlighted in green, but 'IF' or 'if' isn't highlighted at all. The Nocase keyword present in the ASP_LANG section is being ignored. (If I remove VBS from the file extensions then no highlighting occurs so it is using the section).