• 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
Re: NSTextView cursor display problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSTextView cursor display problems (From: Jeremy Collins <email@hidden>)

  • Prev by Date: Re: A framework for parsing HTML?
  • Next by Date: NSUserDefaultsController with an NSObjectArray controller as one of it's keys
  • Previous by thread: NSTextView cursor display problems
  • Next by thread: NSUserDefaultsController with an NSObjectArray controller as one of it's keys
  • Index(es):
    • Date
    • Thread