I wrote two syntaxes: one for CSS and one for HTML. They work well.
But I want to put CSS code in the HTML code (inside the <style> tag), so I want to be able to use multiple QSyntaxHighlighter in one QPlainTextEdit.
Is there a way to do what I want? I cannot create two QSyntaxHighlighter objects in the same QPlainTextEdit, because only the second object will be used.
Thanks.
source share