NSTextField/View contextual menu also selects
NSTextField/View contextual menu also selects
- Subject: NSTextField/View contextual menu also selects
- From: matt neuburg <email@hidden>
- Date: Fri, 19 Dec 2003 09:40:37 -0800
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.
--
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.