[Interest] Forcing QPlainTextEdit repaint

Sensei senseiwa at gmail.com
Fri Jun 7 13:28:33 CEST 2013


Hi all, this is quite an easy one.

I need to update the colors of a syntax highlighter, and it works, 
except that blocks that are already painted stay with the same color, 
while new tokens are painted correctly. If I modify those lines that 
were there before the update, they get the correct format, as expected.

Is there any "force repaint all blocks" slot somewhere?


Thanks & Cheers!



More information about the Interest mailing list