Mixed Highlighting

General questions regarding the usage of CodeLite
xolotl
CodeLite Enthusiast
Posts: 14
Joined: Tue Oct 04, 2016 9:10 am
Genuine User: Yes
IDE Question: C++
Contact:

Mixed Highlighting

Post 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.
User avatar
eranif
CodeLite Plugin
Posts: 6373
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Mixed Highlighting

Post 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
Make sure you have read the HOW TO POST thread
Post Reply