• 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: How to implement incremental search like Safari using WebView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to implement incremental search like Safari using WebView?


  • Subject: Re: How to implement incremental search like Safari using WebView?
  • From: "Joe Goh" <email@hidden>
  • Date: Thu, 14 Feb 2008 13:55:26 +0800

On 2/12/08, Satoshi Nakagawa <email@hidden> wrote:
> How to implement incremental search in WebView in my application like
> Safari?
> How to show all matched string as selected in WebView?

I did something like this in my app's WebView
(http://www.funkeemonk.com/phonejournal/ - around 18 seconds into the
demo movie) and it was all done in Objective-C.  I searched around a
bit when I implemented it more than a year ago, but couldn't find any
existing API to do this then.  I don't think this situation has
changed in Leopard (except for NSTextView's, like you've mentioned),
so i'm afraid this wheel has to be re-invented.

> And how to highlight the current selection by animation?

This may help: http://wiki.script.aculo.us/scriptaculous/show/VisualEffects

By the way, there's a dedicated mailing list for issues related to the
Webkit SDK here:
http://www.lists.apple.com/mailman/listinfo/webkitsdk-dev and I highly
recommend subscribing and posting Webkit related questions there.

Good luck!
Joe Goh
FunkeeMonk Technology
http://www.funkeemonk.com/
_______________________________________________

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

  • Follow-Ups:
    • Re: How to implement incremental search like Safari using WebView?
      • From: Satoshi Nakagawa <email@hidden>
  • Prev by Date: Disable Expose didn't work in leopard
  • Next by Date: Re: KVC and KVO for arrays
  • Previous by thread: How to implement incremental search like Safari using WebView?
  • Next by thread: Re: How to implement incremental search like Safari using WebView?
  • Index(es):
    • Date
    • Thread