Re: NSTextView field editor redrawing weirdness
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