• 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: NSTextView field editor redrawing weirdness
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextView field editor redrawing weirdness


  • Subject: Re: NSTextView field editor redrawing weirdness
  • From: Douglas Davidson <email@hidden>
  • Date: Mon, 16 Oct 2006 15:45:13 -0700


On Oct 16, 2006, at 1:23 PM, Nick Zitzmann wrote:

Performance isn't actually the problem. The problem is I have some background views that are placed in close proximity to the text view, and every time the text view completely redraws itself, it ends up drawing its background color over the top of the background views, which doesn't look good. Turning off drawing the background solves the problem, but then the text from the original text field isn't overwritten, so it looks like the user is writing over the top of the text. Is there any way of knowing when the text view is going to completely redraw itself, and if so, then what do I need to do? I suppose I could move the views out of the way if it happens... Of course, I'd prefer for it not to happen.

When the text view causes the line with the insertion point to be redrawn, it does so by the normal setNeedsDisplay... mechanism. If you have something that doesn't work well with that--overlapping sibling views, for example--then that would seem to be the source of the problem.


Douglas Davidson

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSTextView field editor redrawing weirdness
      • From: Mike Abdullah <email@hidden>
References: 
 >NSTextView field editor redrawing weirdness (From: Nick Zitzmann <email@hidden>)
 >Re: NSTextView field editor redrawing weirdness (From: Douglas Davidson <email@hidden>)
 >Re: NSTextView field editor redrawing weirdness (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: playing a quicktime movie in a QTMovieView
  • Next by Date: Re: playing a quicktime movie in a QTMovieView
  • Previous by thread: Re: NSTextView field editor redrawing weirdness
  • Next by thread: Re: NSTextView field editor redrawing weirdness
  • Index(es):
    • Date
    • Thread