0

Is it possible to highlight two (or more) languages simultaneously in notepad++?

In this particular case I am working with xml files, but in certain tags in the files I am using using python, JS, and CSS. Now the last two don't bother me too much but there can be large chunks of python code enclosed by <exec></exec> tags. (I saw other questions which ask about JS and html with the same file, but it seems that case is done automatically)

So is it possible to make the program mark up everything inside such tags with the python highlighting it already has?

0

Notepad++ does not offer this functionality as far as I know, but phpDesigner will definitely do it. I used it once for this same reason.

I have also heard that Sublime will do it, but I have not tried myself.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.