[Interest] Forcing QPlainTextEdit repaint

Sensei senseiwa at gmail.com
Fri Jun 7 15:00:42 CEST 2013


On 6/7/13 1:28pm, Sensei wrote:
> 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?

I forgot a brief but important thing: I've tried update(), repaint(), 
but nothing worked.




More information about the Interest mailing list