On Thu, 24 Sep 2009 20:16:35 +1000, Ross wrote:
Hi,
I'm having to do a pile of work on some old ASP websites, always VBScript, and it's getting quite annoying that the default scripting language is JavaScript (I've *never* seen an ASP website written in JavaScript!). So, here's a patch for setting the default scripting language to VBScript (or Python). This excerpt from the patched filetypes.xml says it all:
# default scripting language for ASP set to VBScript # 0x000001 = JavaScript (or leave blank for default) # 0x000002 = VBScript # 0x000003 = Python html_asp_default_language=0x000002
While I was in there, I added a couple of VBScript keywords too.
Thanks. Both parts committed.
Regards, Enrico