开发者

PSPad formatting gets lost with type="text/javascript"

Whenever I code the following inside an HTML document within PSPad (a free code editor):

<script src="test.js" type="text/javascript"></script>

the <script> tag becomes gray.

When I remove or split up the word script inside text/javascript, everything is fine. Is this a bug, or how can I still have formatting colors in a <script> tag with this type attribute?

Hopefully this image clearifi开发者_运维百科es what I mean:

PSPad formatting gets lost with type="text/javascript"


Currently, I do not have this issue anymore. I don't know how comes, but restarting PSPad was a workaround apparently. Also, I can't reproduce it at the moment anymore, so I'll forget about it.


This is not a bug, it is the Javascript tag's highlighter background.

In the Settings menu you have the Highlighters Settings where you can change all highlighters.

Different languages in a document can have their own highlighter colors and the highlighter can be individually set on/off or customised for all languages.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜