Hi,

I wanted to optimize a QTextEdit control by highlighting only the visible part of it.

I got the start/end cursor positions of the QTextEdit's viewport. But what can I do after to call the viewport's painter to redraw only the visible part ?

Any help will be appreciated, thanks in advance.