Re: NSTextView cursor display problems
Re: NSTextView cursor display problems
- Subject: Re: NSTextView cursor display problems
- From: Douglas Davidson <email@hidden>
- Date: Tue, 16 Nov 2004 15:37:56 -0800
On Nov 16, 2004, at 3:31 PM, Jeremy Collins wrote:
I have a NSWindow with a single NSTextView inside it and nothing else.
In this text view I display some text links. These links have custom
colors, cursors, and underlines. For the most part everything works
great. However, I've noticed that when the application starts or a
new window is opened and the mouse cursor is over the area that the
window initially displays neither the custom cursor nor the I-beam
cursor display. Moving the mouse outside of the window and then back
into the window fixes the cursors and they work fine from then on out.
Any idea why this might happen?
Could this be caused by the mouseEntered event on the main window
(assuming there is one, I don't really know how cursor rects work with
NSTextView/NSLinkAttributes) never firing? Seems plausible but then I
would think that moving the mouse over individual links would work.
Please file a bug. If you could include a small test app, that would be
helpful. Your hypothesis is plausible, but more investigation would be
needed to test it.
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