Hello

I want to compare the contents of two QTextEdits. Basically, this is for a difference view of a text editor. The user can open a second file that syncs with the first (ie. scrolling), what I have done already. Now I want to mark all lines with a yellow background in the second QTextEdit that are different from the according line in the first one. I can think of several ways to do this, but which is the most performant?