• 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: TextView cannot Use Selection for Find
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TextView cannot Use Selection for Find


  • Subject: Re: TextView cannot Use Selection for Find
  • From: Stephane Sudre <email@hidden>
  • Date: Sat, 07 Apr 2012 12:32:52 +0200

On Sat, Apr 7, 2012 at 10:23 AM, Gerriet M. Denkmann
<email@hidden> wrote:
> I have a window with an NSTextView (inside a ScrollView).
> Everything works as expected, but when I select some text and do command-e it just beeps.
> Same for Find Next and Find Previous.
> (Edit → Find → has these commands grayed out).
>
> Using Find Bar or Find Panel makes no difference. Making it editable or not also not.
>
> How can I make this work? I have used NSTextView many times before, and they just did work.
>
> 10.7.3, Xcode 4.3.2.

It looks like it beeps when there is no active selection or when the
textview is not the first responder.

Might be worth checking if you don't have some validateMenuItem code
disabling these menu items too.

_______________________________________________

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: TextView cannot Use Selection for Find
      • From: "Gerriet M. Denkmann" <email@hidden>
References: 
 >TextView cannot Use Selection for Find (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: TextView cannot Use Selection for Find
  • Next by Date: Re: TextView cannot Use Selection for Find
  • Previous by thread: TextView cannot Use Selection for Find
  • Next by thread: Re: TextView cannot Use Selection for Find
  • Index(es):
    • Date
    • Thread