Re: NSTextField/View contextual menu also selects
Re: NSTextField/View contextual menu also selects
- Subject: Re: NSTextField/View contextual menu also selects
- From: matt neuburg <email@hidden>
- Date: Tue, 23 Dec 2003 16:54:26 -0800
On Fri, 19 Dec 2003 13:24:33 -0500, "Laurent Daudelin"
<email@hidden> said:
>
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.
Tell me more. What are the "appropriate action/selection methods"? m.
--
matt neuburg, phd = email@hidden,
http://www.tidbits.com/matt/
pantes anthropoi tou eidenai oregontai phusei
AppleScript: the Definitive Guide! NOW SHIPPING...! (Finally.)
http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt
Subscribe to TidBITS! It's free and smart.
http://www.tidbits.com/
_______________________________________________
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.