View Full Version : Yellow highlight effect for text?
grimreaper1377
Apr 21, 2009, 10:35 PM
How do I give my text a yellow highlight effect? Like the same one when I do :apple:+F in safari, etc.
Thanks.
kainjow
Apr 22, 2009, 11:30 AM
If working in Cocoa, look at NSAttributedString and NSBackgroundColorAttributeName.
JoshDC
Apr 22, 2009, 05:38 PM
If you're developing for 10.5, you can use the showFindIndicatorForRange: method of NSTextView.
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.