Re: bound textview display glitch
Re: bound textview display glitch
- Subject: Re: bound textview display glitch
- From: Matt Neuburg <email@hidden>
- Date: Sat, 30 Dec 2006 09:40:28 -0800
- Thread-topic: bound textview display glitch
On Fri, 29 Dec 2006 11:03:27 -0800, Matt Neuburg <email@hidden> said:
>I have two windows, both containing various interface items bound to the
>selection of an NSArrayController.
>
>When both windows are open and, in one of them, I navigate the selection,
>the other window (visible in the background) shows a display glitch in its
>NSTextViews. I've put a screen shot of the glitch here:
>
><http://www.tidbits.com/matt/images/glitch.png>
>
>The screen shot shows the NSTextView in three states.
>
>* First, before: the word "igne" appears in the text view.
>
>* Second, after: I have changed the NSArrayController's selection using
>selectNext, and the word "Euclioni" appears in the text view, except that
>the descenders from "igne" are still present. That's the glitch. (If I had
>used a different word, you would also see that descenders from the new word
>are cut off. It is as if only the main part of the first line changes - its
>descenders, and all subsequent lines, forget to change.)
>
>* Third, after after: I have clicked on the background window, bringing it
>to the front. As soon as I do this, the display glitch disappears.
>
>Perhaps someone has dealt with this and has some advice on avoiding the
>glitch? Thx - m.
Looks like what I've hit is an instance of the problem noted here:
<http://www.cocoabuilder.com/archive/message/cocoa/2004/5/3/106055>
I can't be certain because the OP (Steve Spencer) has taken down his
example. m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden