Mixed Highlighting
-
- CodeLite Enthusiast
- Posts: 14
- Joined: Tue Oct 04, 2016 9:10 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Mixed Highlighting
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.
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Mixed Highlighting
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
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