• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSTextView cursor display problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTextView cursor display problems


  • Subject: NSTextView cursor display problems
  • From: Jeremy Collins <email@hidden>
  • Date: Tue, 16 Nov 2004 17:31:02 -0600

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.

I'm using 10.3 SDK so I'm not managing the cursor rects on the links. Not sure what other information would be necessary to help me solve this.

I've searched the mailing list for "cursor rects", "NSTextView", "NSLinkAttribute", and numerous other searches and read nearly all the results and haven't found anything useful.

Thanks,
Jeremy Collins


_______________________________________________
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


  • Follow-Ups:
    • Re: NSTextView cursor display problems
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: Re: the image not the icon
  • Next by Date: Re: A framework for parsing HTML?
  • Previous by thread: Re: the image not the icon
  • Next by thread: Re: NSTextView cursor display problems
  • Index(es):
    • Date
    • Thread