Re: Findbar highlighting
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