I am currently working on a project where I need to “split” two files. The main stumbling block I came across is how to get a common “map” to see where the differences are between the two projects. Many programs have a window that has different colors to show where these two files differ. I tried to create such a thing by painting the lines on the panel to represent the differences, but it trembles noticeably when the control is redrawn, even if there are only 100 lines on it. Is there a way to do this so that I don’t need to redraw all the lines every time and automatically redraw (bonus points for stretching when changing the size of the control)?
source
share