In my application I have an NSTextView. If I want to select some text using the keyboard, I press Command+c, which is supposed to select the text, then Command+v which should paste the selected text. Using the keyboard, it's not working, but using the mouse copy/paste is working.
Moreover, when I type Command+c it invokes the print page -- looks like it's mapped wrongly, but how to co开发者_如何学JAVArrect it ?
Any pointers as to what I need to set to get it handled by the keyboard?
Look at the various menu items in MainMenu.xib and make sure that all of the equivalent keys are set correctly. Maybe they were changed by accident.
精彩评论