Vanilla 1.1.1 is a product of Lussumo. More Information: Documentation, Community Support.
The following:
<script type="text/javascript"><!--
//--></script>
causes the highlighting on everything that comes after the </script> tag to be messed up.
I realize that this is probably not an Intype issue but an issue with the xhtml bundle.
But if anyone has come across this already and has a fix I’d appreciate it if you could let me know.
I would download idyllrains xhtml/html bundle.
Err, I haven’t worked on the grammar yet. Anyway, here’s the fix (its been merged into the bundle and repository, so you can just download that instead of manually adding in the lines… :P ):
Replace lines 70- 73 in xhtml.itGrammar with the following:
patterns: [
{
match : /\/\/.*?((?=<\/script)|$\n?)/
name : 'comment.line.double-slash.js'
}
{
begin : /\/\*/
end : /\*\/|(?=<\/script)/
name : 'comment.block.js'
}
{
include : 'source.js'
}
]
Thanks dudes. Exactly what I was looking for.
1 to 4 of 4