I am writing an editable NSTextFieldCell in a NSTableColumn, and everything goes well.
But I found that my cell can accept the mouse right click copy/paste while does not respond to the keyboard copy/paste (cmd+c / cmd+v).
Could someone please tell me how to make my cell support the keyboard copy/paste ? Should I customize my own cell and implement some method ?
Thanks!
Asked
Active
Viewed 6,206 times
8

Daniel Gao
- 293
- 2
- 7
-
1i think it should "just work" did you remove the edit menu? – Grady Player Aug 09 '13 at 16:02
-
@GradyPlayer Yes. I do not have any menu item – Daniel Gao Aug 10 '13 at 13:41
1 Answers
13
the edit menu items for copy / cut / paste etc, are what map the shortcuts to the actions.
see the similar question here: Cocoa Keyboard Shortcuts in Dialog without an Edit Menu

Community
- 1
- 1

Grady Player
- 14,399
- 2
- 48
- 76