Re: ATSUHighlightText permanently sets the refresh rect
Re: ATSUHighlightText permanently sets the refresh rect
- Subject: Re: ATSUHighlightText permanently sets the refresh rect
- From: Allan Odgaard <email@hidden>
- Date: Thu, 4 Mar 2004 15:38:50 +0100
On 4. Mar 2004, at 14:43, Allan Odgaard wrote:
I use Quartz Debug and enable "Flash screen updates (yellow)".
Each time my view is sent a drawRect:, the entire view flashes, no
matter how small the rectangle (provided) is (I do return YES in
isOpaque).
Sorry, I should have added that my view is inside an NSScrollView, and
thus it is when scrolling that the NSClipView copies the contents and
asks my view to redraw the new portion, that the entire view flashes.
Copy on scroll is enabled, and as said, it does not flash if I don't
make the initial call to ATSUHighlightText.
I do not know if this is an actual problem (slowing down
refresh/scrolling), or if it is Quartz Debug which gets it
wrong/decides to flash rectangles which are not redrawn but moved
(which it normally doesn't flash, and doesn't do either, if I refrain
from using ATSUHighlightText).
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.