Re: TextView cannot Use Selection for Find
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