• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ATSUHighlightText permanently sets the refresh rect
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >ATSUHighlightText permanently sets the refresh rect (From: Allan Odgaard <email@hidden>)

  • Prev by Date: Re: Dragging files to NSTextView ...
  • Next by Date: Re: My new framwork
  • Previous by thread: ATSUHighlightText permanently sets the refresh rect
  • Next by thread: Dragging files to NSTextView ...
  • Index(es):
    • Date
    • Thread