RE: Cursor blinks in background
> Hello Fred, > > > The reason for this blinking seems to be that the class NSTextView does > > not implement resignKeyWindow. This method gets called on the first > > responder, when the window looses key window status. But I am not sure, > > what an implementation of this method should do. Just switch off the > > blinking cursor? Or more? > > I can't say anything for MacOS X but Openstep merely invokes > updateInsertionPointStateAndRestartTimer:NO. Hi - makes sense (but we need to check if shouldDrawInsertionPoint!) - added the method - thanks to both of you :-) ! ___ Bug-gnustep mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-gnustep
RE: Cursor blinks in background
Hello Fred, > The reason for this blinking seems to be that the class NSTextView does > not implement resignKeyWindow. This method gets called on the first > responder, when the window looses key window status. But I am not sure, > what an implementation of this method should do. Just switch off the > blinking cursor? Or more? I can't say anything for MacOS X but Openstep merely invokes updateInsertionPointStateAndRestartTimer:NO. Later, Dave > ___ > Bug-gnustep mailing list > [EMAIL PROTECTED] > http://mail.gnu.org/mailman/listinfo/bug-gnustep > ___ Bug-gnustep mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-gnustep
Cursor blinks in background
After adding a NSLog() statement to the _blink method of NSTextView I noticed that this method get called, while the window of the text view is no longer active. This can be seen in the GSTest.app when switching to another test window after editing text in the NSForm test. In this case the blinking wont be displayed and is just a waste of computer time. The reason for this blinking seems to be that the class NSTextView does not implement resignKeyWindow. This method gets called on the first responder, when the window looses key window status. But I am not sure, what an implementation of this method should do. Just switch off the blinking cursor? Or more? Cheers Fred ___ Bug-gnustep mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-gnustep