Le 19/09/2013 08:49, Hashini Senaratne a écrit :
I was trying to figure out what has happened with vertical scrolling. This problem has remained for a long time as I can see. The first point this introduced was when using, if (&cur.textRow() == &row) What happens is what is doing inside cur.textRow() affects the vertical scrolling. Will you be able to give me some hints? I think this bug make the implementation of horrizontal scrolling worthless.
It turns out that this calls TextMetrics::parMetrics, which calls redoParagraph if the row is not already computed. I do not know exactly why this causes problems with the vertical scrollbar. Presumably the height of the rows changes...
JMarc