bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Bug in NSTextView delegate


From: Nicola Pero
Subject: RE: Bug in NSTextView delegate
Date: Tue, 10 Apr 2001 11:41:07 +0100 (BST)

Hi, thanks - I'm confused then - can someone check and report how does it
work on Apple Mac OS X ?

Is the notification sent only when text is changed there as well ?


> Hi, on Openstep for Mach 4.2 this notification is send only when text is
> changed.
> 
> For example: when user type wrong text (character) I want to change color of
> text. When I change color in notification method, this method is invoked
> ones more (becouse it is selector of observer of
> NSTextDidChangeNotification) and after several calls application crashed.
> 
> I thing that changeing of color of NSText is not change of characters in
> NSText, so that why the NSTextDidChangeNotification should not be sended.
> 
> > -----Original Message-----
> > From: Nicola Pero [mailto:n.pero@mi.flashnet.it]
> > Sent: Sunday, April 08, 2001 10:47 AM
> > To: Jan Trembulak
> > Cc: bug-gnustep@gnu.org
> > Subject: Re: Bug in NSTextView delegate
> >
> >
> >
> >     Jan> Hi, I thing that NSTextView sends
> >     Jan> 'NSTextDidChangeNotification' also in cases, when the text
> >     Jan> are not changed (for example, when I change color of text or
> >     Jan> font of text).
> >
> > The documentation I have says that this is correct, at least it is
> > what happens on recent Apple systems ...
> >
> > Do you have any evidence that it is not correct ?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]