• 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: NSTextField/View contextual menu also selects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextField/View contextual menu also selects


  • Subject: Re: NSTextField/View contextual menu also selects
  • From: "Laurent Daudelin" <email@hidden>
  • Date: Fri, 19 Dec 2003 13:24:33 -0500

On 19/12/03 12:40, "matt neuburg" <email@hidden> wrote:

> It seems that control clicking in an NSTextField/View does two things. It pops
> down the contextual menu; but first it selects some text, as if you'd
> double-clicked. This is driving me nuts because it's wrong behavior. For
> example, if the user wants to Paste, s/he should be able to paste at the
> insertion point - but the contextual menu forces the pasting to replace an
> entire word instead.
>
> Carbon apps get this right. Cocoa apps get it wrong. (For example, TextEdit
> behaves as I'm describing.)
>
> Suggestions? m.

Override the appropriate action/selection methods.

-Laurent.
--
========================================================================
Laurent Daudelin Developer, Multifamily, ESO, Fannie Mae
mailto:email@hidden Washington, DC, USA
************************ Usual disclaimers apply ***********************
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: NSTextField/View contextual menu also selects
  • Next by Date: Re: No Application Menus when launching from Xcode
  • Previous by thread: Re: NSTextField/View contextual menu also selects
  • Next by thread: Re: NSTextField/View contextual menu also selects
  • Index(es):
    • Date
    • Thread