Re: commit: caret uses saveunders

From: Patrick Lam (plam@plam.lcs.mit.edu)
Date: Fri Oct 04 2002 - 03:45:44 EDT

  • Next message: Martin Sevior: "commit: Improved RTF table import/export."

    On Fri, Oct 04, 2002 at 12:43:44AM -0700, Joaquin Cuenca Abela wrote:
    >
    > Can you explain why it eliminates cursor dirt, please
    > ?
    > The xor aproach seems faster & simpler to me. Where's
    > the catch ?

    1- xor doesn't exist on cocoa
    2- the graphics class didn't know how to fix itself in the event of
    invalidation. I tried to teach it, but it was too hard. The problem
    with XOR is that you have to know the state before you XOR, and because
    you can just get stomped by someone else, you can't know the state.

    pat



    This archive was generated by hypermail 2.1.4 : Fri Oct 04 2002 - 03:51:23 EDT