Hi
This is the text block that I’m using for to illustrate the poing:
<html>
<head>
<script>
var test = "blah";
</script>
</head>
<body>
</body>
</html>
Set the color scheme to Monokai.
You should see something like this: skitch.com/indiver/rur6e/incorr … ript-block
Or have a look at the attachment.
You’ll notice that the closing tag is not color coded correctly.
I’ve tried other color schemes as well, but the same issue. For any inline Javascript block, the closing script tag is not color coded correctly.
I discovered this issue in the ColdFusion color coding where a block would show the correct color. After looking at the language definition I found that it uses the inline Javascript (in HTML) code to render.
Can anything be done about it? It is not a biggie, but would be really nice to have a workaround or fix.
Thanks
Indy