I've modified the caret so that it doesn't use xor drawing anymore.  
This eliminates a lot of cursor dirt.  Platform maintainers: you need to 
implement the following two functions in GR_xGraphics:

        virtual void      saveRectangle(UT_Rect & r);
        virtual void      restoreRectangle();

I'm aware of two oddities with the caret code now.

1- If you cursor up/down on the left hand side of the screen (column 0) 
then the cursor doesn't show as it's moving.  This bug perplexes me; 
the deal is that for other moves, the enabler is getting triggered, but 
not for this one.  I can't figure it out!

2- When you load a document from cmdline, the caret doesn't show until 
you defocus/focus the active window.  Can't figure it out at the moment, 
but shouldn't be hard.

pat


Checking in src/af/gr/unix/gr_UnixGraphics.cpp;
/cvsroot/abi/src/af/gr/unix/gr_UnixGraphics.cpp,v  <--  
gr_UnixGraphics.cpp
new revision: 1.155; previous revision: 1.154
done
Checking in src/af/gr/unix/gr_UnixGraphics.h;
/cvsroot/abi/src/af/gr/unix/gr_UnixGraphics.h,v  <--  gr_UnixGraphics.h
new revision: 1.47; previous revision: 1.46
done
Checking in src/af/gr/xp/gr_Caret.cpp;
/cvsroot/abi/src/af/gr/xp/gr_Caret.cpp,v  <--  gr_Caret.cpp
new revision: 1.3; previous revision: 1.2
done
Checking in src/af/gr/xp/gr_Caret.h;
/cvsroot/abi/src/af/gr/xp/gr_Caret.h,v  <--  gr_Caret.h
new revision: 1.3; previous revision: 1.2
done
Checking in src/af/gr/xp/gr_Graphics.cpp;
/cvsroot/abi/src/af/gr/xp/gr_Graphics.cpp,v  <--  gr_Graphics.cpp
new revision: 1.64; previous revision: 1.63
done
Checking in src/af/gr/xp/gr_Graphics.h;
/cvsroot/abi/src/af/gr/xp/gr_Graphics.h,v  <--  gr_Graphics.h
new revision: 1.70; previous revision: 1.69
done
Checking in src/text/fmt/xp/fv_View.cpp;
/cvsroot/abi/src/text/fmt/xp/fv_View.cpp,v  <--  fv_View.cpp
new revision: 1.714; previous revision: 1.713
done
Checking in src/text/fmt/xp/fv_View_protected.cpp;
/cvsroot/abi/src/text/fmt/xp/fv_View_protected.cpp,v  <--  
fv_View_protected.cppnew revision: 1.34; previous revision: 1.33
done

Reply via email to