NSTextView tooltips
NSTextView tooltips
- Subject: NSTextView tooltips
- From: Mark Alldritt <email@hidden>
- Date: Tue, 15 Feb 2005 17:20:43 -0800
Hi All,
I am developing a debugger, and I want to have a tooltip appear to display
the result of evaluating an expression under the mouse. I've been
experimenting with NSView's addToolTipRect & removeToolTip calls to try and
setup a tooltip rect around the expression under the mouse. The problem is
that my view:stringForToolTip:point:userData: callback is never being
called.
I found the NSToolTipAttributeName text attribute, but that's too static. I
need to generate the tool tip range dynamically based on where the mouse is
hovering.
How should I approach this problem?
Cheers
-Mark
------------------------------------------------------------------------
Mark Alldritt Late Night Software Ltd.
Phone: 250-380-1725 Script Debugger 3.0 - AppleScript IDE
WEB: http://www.latenightsw.com/ Affrus 1.0 - Perl Debugging
_______________________________________________
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