On Wed, Jan 02, 2002 at 02:36:48PM +0100, Juergen Vigna wrote:
> The normal text has to lock the inset (by calling edit()) before the
> searchForward() is being called. Then if we find something we return
> true (and if appropriate set the selection), if we don't find something
> we have to unlock ourself (the inset) and return false!
as we know this leads to lots of screen updates un-necessarily. I wonder if
it would be a good idea to have a NullPainter : PainterBase that does just nothing.
This would at least remove the ugliness from the user's point of view (we set
the view to use null painter when we don't want updates ...)
Personally I would like to see a NullPainter being used for calculate row heights
too, the duplication inherent in SetHeightOfRow method is really gross.
(the latter would be 1.3.0 thing of course ...)
regards
john
--
"We're standing there pounding a dead parrot on the counter, and the management
response is to frantically swap in new counters to see if that fixes the
problem."
- Peter Gutmann