• 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: Find bar in a text view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Find bar in a text view


  • Subject: Re: Find bar in a text view
  • From: Kevin Perry <email@hidden>
  • Date: Thu, 15 Aug 2013 09:27:06 -0700

Sounds like a bug that you should report via Bug Reporter.

But as a workaround, you should be able to call -[NSTextView setIncrementalSearchingEnabled:NO] when the subview gets collapsed (then obviously set it back to YES when the text view is uncollapsed, though you will lose search results in doing so).

-KP

On Aug 15, 2013, at 4:59 AM, Shane Stanley <email@hidden> wrote:

> I have text views in a split view, and I use find bars with them. I'd like to implement incremental searching. When I turn it on in IB  it works, except that if I collapse a subview showing the grey overlay, the overlay remains on screen. As a workaround, the documentation says I can turn the overlay off I should set the incrementalSearchingShouldDimContentView property to NO.
>
> The problem is that the find bar is all pre-implemented by NSTextView, and I can't see how to address the NSTextFinder instance. Any suggestions, or do I need to implement my own NSTextFinder instance?
>
> --
> Shane Stanley <email@hidden>
> 'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>
>
>
> _______________________________________________
>
> 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


  • Follow-Ups:
    • Re: Find bar in a text view
      • From: Shane Stanley <email@hidden>
References: 
 >Find bar in a text view (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Block gets NULL-ified when animation completes
  • Next by Date: Auto layout semantics?
  • Previous by thread: Find bar in a text view
  • Next by thread: Re: Find bar in a text view
  • Index(es):
    • Date
    • Thread