• 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: Findbar highlighting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Findbar highlighting


  • Subject: Re: Findbar highlighting
  • From: Tim Schröder <email@hidden>
  • Date: Mon, 18 Jun 2012 20:35:35 +0200

Yes, this should be possible, have a look at the NSTextFinder class and especially at the NSTextFinderClient protocol.

Tim

Am 18.06.2012 um 20:03 schrieb ecir hana:

> Hello,
>
> Since Lion NSTextView has this very nice feature - when searching for a
> text as a user it also highlights all the occurrences of given search
> string.
>
> Is it possible to programmatically "force" triggering the highlighting? In
> other words, is it possible to re-use the functionality to highlight some
> string, without actually using the findbar?
>
> Have a nice day,
>
> Ecir Hana
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Findbar highlighting (From: ecir hana <email@hidden>)

  • Prev by Date: Findbar highlighting
  • Next by Date: Re: nstableview reload with animation possible?
  • Previous by thread: Findbar highlighting
  • Next by thread: Applescript to ObjC program communications?
  • Index(es):
    • Date
    • Thread