On Mon, Dec 17, 2001 at 09:19:33AM +0100, Andre Poenitz wrote:
> On Sun, Dec 16, 2001 at 02:38:30AM +0000, John Levon wrote:
> > why is it possible to set cursor.pos() without all the .x etc. values
> > getting updated too ?
>
> Because the .xo/.yo values are caches values for re-drawing only and should
> be recomputed as soon as "something interesting" happens (or quite
> possibly even sooner).
are there many situations where this makes a difference ?
> Do you have some particular problem or are you just asking?
well when I was making some changes I changed pos and forgot to do the
proper setCursor(). It was obvious in that case, but I just wondered if it
had caused bugs anywhere else ...
john
--
"...life's not a paragraph
and death i think is no
parenthesis"
- e. e. cummings