Page 1 of 1

Mixed Highlighting

Posted: Mon Oct 24, 2016 7:40 am
by xolotl
It is very common for PHP to be inside HTML and HTML to be inside of PHP. Also CSS and JS inside HTML. Would it be possible to make a highlighting type called Web that covers all combinations of these? This would be amazing.

Re: Mixed Highlighting

Posted: Mon Oct 24, 2016 10:27 am
by eranif
It is called "php" in CodeLite (preferences->colours and fonts->customize->php)

i.e. the PHP lexer handles these colouring for embedded languages inside an HTML document