On 12/10/2012 06:17 AM, Jean-Marc Lasgouttes wrote:
Le 08/12/2012 08:10, Scott Kostyshak a écrit :
Attached are three patches which fix selection bugs in tabular. I have
a feeling that I am cheating by throwing in
"cur.screenUpdateFlags(Update::Force | Update::FitCursor);" in a few
places. Doing so does fix the bugs but I'm thinking I'm being wasteful
by not attacking the problem at its root. Any thoughts?

I think it is reasonable. Richard, can you comment?

I wonder also when one is supposed to call forceBufferUpdate().

So, as I understand it, Update::Force causes a complete metrics recalculation and therefore forces a full redraw. That seems right in this case. As for forceBufferUpdate(), that's wanted when we need to recaculate labels and the like and so doesn't seem required here. This also would force a redraw, though.

Richard

Reply via email to