Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

grimreaper1377

macrumors regular
Original poster
Oct 20, 2007
218
0
How do I give my text a yellow highlight effect? Like the same one when I do :apple:+F in safari, etc.

Thanks.
 
If working in Cocoa, look at NSAttributedString and NSBackgroundColorAttributeName.
 
If you're developing for 10.5, you can use the showFindIndicatorForRange: method of NSTextView.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.