Re: NSTextview don't update
Re: NSTextview don't update
- Subject: Re: NSTextview don't update
- From: Drew McCormack <email@hidden>
- Date: Wed, 16 Jan 2002 20:48:57 +0100
No, it shouldn't be necessary, you're right. I think it is a bug. Maybe
you should submit it.
Drew
On Wednesday, January 16, 2002, at 08:43 PM, Mark's Studio wrote:
>
On onsdag, januar 16, 2002, at 06:55 , Drew McCormack wrote:
>
>
[textview2 display];
>
Yes that works, but it should not be necessary?
>
>
> I had the same thing too once. I suspect it is a bug, but I wasn't
>
> sure at the time, so didn't submit it. The only way I got it to work
>
> was to call "display" directly.
>
>
>
> Drew McCormack
>
>
>
> On Wednesday, January 16, 2002, at 12:12 PM, Mark's Studio wrote:
>
>
>
>> I have 2 textviews in a tabview
>
>> that displays text from a selection in a tableview
>
>>
>
>>
>
>> when i change selection in the tableview i call
>
>>
>
>> [textview1 setString:NSString1];
>
>> [textview2 setString:NSString2];
>
>>
>
>> sometimes textview2 does not redraw,
>
>> the textview is empty but the scrollbar is still there,
>
>> if i then move the mouse it updates to the correct text and scrollbar.
>
>>
>
>> if i change the order
>
>> [textview2 setString:NSString2];
>
>> [textview1 setString:NSString1];
>
>> is textview1 that's not updated.
>
>>
>
>>
>
Peter Mark
>
>
Mark's Recording Studio A/S
>
Faelledvej 19 b DK2200 N
>
Copenhagen Denmark
>
Tel: +45 35366078 Fax: +45 35366038
>
www.marks-studio.dk
>
email@hidden
>
>> _______________________________________________
>
>> 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.