[Qt-interest] Generic Highlighter with multiple definitions for one file?

NoRulez norulez at me.com
Fri Jul 8 19:02:14 CEST 2011


Hi,

if I use the generic highlighter per file (e.g. html) it works perfectly.

The problem I have is when a file has multiple sources such as a HTML or a PHP file. These files could have PHP/HTML source and JavaScript and/or CSS for example.

How can I combine such highlighters to highlight the PHP/HTML source and also the JS and CSS?

Thanks in advance

Best regards
NoRulez



More information about the Qt-interest-old mailing list