Hi,

Untill now, it was rather easy to find my way highlighting things like C++ comments in QTextEdit, or whatever text inside different symbols, i.e between "<" and ">" on sereral lines with the states mechanism.

Now, I wanted to highlight things between the same symbol, i.e ''' and ''' (like trible simple strings in Python). The problem is that the 2 regexps matches the same symbol and so the same positions. The end and start symbols may or not be on the same line.

Does someone have any idea on how to solve such things ?
Thanks in advance.